diff options
author | David Ahern <dsahern@gmail.com> | 2018-09-29 09:56:57 -0700 |
---|---|---|
committer | David Ahern <dsahern@gmail.com> | 2018-10-02 18:39:08 -0700 |
commit | 31ae2912f71e8ade59856e7533be9819b29d896d (patch) | |
tree | 7c1af3e2c566efee0af04453cda3123b88c7b19e /include/libnetlink.h | |
parent | efb0b383d98840a9caf8e0f44de18d496251c374 (diff) |
libnetlink: Rename rtnl_wilddump_* to rtnl_linkdump_*
Rename rtnl_wilddump_req_filter to rtnl_linkdump_req_filter,
rtnl_wilddump_request to rtnl_linkdump_req and
rtnl_wilddump_req_filter_fn to rtnl_linkdump_req_filter_fn.
In all cases drop the type argument which at this point is only
RTM_GETLINK and hardcode in the functions.
Signed-off-by: David Ahern <dsahern@gmail.com>
Diffstat (limited to 'include/libnetlink.h')
-rw-r--r-- | include/libnetlink.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/libnetlink.h b/include/libnetlink.h index f22c92ac..410c441b 100644 --- a/include/libnetlink.h +++ b/include/libnetlink.h @@ -66,15 +66,14 @@ int rtnl_netconfdump_req(struct rtnl_handle *rth, int family) 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) +int rtnl_linkdump_req(struct rtnl_handle *rth, int fam) __attribute__((warn_unused_result)); -int rtnl_wilddump_req_filter(struct rtnl_handle *rth, int fam, int type, - __u32 filt_mask) +int rtnl_linkdump_req_filter(struct rtnl_handle *rth, int fam, __u32 filt_mask) __attribute__((warn_unused_result)); typedef int (*req_filter_fn_t)(struct nlmsghdr *nlh, int reqlen); -int rtnl_wilddump_req_filter_fn(struct rtnl_handle *rth, int fam, int type, +int rtnl_linkdump_req_filter_fn(struct rtnl_handle *rth, int fam, req_filter_fn_t fn) __attribute__((warn_unused_result)); int rtnl_wilddump_stats_req_filter(struct rtnl_handle *rth, int fam, int type, |