diff options
Diffstat (limited to 'zebra/rib.h')
| -rw-r--r-- | zebra/rib.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/zebra/rib.h b/zebra/rib.h index 281791d1f8..60092c9632 100644 --- a/zebra/rib.h +++ b/zebra/rib.h @@ -288,33 +288,6 @@ DECLARE_LIST(re_list, struct route_entry, next); #define RNODE_NEXT_RE(rn, re) RE_DEST_NEXT_ROUTE(rib_dest_from_rnode(rn), re) -#if defined(HAVE_RTADV) -PREDECL_SORTLIST_UNIQ(adv_if_list); -/* Structure which hold status of router advertisement. */ -struct rtadv { - int sock; - - struct adv_if_list_head adv_if; - struct adv_if_list_head adv_msec_if; - - struct thread *ra_read; - struct thread *ra_timer; -}; - -/* adv list node */ -struct adv_if { - char name[INTERFACE_NAMSIZ]; - struct adv_if_list_item list_item; -}; - -static int adv_if_cmp(const struct adv_if *a, const struct adv_if *b) -{ - return if_cmp_name_func(a->name, b->name); -} - -DECLARE_SORTLIST_UNIQ(adv_if_list, struct adv_if, list_item, adv_if_cmp); -#endif /* HAVE_RTADV */ - /* * rib_table_info_t * @@ -357,8 +330,6 @@ enum rib_update_event { RIB_UPDATE_MAX }; -extern void route_entry_copy_nexthops(struct route_entry *re, - struct nexthop *nh); int route_entry_update_nhe(struct route_entry *re, struct nhg_hash_entry *new_nhghe); |
