diff options
author | David Ahern <dsahern@gmail.com> | 2018-09-29 09:47:41 -0700 |
---|---|---|
committer | David Ahern <dsahern@gmail.com> | 2018-10-02 18:39:02 -0700 |
commit | ff41db8a7574876e181654b3bbdb11df92e46bad (patch) | |
tree | 04920f7052d0532a24dc5d8b920de5f5fec02cf6 /include/libnetlink.h | |
parent | 9e0ab19c4d80cb4270fbc0f90634dfbc83b9cdc3 (diff) |
libnetlink: Convert GETNEIGHTBL dumps to use rtnl_neightbldump_req
Add rtnl_neightbldump_req for neighbor table dumps using the proper ndtmsg
as the header. Convert existing RTM_GETNEIGHTBL 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 e22ccbb8..5ccc421b 100644 --- a/include/libnetlink.h +++ b/include/libnetlink.h @@ -57,6 +57,8 @@ 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_neightbldump_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) |