summaryrefslogtreecommitdiffstats
path: root/zebra/kernel_netlink.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-08-10 14:54:58 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-01-18 00:34:17 +0100
commitb339bde737fedb6d53f06b978132a046822cee4f (patch)
tree3658c0a9c4fec277139b48c9014820e0ea447c32 /zebra/kernel_netlink.h
parentlib: Use single correct definition for prefix string buffer (diff)
downloadfrr-b339bde737fedb6d53f06b978132a046822cee4f.tar.xz
frr-b339bde737fedb6d53f06b978132a046822cee4f.zip
zebra: Fully decode mcast messages
Fully decode mcast messages from the kernel. We are not doing anything with this at the moment, but that will change. Additionally convert over to using lookup for displaying the route type. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/kernel_netlink.h')
-rw-r--r--zebra/kernel_netlink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/kernel_netlink.h b/zebra/kernel_netlink.h
index f97e6e8cc..f17f1380c 100644
--- a/zebra/kernel_netlink.h
+++ b/zebra/kernel_netlink.h
@@ -40,6 +40,8 @@ extern struct rtattr * rta_nest(struct rtattr *rta, int maxlen, int type);
extern int rta_nest_end(struct rtattr *rta, struct rtattr *nest);
extern const char * nl_msg_type_to_str (uint16_t msg_type);
extern const char * nl_rtproto_to_str (u_char rtproto);
+extern const char * nl_family_to_str (u_char family);
+extern const char * nl_rttype_to_str (u_char rttype);
extern int netlink_parse_info (int (*filter) (struct sockaddr_nl *,
struct nlmsghdr *, ns_id_t), struct nlsock *nl,