diff options
Diffstat (limited to 'vnet/vnet/lisp-cp/control.h')
-rw-r--r-- | vnet/vnet/lisp-cp/control.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/vnet/vnet/lisp-cp/control.h b/vnet/vnet/lisp-cp/control.h index 4d5006e530e..74ade39cc58 100644 --- a/vnet/vnet/lisp-cp/control.h +++ b/vnet/vnet/lisp-cp/control.h @@ -96,14 +96,17 @@ typedef struct /* map-request locator set index */ u32 mreq_itr_rlocs; - /* Lookup vrf by vni */ + /* vni to vrf hash tables */ uword * table_id_by_vni; - - /* Lookup vni by vrf */ uword * vni_by_table_id; - /* Number of src prefixes in a vni that use an interface */ + /* vni to bd-index hash tables */ + uword * bd_id_by_vni; + uword * vni_by_bd_id; + + /* track l2 and l3 interfaces that have been created for vni */ uword * dp_intf_by_vni; + uword * l2_dp_intf_by_vni; /* Proxy ETR map index */ u32 pitr_map_index; @@ -216,6 +219,6 @@ int vnet_lisp_clear_all_remote_adjacencies (void); int -vnet_lisp_eid_table_map (u32 vni, u32 vrf, u8 is_add); +vnet_lisp_eid_table_map (u32 vni, u32 vrf, u8 is_l2, u8 is_add); #endif /* VNET_CONTROL_H_ */ |