diff options
Diffstat (limited to 'zebra/kernel_netlink.h')
-rw-r--r-- | zebra/kernel_netlink.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/zebra/kernel_netlink.h b/zebra/kernel_netlink.h index dc075b9af..3b4048ff6 100644 --- a/zebra/kernel_netlink.h +++ b/zebra/kernel_netlink.h @@ -45,14 +45,11 @@ extern const char *nl_rtproto_to_str(uint8_t rtproto); extern const char *nl_family_to_str(uint8_t family); extern const char *nl_rttype_to_str(uint8_t rttype); -extern int netlink_parse_info(int (*filter)(struct sockaddr_nl *, - struct nlmsghdr *, ns_id_t, int), +extern int netlink_parse_info(int (*filter)(struct nlmsghdr *, ns_id_t, int), struct nlsock *nl, struct zebra_ns *zns, int count, int startup); -extern int netlink_talk_filter(struct sockaddr_nl *, struct nlmsghdr *, ns_id_t, - int startup); -extern int netlink_talk(int (*filter)(struct sockaddr_nl *, struct nlmsghdr *, - ns_id_t, int startup), +extern int netlink_talk_filter(struct nlmsghdr *h, ns_id_t ns, int startup); +extern int netlink_talk(int (*filter)(struct nlmsghdr *, ns_id_t, int startup), struct nlmsghdr *n, struct nlsock *nl, struct zebra_ns *zns, int startup); extern int netlink_request(struct nlsock *nl, struct nlmsghdr *n); |