FD.io VPP  v20.09-64-g4f7b92f0a
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

◆ gbp_subnet_cb_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)

Definition at line 37 of file gbp_subnet.h.

◆ gbp_subnet_type_t

Enumeration Type Documentation

◆ gbp_subnet_type_t_

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

◆ gbp_subnet_add()

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 255 of file gbp_subnet.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gbp_subnet_del()

int gbp_subnet_del ( u32  rd_id,
const fib_prefix_t pfx 
)

Definition at line 230 of file gbp_subnet.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gbp_subnet_walk()

void gbp_subnet_walk ( gbp_subnet_cb_t  cb,
void *  ctx 
)

Definition at line 416 of file gbp_subnet.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: