FD.io VPP
v18.07.1-19-g511ce25
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | gbp_endpoint_key_t_ |
The key for an Endpoint. More... | |
struct | gbp_endpoint_t_ |
A Group Based Policy Endpoint. More... | |
struct | gbp_itf_t_ |
Result of a interface to EPG mapping. More... | |
struct | gbp_itf_to_epg_db_t_ |
Interface to source EPG DB - a per-interface vector. More... | |
Typedefs | |
typedef struct gbp_endpoint_key_t_ | gbp_endpoint_key_t |
The key for an Endpoint. More... | |
typedef struct gbp_endpoint_t_ | gbp_endpoint_t |
A Group Based Policy Endpoint. More... | |
typedef struct gbp_itf_t_ | gbp_itf_t |
Result of a interface to EPG mapping. More... | |
typedef struct gbp_itf_to_epg_db_t_ | gbp_itf_to_epg_db_t |
Interface to source EPG DB - a per-interface vector. More... | |
typedef int(* | gbp_endpoint_cb_t) (gbp_endpoint_t *gbpe, void *ctx) |
Functions | |
int | gbp_endpoint_update (u32 sw_if_index, const ip46_address_t *ip, epg_id_t epg_id) |
void | gbp_endpoint_delete (u32 sw_if_index, const ip46_address_t *ip) |
void | gbp_endpoint_walk (gbp_endpoint_cb_t cb, void *ctx) |
void | gbp_itf_epg_update (u32 sw_if_index, epg_id_t src_epg, u8 do_policy) |
Port to EPG mapping management. More... | |
void | gbp_itf_epg_delete (u32 sw_if_index) |
static u32 | gbp_port_to_epg (u32 sw_if_index) |
Get the source EPG for a port/interface. More... | |
Variables | |
gbp_itf_to_epg_db_t | gbp_itf_to_epg_db |
DP functions and databases. More... | |
typedef int(* gbp_endpoint_cb_t) (gbp_endpoint_t *gbpe, void *ctx) |
Definition at line 79 of file gbp_endpoint.h.
typedef struct gbp_endpoint_key_t_ gbp_endpoint_key_t |
The key for an Endpoint.
typedef struct gbp_endpoint_t_ gbp_endpoint_t |
A Group Based Policy Endpoint.
This is typcially a VM on the local compute node for which policy must be locally applied
typedef struct gbp_itf_t_ gbp_itf_t |
Result of a interface to EPG mapping.
multiple Endpoints can occur on the same interface, so this mapping needs to be reference counted.
typedef struct gbp_itf_to_epg_db_t_ gbp_itf_to_epg_db_t |
Interface to source EPG DB - a per-interface vector.
void gbp_endpoint_delete | ( | u32 | sw_if_index, |
const ip46_address_t * | ip | ||
) |
Definition at line 192 of file gbp_endpoint.c.
Definition at line 135 of file gbp_endpoint.c.
void gbp_endpoint_walk | ( | gbp_endpoint_cb_t | cb, |
void * | ctx | ||
) |
void gbp_itf_epg_delete | ( | u32 | sw_if_index | ) |
Definition at line 117 of file gbp_endpoint.c.
Port to EPG mapping management.
Definition at line 98 of file gbp_endpoint.c.
Get the source EPG for a port/interface.
Definition at line 98 of file gbp_endpoint.h.
gbp_itf_to_epg_db_t gbp_itf_to_epg_db |
DP functions and databases.
Definition at line 55 of file gbp_endpoint.c.