FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
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 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.
typedef enum gbp_subnet_type_t_ gbp_subnet_type_t |
enum 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.
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.
int gbp_subnet_del | ( | u32 | rd_id, |
const fib_prefix_t * | pfx | ||
) |
Definition at line 230 of file gbp_subnet.c.
void gbp_subnet_walk | ( | gbp_subnet_cb_t | cb, |
void * | ctx | ||
) |
Definition at line 416 of file gbp_subnet.c.