X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=vnet%2Fvnet%2Flisp-cp%2Fcontrol.h;h=7cf3978388643cb5badb8f28290105970d214fb6;hb=324112fad06e0461958f22827f944595466e1891;hp=53c14dd1e016e0f457afb3e3ff2eacbece2fcaf1;hpb=0443212371ec7cb68be297ed06ad1c3a39d23713;p=vpp.git diff --git a/vnet/vnet/lisp-cp/control.h b/vnet/vnet/lisp-cp/control.h index 53c14dd1e01..7cf39783886 100644 --- a/vnet/vnet/lisp-cp/control.h +++ b/vnet/vnet/lisp-cp/control.h @@ -100,6 +100,9 @@ typedef struct /* Lookup vrf by vni */ 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 */ uword * dp_if_refcount_by_vni; @@ -200,4 +203,6 @@ vnet_lisp_add_del_mreq_itr_rlocs (vnet_lisp_add_del_mreq_itr_rloc_args_t * a); int vnet_lisp_clear_all_remote_mappings (void); +int vnet_lisp_eid_table_map (u32 vni, u32 vrf, u8 is_add); + #endif /* VNET_CONTROL_H_ */