]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/rt_netlink.h
zebra: Allow the collection of sg stats on more platforms.
[mirror_frr.git] / zebra / rt_netlink.h
index 80d035e839df4001839b67f079e365c8b238e19a..7183525fba6ec8c48052afb6893f78833233cdbb 100644 (file)
 
 #ifdef HAVE_NETLINK
 
-#define NL_PKT_BUF_SIZE         8192
-#define NL_DEFAULT_ROUTE_METRIC 20
+#include "zebra/zebra_mpls.h"
 
-extern int
-addattr32 (struct nlmsghdr *n, unsigned int maxlen, int type, int data);
-extern int
-addattr_l (struct nlmsghdr *n, unsigned int maxlen, int type, void *data, int alen);
+#define NL_DEFAULT_ROUTE_METRIC 20
 
+extern void
+clear_nhlfe_installed (zebra_lsp_t *lsp);
 extern int
-rta_addattr_l (struct rtattr *rta, int maxlen, int type, void *data, int alen);
-
-extern const char *
-nl_msg_type_to_str (uint16_t msg_type);
-
-extern const char *
-nl_rtproto_to_str (u_char rtproto);
+netlink_mpls_multipath (int cmd, zebra_lsp_t *lsp);
 
-extern int interface_lookup_netlink (struct zebra_ns *zns);
+extern int netlink_route_change (struct sockaddr_nl *snl, struct nlmsghdr *h,
+                                 ns_id_t ns_id);
 extern int netlink_route_read (struct zebra_ns *zns);
 
 #endif /* HAVE_NETLINK */