FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
vxlan_gpe_ioam_export.c File Reference
+ Include dependency graph for vxlan_gpe_ioam_export.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   sm->msg_id_base
 

Functions

void vxlan_gpe_set_next_override (uword next)
 
int vxlan_gpe_ioam_export_enable_disable (ioam_export_main_t *em, u8 is_disable, ip4_address_t *collector_address, ip4_address_t *src_address)
 
static void vl_api_vxlan_gpe_ioam_export_enable_disable_t_handler (vl_api_vxlan_gpe_ioam_export_enable_disable_t *mp)
 
static clib_error_tset_vxlan_gpe_ioam_export_ipfix_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tvxlan_gpe_ioam_export_init (vlib_main_t *vm)
 

Variables

ioam_export_main_t vxlan_gpe_ioam_export_main
 
vlib_node_registration_t vxlan_export_node
 (constructor) VLIB_REGISTER_NODE (vxlan_export_node) More...
 
static vlib_cli_command_t set_vxlan_gpe_ioam_ipfix_command
 (constructor) VLIB_CLI_COMMAND (set_vxlan_gpe_ioam_ipfix_command) More...
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   sm->msg_id_base

Definition at line 35 of file vxlan_gpe_ioam_export.c.

Function Documentation

◆ set_vxlan_gpe_ioam_export_ipfix_command_fn()

static clib_error_t* set_vxlan_gpe_ioam_export_ipfix_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 113 of file vxlan_gpe_ioam_export.c.

+ Here is the call graph for this function:

◆ vl_api_vxlan_gpe_ioam_export_enable_disable_t_handler()

static void vl_api_vxlan_gpe_ioam_export_enable_disable_t_handler ( vl_api_vxlan_gpe_ioam_export_enable_disable_t mp)
static

Definition at line 97 of file vxlan_gpe_ioam_export.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vxlan_gpe_ioam_export_enable_disable()

int vxlan_gpe_ioam_export_enable_disable ( ioam_export_main_t em,
u8  is_disable,
ip4_address_t collector_address,
ip4_address_t src_address 
)

Definition at line 44 of file vxlan_gpe_ioam_export.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vxlan_gpe_ioam_export_init()

static clib_error_t* vxlan_gpe_ioam_export_init ( vlib_main_t vm)
static

Definition at line 172 of file vxlan_gpe_ioam_export.c.

+ Here is the call graph for this function:

◆ vxlan_gpe_set_next_override()

void vxlan_gpe_set_next_override ( uword  next)

Definition at line 561 of file vxlan_gpe_ioam.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ set_vxlan_gpe_ioam_ipfix_command

vlib_cli_command_t set_vxlan_gpe_ioam_ipfix_command
static
Initial value:
=
{
.path = "set vxlan-gpe-ioam export ipfix",
.short_help = "set vxlan-gpe-ioam export ipfix collector <ip4-address> src <ip4-address>",
}
static clib_error_t * set_vxlan_gpe_ioam_export_ipfix_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)

(constructor) VLIB_CLI_COMMAND (set_vxlan_gpe_ioam_ipfix_command)

Definition at line 162 of file vxlan_gpe_ioam_export.c.

◆ vxlan_export_node

vlib_node_registration_t vxlan_export_node
Initial value:
=
{
.name = "vxlan-gpe-ioam-export",
.vector_size = sizeof (u32),
.format_trace = format_export_trace,
.error_strings = export_error_strings,
.n_next_nodes = EXPORT_N_NEXT,
.next_nodes =
{[EXPORT_NEXT_VXLAN_GPE_INPUT] = "vxlan-gpe-pop-ioam-v4"},
}
static uword vxlan_gpe_export_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
unsigned int u32
Definition: types.h:88
vl_api_fib_path_type_t type
Definition: fib_types.api:123
static char * export_error_strings[]
Definition: node.c:58
#define ARRAY_LEN(x)
Definition: clib.h:67
static u8 * format_export_trace(u8 *s, va_list *args)
Definition: node.c:33

(constructor) VLIB_REGISTER_NODE (vxlan_export_node)

Definition at line 149 of file vxlan_gpe_node.c.

◆ vxlan_gpe_ioam_export_main

ioam_export_main_t vxlan_gpe_ioam_export_main

Definition at line 38 of file vxlan_gpe_ioam_export.c.