FD.io VPP
v18.04-17-g3a0d853
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_contract_key_t_ |
The key for an Contract. More... | |
struct | gbp_contract_t_ |
A Group Based Policy Contract. More... | |
Macros | |
#define | EPG_INVALID (~0) |
Typedefs | |
typedef u32 | epg_id_t |
Group Base Policy (GBP) defines: More... | |
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 int(* | gbp_endpoint_cb_t) (gbp_endpoint_t *gbpe, void *ctx) |
typedef struct gbp_contract_key_t_ | gbp_contract_key_t |
The key for an Contract. More... | |
typedef struct gbp_contract_t_ | gbp_contract_t |
A Group Based Policy Contract. More... | |
typedef int(* | gbp_contract_cb_t) (gbp_contract_t *gbpe, void *ctx) |
Functions | |
void | 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 bgpe, void *ctx) |
void | gbp_contract_update (epg_id_t src_epg, epg_id_t dst_epg, u32 acl_index) |
void | gbp_contract_delete (epg_id_t src_epg, epg_id_t dst_epg) |
void | gbp_contract_walk (gbp_contract_cb_t bgpe, void *ctx) |
Group Base Policy (GBP) defines:
Here, policy is implemented via an ACL. EPG classification for transit packets is determined by:
typedef int(* gbp_contract_cb_t) (gbp_contract_t *gbpe, void *ctx) |
typedef struct gbp_contract_key_t_ gbp_contract_key_t |
The key for an Contract.
typedef struct gbp_contract_t_ gbp_contract_t |
A Group Based Policy Contract.
Determines the ACL that applies to traffic pass between two endpoint groups
typedef int(* gbp_endpoint_cb_t) (gbp_endpoint_t *gbpe, void *ctx) |
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
void gbp_contract_walk | ( | gbp_contract_cb_t | bgpe, |
void * | ctx | ||
) |
void gbp_endpoint_delete | ( | u32 | sw_if_index, |
const ip46_address_t * | ip | ||
) |
void gbp_endpoint_walk | ( | gbp_endpoint_cb_t | bgpe, |
void * | ctx | ||
) |