![]() |
FD.io VPP
v16.09
Vector Packet Processing
|
Common utility functions for IPv4 and IPv6 VXLAN GPE tunnels. More...
Include dependency graph for vxlan_gpe.c:Go to the source code of this file.
Macros | |
| #define | foreach_gpe_copy_field |
| #define | foreach_copy_ipv4 |
| #define | foreach_copy_ipv6 |
Functions | |
| u8 * | format_vxlan_gpe_tunnel (u8 *s, va_list *args) |
| Tracing function for VXLAN GPE tunnel packets. More... | |
| static u8 * | format_vxlan_gpe_name (u8 *s, va_list *args) |
| Naming for VXLAN GPE tunnel. More... | |
| static uword | dummy_interface_tx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
| static clib_error_t * | vxlan_gpe_interface_admin_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
| CLI function for VXLAN GPE admin up/down. More... | |
| VNET_DEVICE_CLASS (vxlan_gpe_device_class, static) | |
| 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) |
| static u8 * | format_vxlan_gpe_header_with_length (u8 *s, va_list *args) |
| Formatting function for tracing VXLAN GPE with length. More... | |
| VNET_HW_INTERFACE_CLASS (vxlan_gpe_hw_class) | |
| static int | vxlan4_gpe_rewrite (vxlan_gpe_tunnel_t *t) |
| Calculate IPv4 VXLAN GPE rewrite header. More... | |
| static int | vxlan6_gpe_rewrite (vxlan_gpe_tunnel_t *t) |
| Calculate IPv6 VXLAN GPE rewrite header. More... | |
| int | vnet_vxlan_gpe_add_del_tunnel (vnet_vxlan_gpe_add_del_tunnel_args_t *a, u32 *sw_if_indexp) |
| Add or Del a VXLAN GPE tunnel. More... | |
| static u32 | fib4_index_from_fib_id (u32 fib_id) |
| Find the IPv4 FIB index from the FIB ID. More... | |
| static u32 | fib6_index_from_fib_id (u32 fib_id) |
| Find the IPv4 FIB index from the FIB ID. More... | |
| static clib_error_t * | vxlan_gpe_add_del_tunnel_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| CLI function for Add/Del of IPv4/IPv6 VXLAN GPE tunnel. More... | |
| static clib_error_t * | show_vxlan_gpe_tunnel_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| CLI function for showing VXLAN GPE tunnels. More... | |
| clib_error_t * | vxlan_gpe_init (vlib_main_t *vm) |
| Feature init function for VXLAN GPE. More... | |
Variables | |
| vxlan_gpe_main_t | vxlan_gpe_main |
| static vlib_cli_command_t | create_vxlan_gpe_tunnel_command |
| (constructor) VLIB_CLI_COMMAND (create_vxlan_gpe_tunnel_command) More... | |
| static vlib_cli_command_t | show_vxlan_gpe_tunnel_command |
| (constructor) VLIB_CLI_COMMAND (show_vxlan_gpe_tunnel_command) More... | |
Common utility functions for IPv4 and IPv6 VXLAN GPE tunnels.
Definition in file vxlan_gpe.c.
| #define foreach_copy_ipv4 |
Definition at line 163 of file vxlan_gpe.c.
| #define foreach_copy_ipv6 |
Definition at line 168 of file vxlan_gpe.c.
| #define foreach_gpe_copy_field |
Definition at line 157 of file vxlan_gpe.c.
|
static |
|
static |
Find the IPv4 FIB index from the FIB ID.
| fib_id |
Definition at line 430 of file vxlan_gpe.c.
Here is the caller graph for this function:Find the IPv4 FIB index from the FIB ID.
| fib_id |
Definition at line 450 of file vxlan_gpe.c.
Here is the caller graph for this function:Formatting function for tracing VXLAN GPE with length.
| *s | |
| *args |
Definition at line 143 of file vxlan_gpe.c.
Here is the call graph for this function:Naming for VXLAN GPE tunnel.
| *s | |
| *args |
Definition at line 80 of file vxlan_gpe.c.
Here is the call graph for this function:
Here is the caller graph for this function:Tracing function for VXLAN GPE tunnel packets.
| *s | |
| *args |
Definition at line 34 of file vxlan_gpe.c.
Here is the call graph for this function:
|
static |
CLI function for showing VXLAN GPE tunnels.
| *vm | |
| *input | |
| *cmd |
Definition at line 635 of file vxlan_gpe.c.
Here is the call graph for this function:| VNET_DEVICE_CLASS | ( | vxlan_gpe_device_class | , |
| static | |||
| ) |
Here is the caller graph for this function:| VNET_HW_INTERFACE_CLASS | ( | vxlan_gpe_hw_class | ) |
Here is the caller graph for this function:| int vnet_vxlan_gpe_add_del_tunnel | ( | vnet_vxlan_gpe_add_del_tunnel_args_t * | a, |
| u32 * | sw_if_indexp | ||
| ) |
Add or Del a VXLAN GPE tunnel.
| *a | |
| *sw_if_index |
Definition at line 278 of file vxlan_gpe.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Calculate IPv4 VXLAN GPE rewrite header.
| *t |
Definition at line 184 of file vxlan_gpe.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Calculate IPv6 VXLAN GPE rewrite header.
| *t |
Definition at line 230 of file vxlan_gpe.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
CLI function for Add/Del of IPv4/IPv6 VXLAN GPE tunnel.
| *vm | |
| *input | |
| *cmd |
Definition at line 473 of file vxlan_gpe.c.
Here is the call graph for this function:| clib_error_t* vxlan_gpe_init | ( | vlib_main_t * | vm | ) |
Feature init function for VXLAN GPE.
| *vm |
Definition at line 666 of file vxlan_gpe.c.
Here is the call graph for this function:
|
static |
CLI function for VXLAN GPE admin up/down.
| *vnm | |
| hw_if_index | |
| flags |
Definition at line 105 of file vxlan_gpe.c.
Here is the call graph for this function:
|
static |
(constructor) VLIB_CLI_COMMAND (create_vxlan_gpe_tunnel_command)
Definition at line 614 of file vxlan_gpe.c.
|
static |
(constructor) VLIB_CLI_COMMAND (show_vxlan_gpe_tunnel_command)
Definition at line 653 of file vxlan_gpe.c.
| vxlan_gpe_main_t vxlan_gpe_main |
Definition at line 23 of file vxlan_gpe.c.