diff options
author | David Ahern <dsahern@gmail.com> | 2018-09-29 09:51:08 -0700 |
---|---|---|
committer | David Ahern <dsahern@gmail.com> | 2018-10-02 18:39:04 -0700 |
commit | efb0b383d98840a9caf8e0f44de18d496251c374 (patch) | |
tree | d7346f68d0144b92a08fcb8e251193688e115936 /include/libnetlink.h | |
parent | ff41db8a7574876e181654b3bbdb11df92e46bad (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.h | 2 |
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)); |