summaryrefslogtreecommitdiffstats
path: root/include/libnetlink.h
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-09-29 09:42:40 -0700
committerDavid Ahern <dsahern@gmail.com>2018-10-02 18:38:59 -0700
commit9e0ab19c4d80cb4270fbc0f90634dfbc83b9cdc3 (patch)
tree71a4580a813e1eb60bb62b3b14b688b840da585d /include/libnetlink.h
parentb05d9a3d5866219b3c772256dc215bb04e65baa5 (diff)
libnetlink: Convert GETNEIGH dumps to use rtnl_neighdump_req
Add rtnl_neighdump_req for neighbor dumps using the proper ndmsg as the header. Convert existing rtnl_wilddump_request for RTM_GETNEIGH 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 5f6bbe55..e22ccbb8 100644
--- a/include/libnetlink.h
+++ b/include/libnetlink.h
@@ -55,6 +55,8 @@ int rtnl_routedump_req(struct rtnl_handle *rth, int family)
__attribute__((warn_unused_result));
int rtnl_ruledump_req(struct rtnl_handle *rth, int family)
__attribute__((warn_unused_result));
+int rtnl_neighdump_req(struct rtnl_handle *rth, int family)
+ __attribute__((warn_unused_result));
int rtnl_mdbdump_req(struct rtnl_handle *rth, int family)
__attribute__((warn_unused_result));
int rtnl_netconfdump_req(struct rtnl_handle *rth, int family)