diff options
Diffstat (limited to 'zebra/interface.h')
-rw-r--r-- | zebra/interface.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/zebra/interface.h b/zebra/interface.h index 0a6b0365..827729a3 100644 --- a/zebra/interface.h +++ b/zebra/interface.h @@ -46,7 +46,7 @@ #endif #ifdef RTADV -/* Router advertisement parameter. From RFC2461 and RFC3775. */ +/* Router advertisement parameter. From RFC2461, RFC3775 and RFC4191. */ struct rtadvconf { /* A flag indicating whether or not the router sends periodic Router @@ -171,6 +171,13 @@ struct rtadvconf Default: FALSE */ int AdvIntervalOption; + + /* The value to be placed in the Default Router Preference field of + a router advertisement. See [RFC 4191 2.1 & 2.2] + + Default: 0 (medium) */ + int DefaultPreference; +#define RTADV_PREF_MEDIUM 0x0 /* Per RFC4191. */ }; #endif /* RTADV */ @@ -187,9 +194,6 @@ struct zebra_if /* Router advertise configuration. */ u_char rtadv_enable; - /* Interface's address. */ - struct list *address; - /* Installed addresses chains tree. */ struct route_table *ipv4_subnets; @@ -215,6 +219,7 @@ extern void if_delete_update (struct interface *ifp); extern void if_add_update (struct interface *ifp); extern void if_up (struct interface *); extern void if_down (struct interface *); +extern void if_rename (struct interface *, const char *); extern void if_refresh (struct interface *); extern void if_flags_update (struct interface *, uint64_t); extern int if_subnet_add (struct interface *, struct connected *); |