FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
nsh_md2_ioam_export.c File Reference
+ Include dependency graph for nsh_md2_ioam_export.c:

Go to the source code of this file.

Macros

#define IPFIX_NSH_MD2_IOAM_EXPORT_ID   274
 

Functions

void nsh_md2_set_next_ioam_export_override (uword next)
 
int nsh_md2_ioam_export_enable_disable (ioam_export_main_t *em, u8 is_disable, ip4_address_t *collector_address, ip4_address_t *src_address)
 
static clib_error_tset_nsh_md2_ioam_export_ipfix_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tnsh_md2_ioam_export_init (vlib_main_t *vm)
 

Variables

ioam_export_main_t nsh_md2_ioam_export_main
 
vlib_node_registration_t nsh_md2_ioam_export_node
 (constructor) VLIB_REGISTER_NODE (nsh_md2_ioam_export_node) More...
 
static vlib_cli_command_t set_nsh_md2_ioam_ipfix_command
 (constructor) VLIB_CLI_COMMAND (set_nsh_md2_ioam_ipfix_command) More...
 

Macro Definition Documentation

◆ IPFIX_NSH_MD2_IOAM_EXPORT_ID

#define IPFIX_NSH_MD2_IOAM_EXPORT_ID   274

Definition at line 149 of file nsh_md2_ioam_export.c.

Function Documentation

◆ nsh_md2_ioam_export_enable_disable()

int nsh_md2_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 39 of file nsh_md2_ioam_export.c.

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

◆ nsh_md2_ioam_export_init()

static clib_error_t* nsh_md2_ioam_export_init ( vlib_main_t vm)
static

Definition at line 151 of file nsh_md2_ioam_export.c.

+ Here is the call graph for this function:

◆ nsh_md2_set_next_ioam_export_override()

void nsh_md2_set_next_ioam_export_override ( uword  next)

Definition at line 2442 of file nsh.c.

+ Here is the caller graph for this function:

◆ set_nsh_md2_ioam_export_ipfix_command_fn()

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

Definition at line 91 of file nsh_md2_ioam_export.c.

+ Here is the call graph for this function:

Variable Documentation

◆ nsh_md2_ioam_export_main

ioam_export_main_t nsh_md2_ioam_export_main

Definition at line 32 of file nsh_md2_ioam_export.c.

◆ nsh_md2_ioam_export_node

vlib_node_registration_t nsh_md2_ioam_export_node
Initial value:
=
{
.name = "nsh-md2-ioam-export",
.vector_size = sizeof (u32),
.format_trace = format_export_trace,
.error_strings = export_error_strings,
.n_next_nodes = EXPORT_N_NEXT,
.next_nodes =
}
static uword nsh_md2_ioam_export_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static u8 * format_export_trace(u8 *s, va_list *args)
Definition: node.c:32
unsigned int u32
Definition: types.h:88
#define ARRAY_LEN(x)
Definition: clib.h:62
static char * export_error_strings[]
Definition: node.c:57

(constructor) VLIB_REGISTER_NODE (nsh_md2_ioam_export_node)

Definition at line 133 of file nsh_md2_ioam_node.c.

◆ set_nsh_md2_ioam_ipfix_command

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

(constructor) VLIB_CLI_COMMAND (set_nsh_md2_ioam_ipfix_command)

Definition at line 140 of file nsh_md2_ioam_export.c.