FD.io VPP  v19.08-27-gf4dcae4
Vector Packet Processing
gbp_subnet.h File Reference
+ Include dependency graph for gbp_subnet.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum gbp_subnet_type_t_ gbp_subnet_type_t
 
typedef walk_rc_t(* gbp_subnet_cb_t) (u32 rd_id, const fib_prefix_t *pfx, gbp_subnet_type_t type, u32 sw_if_index, sclass_t sclass, void *ctx)
 

Enumerations

enum  gbp_subnet_type_t_ {
  GBP_SUBNET_TRANSPORT, GBP_SUBNET_STITCHED_INTERNAL, GBP_SUBNET_STITCHED_EXTERNAL, GBP_SUBNET_L3_OUT,
  GBP_SUBNET_ANON_L3_OUT
}
 

Functions

int gbp_subnet_add (u32 rd_id, const fib_prefix_t *pfx, gbp_subnet_type_t type, u32 sw_if_index, sclass_t sclass)
 
int gbp_subnet_del (u32 rd_id, const fib_prefix_t *pfx)
 
void gbp_subnet_walk (gbp_subnet_cb_t cb, void *ctx)
 

Typedef Documentation

typedef walk_rc_t(* gbp_subnet_cb_t) (u32 rd_id, const fib_prefix_t *pfx, gbp_subnet_type_t type, u32 sw_if_index, sclass_t sclass, void *ctx)

Definition at line 37 of file gbp_subnet.h.

Enumeration Type Documentation

Enumerator
GBP_SUBNET_TRANSPORT 
GBP_SUBNET_STITCHED_INTERNAL 
GBP_SUBNET_STITCHED_EXTERNAL 
GBP_SUBNET_L3_OUT 
GBP_SUBNET_ANON_L3_OUT 

Definition at line 21 of file gbp_subnet.h.

Function Documentation

int gbp_subnet_add ( u32  rd_id,
const fib_prefix_t pfx,
gbp_subnet_type_t  type,
u32  sw_if_index,
sclass_t  sclass 
)

Definition at line 253 of file gbp_subnet.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int gbp_subnet_del ( u32  rd_id,
const fib_prefix_t pfx 
)

Definition at line 228 of file gbp_subnet.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gbp_subnet_walk ( gbp_subnet_cb_t  cb,
void *  ctx 
)

Definition at line 414 of file gbp_subnet.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: