|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
15 #ifndef __included_vxlan_gpe_ioam_h__
16 #define __included_vxlan_gpe_ioam_h__
62 #define TSP_MILLISECONDS 1
63 #define TSP_MICROSECONDS 2
64 #define TSP_NANOSECONDS 3
73 u8 is_ipv4,
u8 use_adj);
127 int has_pot_option,
int has_ppc_option);
130 int has_trace_option,
132 int has_ppc_option,
u8 ipv6_set);
134 int has_trace_option,
int has_pot_option,
135 int has_ppc_option,
u8 ipv6_set);
139 int rewrite_options (
u8 *
149 opt,
u8 is_ipv4,
u8 use_adj),
163 u8 is_ipv4,
u8 is_add);
vlib_node_registration_t vxlan_gpe_transit_ioam_v4_node
vxlan_gpe_ioam_sw_interface_t * sw_interfaces
int vxlan_gpe_ioam_add_register_option(u8 option, u8 size, int rewrite_options(u8 *rewrite_string, u8 *rewrite_size))
int vxlan_gpe_trace_profile_cleanup(void)
static vlib_cli_command_t trace
(constructor) VLIB_CLI_COMMAND (trace)
@ VXLAN_GPE_DECAP_IOAM_V4_NEXT_POP
vlib_node_registration_t vxlan_gpe_encap_ioam_v4_node
(constructor) VLIB_REGISTER_NODE (vxlan_gpe_encap_ioam_v4_node)
@ VXLAN_GPE_DECAP_IOAM_V4_NEXT_DROP
vxlan_gpe_ioam_main_t vxlan_gpe_ioam_main
vlib_main_t * vlib_main
State convenience vlib_main_t.
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
vxlan_gpe_decap_ioam_v4_next_t
vlib_node_registration_t vxlan_gpe_decap_ioam_v4_node
(constructor) VLIB_REGISTER_NODE (vxlan_gpe_decap_ioam_v4_node)
enum fib_node_type_t_ fib_node_type_t
The types of nodes in a FIB graph.
vnet_main_t * vnet_main
State convenience vnet_main_t.
void vxlan_gpe_ioam_interface_init(void)
int vxlan_gpe_ioam_register_option(u8 option, int options(vlib_buffer_t *b, vxlan_gpe_ioam_option_t *opt, u8 is_ipv4, u8 use_adj), u8 *trace(u8 *s, vxlan_gpe_ioam_option_t *opt))
clib_error_t * vxlan_gpe_ioam_clear(vxlan_gpe_tunnel_t *t, int has_trace_option, int has_pot_option, int has_ppc_option, u8 ipv6_set)
struct vxlan_gpe_ioam_main_ vxlan_gpe_ioam_main_t
uword decap_v6_next_override
clib_error_t * vxlan_gpe_ioam_set(vxlan_gpe_tunnel_t *t, int has_trace_option, int has_pot_option, int has_ppc_option, u8 ipv6_set)
u32 fib_node_index_t
A typedef of a node index.
uword decap_v4_next_override
fib_node_index_t fib_entry_index
fib_node_t node
Linkage into the FIB object graph.
clib_error_t * vxlan_gpe_ioam_enable(int has_trace_option, int has_pot_option, int has_ppc_option)
clib_error_t * vxlan_gpe_ioam_disable(int has_trace_option, int has_pot_option, int has_ppc_option)
int(* pop_options[256])(ip4_header_t *ip, vxlan_gpe_ioam_option_t *opt)
vl_api_mac_address_t dst_addr
Struct for VXLAN GPE tunnel.
struct _vlib_node_registration vlib_node_registration_t
int vxlan_gpe_add_unregister_option(u8 option)
@ VXLAN_GPE_DECAP_IOAM_V4_N_NEXT
fib_node_type_t fib_entry_type
struct vxlan_gpe_sw_interface_ vxlan_gpe_ioam_sw_interface_t
VXLAN GPE packet header structure.
int(* add_options[256])(u8 *rewrite_string, u8 *rewrite_size)
static struct option options[]
vxlan_gpe_ioam_dest_tunnels_t * dst_tunnels
An node in the FIB graph.
int vxlan_gpe_trace_profile_setup(void)
u8 * bool_ref_by_sw_if_index
per sw_if_index, to maintain bitmap
int(* options[256])(vlib_buffer_t *b, vxlan_gpe_ioam_option_t *opt, u8 is_ipv4, u8 use_adj)
int vxlan_gpe_ioam_disable_for_dest(vlib_main_t *vm, ip46_address_t dst_addr, u32 outer_fib_index, u8 ipv4_set)
struct vxlan_gpe_dest_tunnels_ vxlan_gpe_ioam_dest_tunnels_t
int vxlan_gpe_ioam_unregister_option(u8 option)
int vxlan_gpe_enable_disable_ioam_for_dest(vlib_main_t *vm, ip46_address_t dst_addr, u32 outer_fib_index, u8 is_ipv4, u8 is_add)
u8 *(* trace[256])(u8 *s, vxlan_gpe_ioam_option_t *opt)
VLIB buffer representation.