Go to the source code of this file.
|
static bool | ip6_link_delegate_is_init (const ip6_link_delegate_t *ild) |
|
static bool | ip6_link_is_enabled_i (const ip6_link_t *il) |
|
static void | ip6_link_local_address_from_mac (ip6_address_t *ip, const u8 *mac) |
|
static void | ip6_mac_address_from_link_local (u8 *mac, const ip6_address_t *ip) |
|
static ip6_link_t * | ip6_link_get (u32 sw_if_index) |
|
bool | ip6_link_is_enabled (u32 sw_if_index) |
|
int | ip6_link_enable (u32 sw_if_index, const ip6_address_t *link_local_addr) |
| IPv6 Configuration on an interface. More...
|
|
static void | ip6_link_delegate_flush (ip6_link_t *il) |
|
static void | ip6_link_last_lock_gone (ip6_link_t *il) |
|
static void | ip6_link_unlock (ip6_link_t *il) |
|
int | ip6_link_disable (u32 sw_if_index) |
|
const ip6_address_t * | ip6_get_link_local_address (u32 sw_if_index) |
|
adj_index_t | ip6_link_get_mcast_adj (u32 sw_if_index) |
|
int | ip6_link_set_local_address (u32 sw_if_index, const ip6_address_t *address) |
|
ip6_link_delegate_id_t | ip6_link_delegate_register (const ip6_link_delegate_vft_t *vft) |
|
index_t | ip6_link_delegate_get (u32 sw_if_index, ip6_link_delegate_id_t id) |
|
bool | ip6_link_delegate_update (u32 sw_if_index, ip6_link_delegate_id_t id, index_t ii) |
|
void | ip6_link_delegate_remove (u32 sw_if_index, ip6_link_delegate_id_t id, index_t ii) |
|
static void | ip6_link_add_del_address (ip6_main_t *im, uword opaque, u32 sw_if_index, ip6_address_t *address, u32 address_length, u32 if_address_index, u32 is_delete) |
|
static clib_error_t * | ip6_link_interface_add_del (vnet_main_t *vnm, u32 sw_if_index, u32 is_add) |
|
| VNET_SW_INTERFACE_ADD_DEL_FUNCTION (ip6_link_interface_add_del) |
|
static clib_error_t * | ip6_link_init (vlib_main_t *vm) |
|
static clib_error_t * | test_ip6_link_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static u8 * | ip6_print_addrs (u8 *s, u32 *addrs) |
|
static u8 * | format_ip6_link (u8 *s, va_list *arg) |
|
static clib_error_t * | ip6_link_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | enable_ip6_interface_cmd (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | disable_ip6_interface_cmd (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
◆ FOREACH_IP6_LINK_DELEGATE
#define FOREACH_IP6_LINK_DELEGATE |
( |
|
_ild, |
|
|
|
_il, |
|
|
|
body |
|
) |
| |
Value:{ \
if (NULL != _il) { \
vec_foreach (_ild, _il->il_delegates) { \
body; \
} \
} \
}
Definition at line 52 of file ip6_link.c.
◆ FOREACH_IP6_LINK_DELEGATE_ID
#define FOREACH_IP6_LINK_DELEGATE_ID |
( |
|
_id | ) |
for (_id = 0; _id < il_delegate_id; _id++) |
◆ IP6_LINK_DBG
◆ IP6_LINK_INFO
◆ ip6_link_delegate_t
◆ ip6_link_t
◆ disable_ip6_interface_cmd()
◆ enable_ip6_interface_cmd()
◆ format_ip6_link()
static u8* format_ip6_link |
( |
u8 * |
s, |
|
|
va_list * |
arg |
|
) |
| |
|
static |
◆ ip6_get_link_local_address()
const ip6_address_t* ip6_get_link_local_address |
( |
u32 |
sw_if_index | ) |
|
◆ ip6_link_add_del_address()
static void ip6_link_add_del_address |
( |
ip6_main_t * |
im, |
|
|
uword |
opaque, |
|
|
u32 |
sw_if_index, |
|
|
ip6_address_t * |
address, |
|
|
u32 |
address_length, |
|
|
u32 |
if_address_index, |
|
|
u32 |
is_delete |
|
) |
| |
|
static |
◆ ip6_link_delegate_flush()
static void ip6_link_delegate_flush |
( |
ip6_link_t * |
il | ) |
|
|
static |
◆ ip6_link_delegate_get()
◆ ip6_link_delegate_is_init()
◆ ip6_link_delegate_register()
◆ ip6_link_delegate_remove()
◆ ip6_link_delegate_update()
◆ ip6_link_disable()
int ip6_link_disable |
( |
u32 |
sw_if_index | ) |
|
◆ ip6_link_enable()
int ip6_link_enable |
( |
u32 |
sw_if_index, |
|
|
const ip6_address_t * |
link_local_addr |
|
) |
| |
IPv6 Configuration on an interface.
Definition at line 149 of file ip6_link.c.
◆ ip6_link_get()
◆ ip6_link_get_mcast_adj()
◆ ip6_link_init()
◆ ip6_link_interface_add_del()
◆ ip6_link_is_enabled()
bool ip6_link_is_enabled |
( |
u32 |
sw_if_index | ) |
|
◆ ip6_link_is_enabled_i()
◆ ip6_link_last_lock_gone()
static void ip6_link_last_lock_gone |
( |
ip6_link_t * |
il | ) |
|
|
static |
◆ ip6_link_local_address_from_mac()
static void ip6_link_local_address_from_mac |
( |
ip6_address_t * |
ip, |
|
|
const u8 * |
mac |
|
) |
| |
|
static |
◆ ip6_link_set_local_address()
int ip6_link_set_local_address |
( |
u32 |
sw_if_index, |
|
|
const ip6_address_t * |
address |
|
) |
| |
◆ ip6_link_show()
◆ ip6_link_unlock()
◆ ip6_mac_address_from_link_local()
static void ip6_mac_address_from_link_local |
( |
u8 * |
mac, |
|
|
const ip6_address_t * |
ip |
|
) |
| |
|
static |
◆ ip6_print_addrs()
static u8* ip6_print_addrs |
( |
u8 * |
s, |
|
|
u32 * |
addrs |
|
) |
| |
|
static |
◆ test_ip6_link_command_fn()
◆ VNET_SW_INTERFACE_ADD_DEL_FUNCTION()
◆ disable_ip6_interface_command
Initial value:=
{
.path = "disable ip6 interface",
.short_help = "disable ip6 interface <interface>",
}
(constructor) VLIB_CLI_COMMAND (disable_ip6_interface_command)
Definition at line 831 of file ip6_link.c.
◆ enable_ip6_interface_command
Initial value:=
{
.path = "enable ip6 interface",
.short_help = "enable ip6 interface <interface>",
}
(constructor) VLIB_CLI_COMMAND (enable_ip6_interface_command)
Definition at line 791 of file ip6_link.c.
◆ il_delegate_id
last used delegate ID
Definition at line 66 of file ip6_link.c.
◆ il_delegate_vfts
VFT registered per-delegate type.
Definition at line 69 of file ip6_link.c.
◆ il_randomizer
◆ ip6_link_delegate_uninit
Initial value:= {
.ild_sw_if_index = ~0,
}
Definition at line 30 of file ip6_link.c.
◆ ip6_link_logger
◆ ip6_link_show_command
Initial value:=
{
.path = "show ip6 interface",
.short_help = "show ip6 interface <interface>",
}
(constructor) VLIB_CLI_COMMAND (ip6_link_show_command)
Definition at line 751 of file ip6_link.c.
◆ ip6_links
Per interface configs.
Definition at line 72 of file ip6_link.c.
◆ test_link_command
Initial value:=
{
.path = "test ip6 link",
.short_help = "test ip6 link <mac-address>",
}
(constructor) VLIB_CLI_COMMAND (test_link_command)
Definition at line 567 of file ip6_link.c.