Go to the source code of this file.
|
static gbp_vxlan_tunnel_t * | gbp_vxlan_tunnel_get (index_t gti) |
|
static vxlan_tunnel_ref_t * | vxlan_tunnel_ref_get (index_t vxri) |
|
static u8 * | format_vxlan_tunnel_ref (u8 *s, va_list *args) |
|
static u32 | gdb_vxlan_dep_add (gbp_vxlan_tunnel_t *gt, u32 vni, const ip46_address_t *src, const ip46_address_t *dst) |
|
u32 | vxlan_gbp_tunnel_get_parent (u32 sw_if_index) |
|
gbp_vxlan_tunnel_type_t | gbp_vxlan_tunnel_get_type (u32 sw_if_index) |
|
u32 | gbp_vxlan_tunnel_clone_and_lock (u32 sw_if_index, const ip46_address_t *src, const ip46_address_t *dst) |
|
static void | gdb_vxlan_dep_del (index_t vxri) |
|
void | vxlan_gbp_tunnel_unlock (u32 sw_if_index) |
|
void | vxlan_gbp_tunnel_lock (u32 sw_if_index) |
|
static uword | gbp_vxlan_decap (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, u8 is_ip4) |
|
static u8 * | format_gbp_vxlan_rx_trace (u8 *s, va_list *args) |
|
static uword | gbp_vxlan4_decap (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame) |
|
void | gbp_vxlan_walk (gbp_vxlan_cb_t cb, void *ctx) |
|
static walk_rc_t | gbp_vxlan_tunnel_show_one (gbp_vxlan_tunnel_t *gt, void *ctx) |
|
static u8 * | format_gbp_vxlan_tunnel_name (u8 *s, va_list *args) |
|
u8 * | format_gbp_vxlan_tunnel_layer (u8 *s, va_list *args) |
|
u8 * | format_gbp_vxlan_tunnel (u8 *s, va_list *args) |
|
u8 * | format_gbp_vxlan_tx_trace (u8 *s, va_list *args) |
|
clib_error_t * | gbp_vxlan_interface_admin_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
|
static uword | gbp_vxlan_interface_tx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_DEVICE_CLASS (gbp_vxlan_device_class) |
|
| VNET_HW_INTERFACE_CLASS (gbp_vxlan_hw_interface_class) |
|
int | gbp_vxlan_tunnel_add (u32 vni, gbp_vxlan_tunnel_layer_t layer, u32 bd_rd_id, u32 *sw_if_indexp) |
|
int | gbp_vxlan_tunnel_del (u32 vni) |
|
static clib_error_t * | gbp_vxlan_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | gbp_vxlan_init (vlib_main_t *vm) |
|
◆ foreach_gbp_vxlan_error
#define foreach_gbp_vxlan_error |
Value:_(DECAPPED, "decapped") \
_(LEARNED, "learned")
Definition at line 327 of file gbp_vxlan.c.
◆ foreach_gbp_vxlan_input_next
#define foreach_gbp_vxlan_input_next |
Value: _(L2_INPUT, "l2-input") \
_(IP4_INPUT, "ip4-input") \
_(IP6_INPUT, "ip6-input")
Definition at line 313 of file gbp_vxlan.c.
◆ GBP_VXLAN_TUN_DBG
◆ gbp_vxlan_trace_t
◆ gbp_vxlan_tx_trace_t
◆ vxlan_tunnel_ref_t
A reference to a VXLAN-GBP tunnel created as a child/dependent tunnel of the tempplate GBP-VXLAN tunnel.
◆ gbp_vxlan_input_error_t
Enumerator |
---|
GBP_VXLAN_N_ERROR | |
Definition at line 331 of file gbp_vxlan.c.
◆ gbp_vxlan_input_next_t
Enumerator |
---|
GBP_VXLAN_INPUT_N_NEXT | |
Definition at line 319 of file gbp_vxlan.c.
◆ format_gbp_vxlan_rx_trace()
static u8* format_gbp_vxlan_rx_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_gbp_vxlan_tunnel()
u8* format_gbp_vxlan_tunnel |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_gbp_vxlan_tunnel_layer()
u8* format_gbp_vxlan_tunnel_layer |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_gbp_vxlan_tunnel_name()
static u8* format_gbp_vxlan_tunnel_name |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_gbp_vxlan_tx_trace()
u8* format_gbp_vxlan_tx_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_vxlan_tunnel_ref()
static u8* format_vxlan_tunnel_ref |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ gbp_vxlan4_decap()
◆ gbp_vxlan_decap()
◆ gbp_vxlan_init()
◆ gbp_vxlan_interface_admin_up_down()
◆ gbp_vxlan_interface_tx()
◆ gbp_vxlan_show()
◆ gbp_vxlan_tunnel_add()
◆ gbp_vxlan_tunnel_clone_and_lock()
u32 gbp_vxlan_tunnel_clone_and_lock |
( |
u32 |
sw_if_index, |
|
|
const ip46_address_t * |
src, |
|
|
const ip46_address_t * |
dst |
|
) |
| |
◆ gbp_vxlan_tunnel_del()
int gbp_vxlan_tunnel_del |
( |
u32 |
vni | ) |
|
◆ gbp_vxlan_tunnel_get()
◆ gbp_vxlan_tunnel_get_type()
◆ gbp_vxlan_tunnel_show_one()
◆ gbp_vxlan_walk()
◆ gdb_vxlan_dep_add()
static u32 gdb_vxlan_dep_add |
( |
gbp_vxlan_tunnel_t * |
gt, |
|
|
u32 |
vni, |
|
|
const ip46_address_t * |
src, |
|
|
const ip46_address_t * |
dst |
|
) |
| |
|
static |
◆ gdb_vxlan_dep_del()
static void gdb_vxlan_dep_del |
( |
index_t |
vxri | ) |
|
|
static |
◆ VNET_DEVICE_CLASS()
VNET_DEVICE_CLASS |
( |
gbp_vxlan_device_class |
| ) |
|
◆ VNET_HW_INTERFACE_CLASS()
VNET_HW_INTERFACE_CLASS |
( |
gbp_vxlan_hw_interface_class |
| ) |
|
◆ vxlan_gbp_tunnel_get_parent()
u32 vxlan_gbp_tunnel_get_parent |
( |
u32 |
sw_if_index | ) |
|
◆ vxlan_gbp_tunnel_lock()
void vxlan_gbp_tunnel_lock |
( |
u32 |
sw_if_index | ) |
|
◆ vxlan_gbp_tunnel_unlock()
void vxlan_gbp_tunnel_unlock |
( |
u32 |
sw_if_index | ) |
|
◆ vxlan_tunnel_ref_get()
◆ gbp_vxlan4_input_node
Initial value:=
{
.name = "gbp-vxlan4",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s,n)
},
}
static char * gbp_vxlan_error_strings[]
static u8 * format_gbp_vxlan_rx_trace(u8 *s, va_list *args)
static uword gbp_vxlan4_decap(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
#define foreach_gbp_vxlan_input_next
(constructor) VLIB_REGISTER_NODE (gbp_vxlan4_input_node)
Definition at line 482 of file gbp_vxlan.c.
◆ gbp_vxlan_error_strings
char* gbp_vxlan_error_strings[] |
|
static |
Initial value:= {
#define _(n,s)
}
#define foreach_gbp_vxlan_error
Definition at line 339 of file gbp_vxlan.c.
◆ gbp_vxlan_show_node
Initial value:= {
.path = "show gbp vxlan",
.short_help = "show gbp vxlan\n",
}
static clib_error_t * gbp_vxlan_show(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (gbp_vxlan_show_node)
Definition at line 839 of file gbp_vxlan.c.
◆ gbp_vxlan_tunnel_db
DB of template interfaces by SW interface index.
Definition at line 62 of file gbp_vxlan.c.
◆ gbp_vxlan_tunnel_layer_strings
char* gbp_vxlan_tunnel_layer_strings[] |
|
static |
◆ gbp_vxlan_tunnel_pool
Pool of template tunnels.
Definition at line 52 of file gbp_vxlan.c.
◆ gt_logger
◆ gv_db
◆ vxlan_tunnel_ref_db
DB of child interfaces by SW interface index.
Definition at line 67 of file gbp_vxlan.c.
◆ vxlan_tunnel_ref_pool
Pool of child tunnels.
Definition at line 57 of file gbp_vxlan.c.