summaryrefslogtreecommitdiff
path: root/lib/vrf.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vrf.h')
-rw-r--r--lib/vrf.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/lib/vrf.h b/lib/vrf.h
index bdc0db9c90..8bfdc87689 100644
--- a/lib/vrf.h
+++ b/lib/vrf.h
@@ -77,8 +77,9 @@ struct vrf {
u_char status;
#define VRF_ACTIVE (1 << 0)
- /* Master list of interfaces belonging to this VRF */
- struct list *iflist;
+ /* Interfaces belonging to this VRF */
+ struct if_name_head ifaces_by_name;
+ struct if_index_head ifaces_by_index;
/* User data */
void *info;
@@ -127,15 +128,6 @@ extern void *vrf_info_get(vrf_id_t);
extern void *vrf_info_lookup(vrf_id_t);
/*
- * Utilities to obtain the interface list
- */
-
-/* Look up the interface list of the specified VRF. */
-extern struct list *vrf_iflist(vrf_id_t);
-/* Get the interface list of the specified VRF. Create one if not find. */
-extern struct list *vrf_iflist_get(vrf_id_t);
-
-/*
* VRF bit-map: maintaining flags, one bit per VRF ID
*/