|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
90 .path =
"create teib",
91 .short_help =
"create teib <interface> peer <addr> nh <addr> [nh-table-id <ID>]",
155 .path =
"delete teib",
156 .short_help =
"delete teib <interface> peer <addr>",
181 .short_help =
"show teib",
#define clib_error_return(e, args...)
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
static vlib_cli_command_t teib_show_command
(constructor) VLIB_CLI_COMMAND (teib_show_command)
int teib_entry_add(u32 sw_if_index, const ip_address_t *peer, u32 nh_table_id, const ip_address_t *nh)
Create a new TEIB entry.
static clib_error_t * teib_add(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
uword unformat_ip_address(unformat_input_t *input, va_list *args)
#define clib_error_return_code(e, code, flags, args...)
static vlib_cli_command_t teib_create_command
(constructor) VLIB_CLI_COMMAND (teib_create_command)
static walk_rc_t teib_show_one(index_t nei, void *ctx)
vnet_main_t * vnet_get_main(void)
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
#define ip_address_initializer
u8 * format_teib_entry(u8 *s, va_list *args)
#define VLIB_CLI_COMMAND(x,...)
void vlib_cli_output(vlib_main_t *vm, char *fmt,...)
bool ip_address_is_zero(const ip_address_t *ip)
static clib_error_t * teib_del(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
unformat_function_t unformat_vnet_sw_interface
int teib_entry_del(u32 sw_if_index, const ip_address_t *peer)
void teib_walk(teib_walk_cb_t fn, void *ctx)
vl_api_interface_index_t sw_if_index
static clib_error_t * teib_show(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
static vlib_cli_command_t teib_delete_command
(constructor) VLIB_CLI_COMMAND (teib_delete_command)
enum walk_rc_t_ walk_rc_t
Walk return code.