diff options
author | David Ahern <dsahern@gmail.com> | 2018-09-29 10:43:15 -0700 |
---|---|---|
committer | David Ahern <dsahern@gmail.com> | 2018-10-02 18:38:29 -0700 |
commit | 393600231aac32a4e05a4c4c25b0d5b3d0acd17c (patch) | |
tree | 912143761673053402ede87567573deb55e0b764 /include/libnetlink.h | |
parent | bfb27dfaac37098659f83cc1d7c7b9e3d5a12814 (diff) |
libnetlink: Convert GETADDRLABEL dumps to use rtnl_addrlbldump_req
Add rtnl_addrlbldump_req for address label dumps using the proper
ifaddrlblmsg as the header. Convert existing RTM_GETADDRALBEL 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 a60af316..bacaec82 100644 --- a/include/libnetlink.h +++ b/include/libnetlink.h @@ -49,6 +49,8 @@ void rtnl_close(struct rtnl_handle *rth); int rtnl_addrdump_req(struct rtnl_handle *rth, int family) __attribute__((warn_unused_result)); +int rtnl_addrlbldump_req(struct rtnl_handle *rth, int family) + __attribute__((warn_unused_result)); int rtnl_routedump_req(struct rtnl_handle *rth, int family) __attribute__((warn_unused_result)); |