--- embedaddon/quagga/ospf6d/ospf6_asbr.h 2012/02/21 17:26:12 1.1.1.1 +++ embedaddon/quagga/ospf6d/ospf6_asbr.h 2016/11/02 10:09:11 1.1.1.3 @@ -48,6 +48,8 @@ struct ospf6_external_info struct in6_addr forwarding; /* u_int32_t tag; */ + + ifindex_t ifindex; }; /* AS-External-LSA */ @@ -77,16 +79,17 @@ extern void ospf6_asbr_lsentry_add (struct ospf6_route extern void ospf6_asbr_lsentry_remove (struct ospf6_route *asbr_entry); extern int ospf6_asbr_is_asbr (struct ospf6 *o); -extern void ospf6_asbr_redistribute_add (int type, int ifindex, +extern void ospf6_asbr_redistribute_add (int type, ifindex_t ifindex, struct prefix *prefix, u_int nexthop_num, struct in6_addr *nexthop); -extern void ospf6_asbr_redistribute_remove (int type, int ifindex, +extern void ospf6_asbr_redistribute_remove (int type, ifindex_t ifindex, struct prefix *prefix); extern int ospf6_redistribute_config_write (struct vty *vty); extern void ospf6_asbr_init (void); +extern void ospf6_asbr_redistribute_reset (void); extern void ospf6_asbr_terminate (void); extern int config_write_ospf6_debug_asbr (struct vty *vty);