FD.io VPP  v17.01.1-3-gc6833f8
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 vl_typedefs
 
#define vl_endianfun
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 
#define vl_api_version(n, v)   static u32 api_version=(v);
 
#define REPLY_MACRO(t)
 
#define foreach_vxlan_gpe_ioam_export_plugin_api_msg   _(VXLAN_GPE_IOAM_EXPORT_ENABLE_DISABLE, vxlan_gpe_ioam_export_enable_disable)
 

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_tvxlan_gpe_ioam_export_plugin_api_hookup (vlib_main_t *vm)
 
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

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

#define foreach_vxlan_gpe_ioam_export_plugin_api_msg   _(VXLAN_GPE_IOAM_EXPORT_ENABLE_DISABLE, vxlan_gpe_ioam_export_enable_disable)

Definition at line 83 of file vxlan_gpe_ioam_export.c.

#define REPLY_MACRO (   t)
Value:
do { \
if (!q) \
return; \
\
rmp = vl_msg_api_alloc (sizeof (*rmp)); \
rmp->_vl_msg_id = ntohs((t)+sm->msg_id_base); \
rmp->context = mp->context; \
rmp->retval = ntohl(rv); \
vl_msg_api_send_shmem (q, (u8 *)&rmp); \
} while(0);
void vl_msg_api_send_shmem(unix_shared_memory_queue_t *q, u8 *elem)
unix_shared_memory_queue_t * vl_api_client_index_to_input_queue(u32 index)
void * vl_msg_api_alloc(int nbytes)
unsigned char u8
Definition: types.h:56
struct _unix_shared_memory_queue unix_shared_memory_queue_t

Definition at line 64 of file vxlan_gpe_ioam_export.c.

#define vl_api_version (   n,
  v 
)    static u32 api_version=(v);

Definition at line 52 of file vxlan_gpe_ioam_export.c.

#define vl_endianfun

Definition at line 41 of file vxlan_gpe_ioam_export.c.

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 46 of file vxlan_gpe_ioam_export.c.

#define vl_printfun

Definition at line 47 of file vxlan_gpe_ioam_export.c.

#define vl_typedefs

Definition at line 36 of file vxlan_gpe_ioam_export.c.

Function Documentation

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 180 of file vxlan_gpe_ioam_export.c.

+ Here is the call graph for this function:

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 142 of file vxlan_gpe_ioam_export.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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 89 of file vxlan_gpe_ioam_export.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* vxlan_gpe_ioam_export_init ( vlib_main_t vm)
static

Definition at line 239 of file vxlan_gpe_ioam_export.c.

+ Here is the call graph for this function:

static clib_error_t* vxlan_gpe_ioam_export_plugin_api_hookup ( vlib_main_t vm)
static

Definition at line 161 of file vxlan_gpe_ioam_export.c.

+ Here is the caller graph for this function:

void vxlan_gpe_set_next_override ( uword  next)

Definition at line 564 of file vxlan_gpe_ioam.c.

+ Here is the caller graph for this function:

Variable Documentation

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 229 of file vxlan_gpe_ioam_export.c.