FD.io VPP
v19.01.3-6-g70449b9b9
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, epg_id_t epg, void *ctx) |
Enumerations | |
enum | gbp_subnet_type_t_ { GBP_SUBNET_TRANSPORT, GBP_SUBNET_STITCHED_INTERNAL, GBP_SUBNET_STITCHED_EXTERNAL, GBP_SUBNET_L3_OUT } |
Functions | |
int | gbp_subnet_add (u32 rd_id, const fib_prefix_t *pfx, gbp_subnet_type_t type, u32 sw_if_index, epg_id_t epg) |
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, epg_id_t epg, void *ctx) |
Definition at line 36 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 |
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, | ||
epg_id_t | epg | ||
) |
Definition at line 236 of file gbp_subnet.c.
int gbp_subnet_del | ( | u32 | rd_id, |
const fib_prefix_t * | pfx | ||
) |
Definition at line 200 of file gbp_subnet.c.
void gbp_subnet_walk | ( | gbp_subnet_cb_t | cb, |
void * | ctx | ||
) |
Definition at line 287 of file gbp_subnet.c.