From b05d9a3d5866219b3c772256dc215bb04e65baa5 Mon Sep 17 00:00:00 2001 From: David Ahern Date: Sat, 29 Sep 2018 09:34:57 -0700 Subject: libnetlink: Convert GETRULE dumps to use rtnl_ruledump_req Add rtnl_ruledump_req for fib fule dumps using the proper fib_rule_hdr as the header. Convert existing RTM_GETRULE dumps to use it. Signed-off-by: David Ahern --- include/libnetlink.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/libnetlink.h') diff --git a/include/libnetlink.h b/include/libnetlink.h index 7e9ef640..5f6bbe55 100644 --- a/include/libnetlink.h +++ b/include/libnetlink.h @@ -53,6 +53,8 @@ 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)); +int rtnl_ruledump_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) -- cgit v1.2.3