|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef __LISP_GPE_TENANT_H__
17 #define __LISP_GPE_TENANT_H__
71 u8 with_default_route);
void lisp_gpe_tenant_flush(void)
Flush/delete ALL the tenants.
enum lisp_gpe_tenant_lock_t_ lisp_gpe_tenant_lock_t
Refernece counting lock types on the tenant.
u32 lt_table_id
The tenant can have both L2 and L3 services enabled.
struct lisp_gpe_tenant_t_ lisp_gpe_tenant_t
Representation of the data associated with a LISP overlay tenant.
@ LISP_GPE_TENANT_LOCK_L2_IFACE
void lisp_gpe_tenant_l2_iface_unlock(u32 vni)
Release the lock held on the tenant's L3 interface.
void lisp_gpe_tenant_l3_iface_unlock(u32 vni)
Release the lock held on the tenant's L3 interface.
const lisp_gpe_tenant_t * lisp_gpe_tenant_get(u32 index)
get a const pointer to the tenant object
@ LISP_GPE_TENANT_LOCK_NUM
u32 lt_vni
The VNI is the identifier of the tenant.
u32 lisp_gpe_tenant_find_or_create(u32 vni)
Find or create a tenant for the given VNI.
u32 lt_l2_sw_if_index
The L2 SW interface index.
Representation of the data associated with a LISP overlay tenant.
u32 lt_l3_sw_if_index
The L3 SW interface index.
@ LISP_GPE_TENANT_LOCK_L3_IFACE
lisp_gpe_tenant_lock_t_
Refernece counting lock types on the tenant.
u32 lisp_gpe_tenant_l3_iface_add_or_lock(u32 vni, u32 vrf, u8 with_default_route)
Add/create and lock a new or find and lock the existing L3 interface for the tenant.
u32 lt_locks[LISP_GPE_TENANT_LOCK_NUM]
The number of locks on the tenant's L3 interface.
u32 lisp_gpe_tenant_l2_iface_add_or_lock(u32 vni, u32 vrf)
Add/create and lock a new or find and lock the existing L2 interface for the tenant.