diff options
Diffstat (limited to 'zebra/rt_netlink.h')
-rw-r--r-- | zebra/rt_netlink.h | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/zebra/rt_netlink.h b/zebra/rt_netlink.h index 8b061fc2e..e607dda6f 100644 --- a/zebra/rt_netlink.h +++ b/zebra/rt_netlink.h @@ -40,25 +40,24 @@ #define RTPROT_EIGRP 192 #define RTPROT_LDP 193 -void rt_netlink_init (void); +void rt_netlink_init(void); -extern void -clear_nhlfe_installed (zebra_lsp_t *lsp); -extern int -netlink_mpls_multipath (int cmd, zebra_lsp_t *lsp); +extern void clear_nhlfe_installed(zebra_lsp_t *lsp); +extern int netlink_mpls_multipath(int cmd, zebra_lsp_t *lsp); -extern int netlink_route_change (struct sockaddr_nl *snl, struct nlmsghdr *h, - ns_id_t ns_id, int startup); -extern int netlink_route_read (struct zebra_ns *zns); +extern int netlink_route_change(struct sockaddr_nl *snl, struct nlmsghdr *h, + ns_id_t ns_id, int startup); +extern int netlink_route_read(struct zebra_ns *zns); -extern int netlink_neigh_change (struct sockaddr_nl *snl, struct nlmsghdr *h, - ns_id_t ns_id); -extern int netlink_macfdb_read (struct zebra_ns *zns); -extern int netlink_macfdb_read_for_bridge (struct zebra_ns *zns, - struct interface *ifp, struct interface *br_if); -extern int netlink_neigh_read (struct zebra_ns *zns); -extern int netlink_neigh_read_for_vlan (struct zebra_ns *zns, - struct interface *vlan_if); +extern int netlink_neigh_change(struct sockaddr_nl *snl, struct nlmsghdr *h, + ns_id_t ns_id); +extern int netlink_macfdb_read(struct zebra_ns *zns); +extern int netlink_macfdb_read_for_bridge(struct zebra_ns *zns, + struct interface *ifp, + struct interface *br_if); +extern int netlink_neigh_read(struct zebra_ns *zns); +extern int netlink_neigh_read_for_vlan(struct zebra_ns *zns, + struct interface *vlan_if); #endif /* HAVE_NETLINK */ |