Go to the source code of this file.
|
int | ip_neighbor_add (const ip46_address_t *ip, ip46_type_t type, const mac_address_t *mac, u32 sw_if_index, ip_neighbor_flags_t flags, u32 *stats_index) |
|
int | ip_neighbor_del (const ip46_address_t *ip, ip46_type_t type, u32 sw_if_index) |
|
void | ip_neighbor_scan_enable_disable (ip_neighbor_scan_arg_t *arg) |
|
static_always_inline u32 | ip_neighbor_scan (vlib_main_t *vm, f64 start_time, u32 start_idx, u8 is_ip6, u8 delete_stale, u8 *update_count) |
|
static uword | neighbor_scan_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|
static clib_error_t * | ip_neighbor_scan_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static u8 * | format_ip_scan_mode (u8 *s, va_list *args) |
|
static clib_error_t * | show_ip_neighbor_scan (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
◆ IP_NEIGHBOR_DEF_MAX_PROC_TIME
#define IP_NEIGHBOR_DEF_MAX_PROC_TIME (20e-6) |
◆ IP_NEIGHBOR_DEF_MAX_UPDATE
#define IP_NEIGHBOR_DEF_MAX_UPDATE 10 |
◆ IP_NEIGHBOR_DEF_SCAN_INT_DELAY
#define IP_NEIGHBOR_DEF_SCAN_INT_DELAY (1e-3) |
◆ IP_NEIGHBOR_DEF_SCAN_INTERVAL
#define IP_NEIGHBOR_DEF_SCAN_INTERVAL (60.0) |
◆ IP_NEIGHBOR_DEF_STALE
◆ format_ip_scan_mode()
static u8* format_ip_scan_mode |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ ip_neighbor_add()
◆ ip_neighbor_del()
int ip_neighbor_del |
( |
const ip46_address_t * |
ip, |
|
|
ip46_type_t |
type, |
|
|
u32 |
sw_if_index |
|
) |
| |
◆ ip_neighbor_scan()
◆ ip_neighbor_scan_cli()
◆ ip_neighbor_scan_enable_disable()
◆ neighbor_scan_process()
◆ show_ip_neighbor_scan()
◆ ip_neighbor_scan_conf
◆ ip_scan_neighbor_command
Initial value:= {
.path = "ip scan-neighbor",
.short_help = "ip scan-neighbor [ip4|ip6|both|disable] [interval <n-min>] [max-time <n-usec>] [max-update <n>] [delay <n-msec>] [stale <n-min>]",
.is_mp_safe = 1,
}
static clib_error_t * ip_neighbor_scan_cli(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (ip_scan_neighbor_command)
Definition at line 404 of file ip_neighbor.c.
◆ neighbor_scan_process_node
Initial value:= {
.name = "ip-neighbor-scan-process",
}
static uword neighbor_scan_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
(constructor) VLIB_REGISTER_NODE (neighbor_scan_process_node)
Definition at line 294 of file ip_neighbor.c.
◆ show_ip_scan_neighbor_command
Initial value:= {
.path = "show ip scan-neighbor",
.short_help = "show ip scan-neighbor",
.is_mp_safe = 1,
}
static clib_error_t * show_ip_neighbor_scan(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_ip_scan_neighbor_command)
Definition at line 461 of file ip_neighbor.c.