FD.io VPP
v20.05.1-6-gf53edbc3b
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | vxlan_tunnel_ref_t_ |
A reference to a VXLAN-GBP tunnel created as a child/dependent tunnel of the tempplate GBP-VXLAN tunnel. More... | |
struct | gbp_vxlan_tx_trace_t_ |
Macros | |
#define | GBP_VXLAN_TUN_DBG(...) vlib_log_debug (gt_logger, __VA_ARGS__); |
Typedefs | |
typedef struct vxlan_tunnel_ref_t_ | vxlan_tunnel_ref_t |
A reference to a VXLAN-GBP tunnel created as a child/dependent tunnel of the tempplate GBP-VXLAN tunnel. More... | |
typedef struct gbp_vxlan_tx_trace_t_ | gbp_vxlan_tx_trace_t |
Variables | |
uword * | gv_db |
DB of added tunnels. More... | |
static vlib_log_class_t | gt_logger |
Logger. More... | |
static gbp_vxlan_tunnel_t * | gbp_vxlan_tunnel_pool |
Pool of template tunnels. More... | |
static vxlan_tunnel_ref_t * | vxlan_tunnel_ref_pool |
Pool of child tunnels. More... | |
static index_t * | gbp_vxlan_tunnel_db |
DB of template interfaces by SW interface index. More... | |
static index_t * | vxlan_tunnel_ref_db |
DB of child interfaces by SW interface index. More... | |
static vlib_punt_hdl_t | punt_hdl |
handle registered with the ;unt infra More... | |
static char * | gbp_vxlan_tunnel_layer_strings [] |
static vlib_cli_command_t | gbp_vxlan_show_node |
(constructor) VLIB_CLI_COMMAND (gbp_vxlan_show_node) More... | |
#define GBP_VXLAN_TUN_DBG | ( | ... | ) | vlib_log_debug (gt_logger, __VA_ARGS__); |
Definition at line 79 of file gbp_vxlan.c.
typedef struct gbp_vxlan_tx_trace_t_ gbp_vxlan_tx_trace_t |
typedef struct vxlan_tunnel_ref_t_ vxlan_tunnel_ref_t |
A reference to a VXLAN-GBP tunnel created as a child/dependent tunnel of the tempplate GBP-VXLAN tunnel.
Definition at line 344 of file gbp_vxlan.c.
Definition at line 335 of file gbp_vxlan.c.
Definition at line 327 of file gbp_vxlan.c.
Definition at line 375 of file gbp_vxlan.c.
Definition at line 96 of file gbp_vxlan.c.
|
static |
clib_error_t* gbp_vxlan_interface_admin_up_down | ( | vnet_main_t * | vnm, |
u32 | hw_if_index, | ||
u32 | flags | ||
) |
Definition at line 387 of file gbp_vxlan.c.
|
static |
|
static |
int gbp_vxlan_tunnel_add | ( | u32 | vni, |
gbp_vxlan_tunnel_layer_t | layer, | ||
u32 | bd_rd_id, | ||
const ip4_address_t * | src, | ||
u32 * | sw_if_indexp | ||
) |
Definition at line 439 of file gbp_vxlan.c.
gbp_itf_hdl_t gbp_vxlan_tunnel_clone_and_lock | ( | u32 | sw_if_index, |
const ip46_address_t * | src, | ||
const ip46_address_t * | dst | ||
) |
Definition at line 271 of file gbp_vxlan.c.
int gbp_vxlan_tunnel_del | ( | u32 | vni | ) |
Definition at line 550 of file gbp_vxlan.c.
gbp_vxlan_tunnel_t* gbp_vxlan_tunnel_get | ( | index_t | gti | ) |
gbp_vxlan_tunnel_type_t gbp_vxlan_tunnel_get_type | ( | u32 | sw_if_index | ) |
|
static |
Definition at line 318 of file gbp_vxlan.c.
void gbp_vxlan_walk | ( | gbp_vxlan_cb_t | cb, |
void * | ctx | ||
) |
|
static |
Definition at line 134 of file gbp_vxlan.c.
|
static |
Definition at line 109 of file gbp_vxlan.c.
VNET_DEVICE_CLASS | ( | gbp_vxlan_device_class | ) |
VNET_HW_INTERFACE_CLASS | ( | gbp_vxlan_hw_interface_class | ) |
Definition at line 222 of file gbp_vxlan.c.
gbp_itf_hdl_t vxlan_gbp_tunnel_lock_itf | ( | u32 | sw_if_index | ) |
Definition at line 237 of file gbp_vxlan.c.
void vxlan_gbp_tunnel_unlock | ( | u32 | sw_if_index | ) |
Definition at line 289 of file gbp_vxlan.c.
|
static |
|
static |
(constructor) VLIB_CLI_COMMAND (gbp_vxlan_show_node)
Definition at line 618 of file gbp_vxlan.c.
|
static |
DB of template interfaces by SW interface index.
Definition at line 61 of file gbp_vxlan.c.
|
static |
Definition at line 73 of file gbp_vxlan.c.
|
static |
Pool of template tunnels.
Definition at line 51 of file gbp_vxlan.c.
|
static |
Logger.
Definition at line 46 of file gbp_vxlan.c.
uword* gv_db |
DB of added tunnels.
Definition at line 41 of file gbp_vxlan.c.
|
static |
handle registered with the ;unt infra
Definition at line 71 of file gbp_vxlan.c.
|
static |
DB of child interfaces by SW interface index.
Definition at line 66 of file gbp_vxlan.c.
|
static |
Pool of child tunnels.
Definition at line 56 of file gbp_vxlan.c.