summaryrefslogtreecommitdiffstats
path: root/include/libnetlink.h
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-09-29 09:51:08 -0700
committerDavid Ahern <dsahern@gmail.com>2018-10-02 18:39:04 -0700
commitefb0b383d98840a9caf8e0f44de18d496251c374 (patch)
treed7346f68d0144b92a08fcb8e251193688e115936 /include/libnetlink.h
parentff41db8a7574876e181654b3bbdb11df92e46bad (diff)
libnetlink: Convert GETNSID dumps to use rtnl_nsiddump_req
Add rtnl_nsiddump_req for namespace id dumps using the proper rtgenmsg as the header. Convert existing RTM_GETNSID dumps to use it. Signed-off-by: David Ahern <dsahern@gmail.com>
Diffstat (limited to 'include/libnetlink.h')
-rw-r--r--include/libnetlink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libnetlink.h b/include/libnetlink.h
index 5ccc421b..f22c92ac 100644
--- a/include/libnetlink.h
+++ b/include/libnetlink.h
@@ -63,6 +63,8 @@ int rtnl_mdbdump_req(struct rtnl_handle *rth, int family)
__attribute__((warn_unused_result));
int rtnl_netconfdump_req(struct rtnl_handle *rth, int family)
__attribute__((warn_unused_result));
+int rtnl_nsiddump_req(struct rtnl_handle *rth, int family)
+ __attribute__((warn_unused_result));
int rtnl_wilddump_request(struct rtnl_handle *rth, int fam, int type)
__attribute__((warn_unused_result));