Go to the source code of this file.
|
static void | router_solicitation_start_stop (u32 sw_if_index, u8 start) |
|
static void | interrupt_process (void) |
|
static int | add_slaac_address (vlib_main_t *vm, u32 sw_if_index, u8 address_length, const ip6_address_t *address, f64 due_time) |
|
static void | add_default_route (vlib_main_t *vm, u32 sw_if_index, const ip6_address_t *next_hop_address, f64 due_time) |
|
static int | remove_slaac_address (vlib_main_t *vm, slaac_address_t *slaac_address) |
|
static void | remove_default_route (vlib_main_t *vm, default_route_t *default_route) |
|
static u32 | get_interface_mac_address (u32 sw_if_index, u8 mac[]) |
|
static u8 | ip6_prefixes_equal (ip6_address_t *prefix1, ip6_address_t *prefix2, u8 len) |
|
static void | ip6_ra_report_handler (const ip6_ra_report_t *r) |
|
static uword | rd_cp_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|
int | rd_cp_set_address_autoconfig (u32 sw_if_index, u8 enable, u8 install_default_routes) |
|
static clib_error_t * | ip6_nd_address_autoconfig (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | rd_cp_init (vlib_main_t *vm) |
|
◆ PREFIX_FLAG_A
#define PREFIX_FLAG_A (1 << 6) |
◆ PREFIX_FLAG_L
#define PREFIX_FLAG_L (1 << 7) |
◆ vl_api_ip6_nd_address_autoconfig_t_print
◆ anonymous enum
Enumerator |
---|
RD_CP_EVENT_INTERRUPT | |
Definition at line 70 of file rd_cp.c.
◆ add_default_route()
static void add_default_route |
( |
vlib_main_t * |
vm, |
|
|
u32 |
sw_if_index, |
|
|
const ip6_address_t * |
next_hop_address, |
|
|
f64 |
due_time |
|
) |
| |
|
static |
◆ add_slaac_address()
static int add_slaac_address |
( |
vlib_main_t * |
vm, |
|
|
u32 |
sw_if_index, |
|
|
u8 |
address_length, |
|
|
const ip6_address_t * |
address, |
|
|
f64 |
due_time |
|
) |
| |
|
static |
◆ get_interface_mac_address()
static u32 get_interface_mac_address |
( |
u32 |
sw_if_index, |
|
|
u8 |
mac[] |
|
) |
| |
|
static |
◆ interrupt_process()
static void interrupt_process |
( |
void |
| ) |
|
|
static |
◆ ip6_nd_address_autoconfig()
◆ ip6_prefixes_equal()
static u8 ip6_prefixes_equal |
( |
ip6_address_t * |
prefix1, |
|
|
ip6_address_t * |
prefix2, |
|
|
u8 |
len |
|
) |
| |
|
static |
◆ ip6_ra_report_handler()
◆ rd_cp_init()
◆ rd_cp_process()
◆ rd_cp_set_address_autoconfig()
int rd_cp_set_address_autoconfig |
( |
u32 |
sw_if_index, |
|
|
u8 |
enable, |
|
|
u8 |
install_default_routes |
|
) |
| |
◆ remove_default_route()
◆ remove_slaac_address()
◆ router_solicitation_start_stop()
static void router_solicitation_start_stop |
( |
u32 |
sw_if_index, |
|
|
u8 |
start |
|
) |
| |
|
static |
◆ ip6_nd_address_autoconfig_command
Initial value:= {
.path = "ip6 nd address autoconfig",
.short_help = "ip6 nd address autoconfig <interface> [default-route|disable]",
}
(constructor) VLIB_CLI_COMMAND (ip6_nd_address_autoconfig_command)
Definition at line 592 of file rd_cp.c.
◆ rd_cp_main
◆ rd_cp_process_node
Initial value:= {
.name = "rd-cp-process",
}
(constructor) VLIB_REGISTER_NODE (rd_cp_process_node)
Definition at line 457 of file rd_cp.c.