From eef1fe11b89c5ec3c035ff6e4a9acfbc5780b539 Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 3 Oct 2004 18:46:08 +0000 Subject: New way to handle secondary addresses from Gilad Arnold. --- zebra/interface.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'zebra/interface.h') diff --git a/zebra/interface.h b/zebra/interface.h index b38a9221..91578ffb 100644 --- a/zebra/interface.h +++ b/zebra/interface.h @@ -159,6 +159,9 @@ struct zebra_if /* Interface's address. */ struct list *address; + /* Installed addresses chains tree. */ + struct route_table *ipv4_subnets; + #ifdef RTADV struct rtadvconf rtadv; #endif /* RTADV */ @@ -174,6 +177,8 @@ void if_add_update (struct interface *ifp); void if_up (struct interface *); void if_down (struct interface *); void if_refresh (struct interface *); +int if_subnet_add (struct interface *, struct connected *); +int if_subnet_delete (struct interface *, struct connected *); #ifdef HAVE_PROC_NET_DEV int ifstat_update_proc (); -- cgit v1.2.1