FD.io VPP  v18.07.1-13-g909ba93
Vector Packet Processing
cli.c File Reference

CLI for Host Interface Device Driver. More...

+ Include dependency graph for cli.c:

Go to the source code of this file.

Functions

static clib_error_taf_packet_create_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_taf_packet_delete_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_taf_packet_set_l4_cksum_offload_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
clib_error_taf_packet_cli_init (vlib_main_t *vm)
 

Variables

static vlib_cli_command_t af_packet_create_command
 (constructor) VLIB_CLI_COMMAND (af_packet_create_command) More...
 
static vlib_cli_command_t af_packet_delete_command
 (constructor) VLIB_CLI_COMMAND (af_packet_delete_command) More...
 
static vlib_cli_command_t af_packet_set_l4_cksum_offload_command
 (constructor) VLIB_CLI_COMMAND (af_packet_set_l4_cksum_offload_command) More...
 

Detailed Description

CLI for Host Interface Device Driver.

This file contains the source code for CLI for the host interface.

Definition in file cli.c.

Function Documentation

clib_error_t* af_packet_cli_init ( vlib_main_t vm)

Definition at line 255 of file cli.c.

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

Definition at line 43 of file cli.c.

+ Here is the call graph for this function:

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

Definition at line 141 of file cli.c.

+ Here is the call graph for this function:

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

Definition at line 198 of file cli.c.

+ Here is the call graph for this function:

Variable Documentation

vlib_cli_command_t af_packet_create_command
static
Initial value:
= {
.path = "create host-interface",
.short_help = "create host-interface name <ifname> [hw-addr <mac-addr>]",
}
static clib_error_t * af_packet_create_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:43

(constructor) VLIB_CLI_COMMAND (af_packet_create_command)

Definition at line 133 of file cli.c.

vlib_cli_command_t af_packet_delete_command
static
Initial value:
= {
.path = "delete host-interface",
.short_help = "delete host-interface name <ifname>",
}
static clib_error_t * af_packet_delete_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:141

(constructor) VLIB_CLI_COMMAND (af_packet_delete_command)

Definition at line 190 of file cli.c.

vlib_cli_command_t af_packet_set_l4_cksum_offload_command
static
Initial value:
= {
.path = "set host-interface l4-cksum-offload",
.short_help = "set host-interface l4-cksum-offload <host-if-name> <on|off>",
}
static clib_error_t * af_packet_set_l4_cksum_offload_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:198

(constructor) VLIB_CLI_COMMAND (af_packet_set_l4_cksum_offload_command)

Definition at line 247 of file cli.c.