Go to the source code of this file.
|
u8 * | format_vxlan_gpe_tunnel (u8 *s, va_list *args) |
|
static u8 * | format_vxlan_gpe_name (u8 *s, va_list *args) |
|
static int | vxlan_gpe_name_renumber (vnet_hw_interface_t *hi, u32 new_dev_instance) |
|
static uword | dummy_interface_tx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | dummy_set_rewrite (vnet_main_t *vnm, u32 sw_if_index, u32 l3_type, void *dst_address, void *rewrite, uword max_rewrite_bytes) |
|
| VNET_DEVICE_CLASS (vxlan_gpe_device_class, static) |
|
static u8 * | format_vxlan_gpe_header_with_length (u8 *s, va_list *args) |
|
| VNET_HW_INTERFACE_CLASS (vxlan_gpe_hw_class) |
|
static int | vxlan_gpe_rewrite (vxlan_gpe_tunnel_t *t) |
|
int | vnet_vxlan_gpe_add_del_tunnel (vnet_vxlan_gpe_add_del_tunnel_args_t *a, u32 *sw_if_indexp) |
|
static u32 | fib_index_from_fib_id (u32 fib_id) |
|
static uword | unformat_gpe_decap_next (unformat_input_t *input, va_list *args) |
|
static clib_error_t * | vxlan_gpe_add_del_tunnel_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_vxlan_gpe_tunnel_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
clib_error_t * | vxlan_gpe_init (vlib_main_t *vm) |
|
#define foreach_copy_field |
Value:_(src.as_u32) \
_(dst.as_u32) \
_(vni) \
_(encap_fib_index) \
_(decap_fib_index) \
_(decap_next_index)
Definition at line 131 of file vxlan_gpe.c.
#define foreach_gpe_copy_field |
Value:_(local.as_u32) \
_(remote.as_u32) \
_(vni) \
_(protocol) \
_(encap_fib_index) \
_(decap_fib_index)
Definition at line 123 of file vxlan_gpe.c.
static u32 fib_index_from_fib_id |
( |
u32 |
fib_id | ) |
|
|
static |
static u8* format_vxlan_gpe_header_with_length |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_vxlan_gpe_name |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
u8* format_vxlan_gpe_tunnel |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
VNET_DEVICE_CLASS |
( |
vxlan_gpe_device_class |
, |
|
|
static |
|
|
) |
| |
VNET_HW_INTERFACE_CLASS |
( |
vxlan_gpe_hw_class |
| ) |
|
Initial value:= {
.path = "create vxlan-gpe tunnel",
.short_help =
"create vxlan-gpe tunnel local <ip4-addr> remote <ip4-addr>"
" vni <nn> [next-ip4][next-ip6][next-ethernet][next-nsh]"
" [encap-vrf-id <nn>] [decap-vrf-id <nn>]"
" [del]\n",
}
static clib_error_t * vxlan_gpe_add_del_tunnel_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (create_vxlan_gpe_tunnel_command)
Definition at line 419 of file vxlan_gpe.c.
Initial value:= {
.path = "show vxlan-gpe",
}
static clib_error_t * show_vxlan_gpe_tunnel_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_vxlan_gpe_tunnel_command)
Definition at line 448 of file vxlan_gpe.c.