FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
gbp_contract.h File Reference
+ Include dependency graph for gbp_contract.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gbp_contract_key_t_
 The key for an Contract. More...
 
struct  gbp_contract_t_
 A Group Based Policy Contract. More...
 
struct  gbp_contract_db_t_
 EPG src,dst pair to ACL mapping table, aka contract DB. More...
 

Typedefs

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 struct gbp_contract_db_t_ gbp_contract_db_t
 EPG src,dst pair to ACL mapping table, aka contract DB. More...
 
typedef int(* gbp_contract_cb_t) (gbp_contract_t *gbpe, void *ctx)
 

Functions

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)
 
static u32 gbp_acl_lookup (gbp_contract_key_t *key)
 

Variables

gbp_contract_db_t gbp_contract_db
 DP functions and databases. More...
 

Typedef Documentation

typedef int(* gbp_contract_cb_t) (gbp_contract_t *gbpe, void *ctx)

Definition at line 72 of file gbp_contract.h.

EPG src,dst pair to ACL mapping table, aka contract DB.

The key for an Contract.

A Group Based Policy Contract.

Determines the ACL that applies to traffic pass between two endpoint groups

Function Documentation

static u32 gbp_acl_lookup ( gbp_contract_key_t key)
inlinestatic

Definition at line 82 of file gbp_contract.h.

+ Here is the caller graph for this function:

void gbp_contract_delete ( epg_id_t  src_epg,
epg_id_t  dst_epg 
)

Definition at line 37 of file gbp_contract.c.

+ Here is the caller graph for this function:

void gbp_contract_update ( epg_id_t  src_epg,
epg_id_t  dst_epg,
u32  acl_index 
)

Definition at line 26 of file gbp_contract.c.

+ Here is the caller graph for this function:

void gbp_contract_walk ( gbp_contract_cb_t  bgpe,
void *  ctx 
)

Definition at line 48 of file gbp_contract.c.

+ Here is the caller graph for this function:

Variable Documentation

gbp_contract_db_t gbp_contract_db

DP functions and databases.

DP functions and databases.

Definition at line 23 of file gbp_contract.c.