FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Set IP Address. More...
Go to the source code of this file.
Functions | |
int | ip4_address_compare (ip4_address_t *a1, ip4_address_t *a2) |
int | ip6_address_compare (ip6_address_t *a1, ip6_address_t *a2) |
void | ip_del_all_interface_addresses (vlib_main_t *vm, u32 sw_if_index) |
static clib_error_t * | ip_address_delete_cleanup (vnet_main_t *vnm, u32 hw_if_index, u32 is_create) |
VNET_HW_INTERFACE_ADD_DEL_FUNCTION (ip_address_delete_cleanup) | |
static clib_error_t * | add_del_ip_address (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
static clib_error_t * | set_reassembly_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
static clib_error_t * | ip4_cli_init (vlib_main_t *vm) |
Variables | |
static vlib_cli_command_t | set_interface_ip_command |
(constructor) VLIB_CLI_COMMAND (set_interface_ip_command) More... | |
static vlib_cli_command_t | set_interface_ip_address_command |
(constructor) VLIB_CLI_COMMAND (set_interface_ip_address_command) More... | |
static vlib_cli_command_t | set_reassembly_command |
(constructor) VLIB_CLI_COMMAND (set_reassembly_command) More... | |
Set IP Address.
Configure an IPv4 or IPv6 address for on an interface.
Definition in file ip46_cli.c.
|
static |
int ip4_address_compare | ( | ip4_address_t * | a1, |
ip4_address_t * | a2 | ||
) |
|
static |
int ip6_address_compare | ( | ip6_address_t * | a1, |
ip6_address_t * | a2 | ||
) |
|
static |
void ip_del_all_interface_addresses | ( | vlib_main_t * | vm, |
u32 | sw_if_index | ||
) |
Definition at line 82 of file ip46_cli.c.
|
static |
VNET_HW_INTERFACE_ADD_DEL_FUNCTION | ( | ip_address_delete_cleanup | ) |
|
static |
(constructor) VLIB_CLI_COMMAND (set_interface_ip_address_command)
Definition at line 216 of file ip46_cli.c.
|
static |
(constructor) VLIB_CLI_COMMAND (set_interface_ip_command)
Definition at line 75 of file ip46_cli.c.
|
static |
(constructor) VLIB_CLI_COMMAND (set_reassembly_command)
Definition at line 298 of file ip46_cli.c.