Skip to content

lib names: Refactoring and cleanups

Vadim Kochan netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib names: Use CONFDIR for specify 'group' file pathlib/rt_names.c+1 -10 replies
2/2lib names: Add helper func for parse id and name from filelib/rt_names.c+39 -290 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH iproute2 0/2] lib names: Refactoring and cleanups

Some cleanups and refactoring in lib/rt_names.c:

#1 Replaced using of /etc/iproute2 path by CONFDIR define
when initializing tables of group names.

#2 Added helper to have one func for parsing id and names from
db files.

Vadim Kochan (2):
lib names: Use CONFDIR for specify 'group' file path lib names: Add helper func for parse id and name from file

 lib/rt_names.c | 70 +++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 40 insertions(+), 30 deletions(-)
Signature · 1 line
2.1.3