summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2018-12-10 21:33:16 -0800
committerChirag Shah <chirag@cumulusnetworks.com>2018-12-31 14:38:32 -0800
commit718f9b0f88116af5e035556058ba2e4bf803cf15 (patch)
treea307d95761bff1db834a57f687eaf5d9fcab3d14 /lib/command.c
parente9e9a7f2b7ba6712ebc39d3eeecb89774ef5f08c (diff)
zebra: netlink_request consolidataion
Make netlink_request api generic where it can be used for dump or querying specific information request. nelink request nlm flags (NLM_F_ROOT | NLM_F_MATCH) are used to dump purpose, if client wants to query spcific MAC or IP using netlink_request does not require to set them. nlm struct is passed by the caller of netlink_request, it can also set the nlm request flags. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions