diff options
author | David Ahern <dsahern@gmail.com> | 2018-09-29 09:29:29 -0700 |
---|---|---|
committer | David Ahern <dsahern@gmail.com> | 2018-10-02 18:38:34 -0700 |
commit | ddee16bc966c2e021e2584bf3102e003a9ad093b (patch) | |
tree | 8dfb790c0d9247f3aba48c2c2150e59347810f81 /include/libnetlink.h | |
parent | 9dbe6df411e58bbbd17f13e17a80fc3adb912318 (diff) |
libnetlink: Convert GETNETCONF dumps to use rtnl_netconfdump_req
Add rtnl_netconfdump_req for netconf dumps using the proper netconfmsg
as the header. Convert existing RTM_GETNETCONF 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 8f2b2935..7e9ef640 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_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_wilddump_request(struct rtnl_handle *rth, int fam, int type) __attribute__((warn_unused_result)); |