Go to the source code of this file.
|
struct | ip_neighbor_watch_db_t_ |
| Database of registered watchers The key for a watcher is {type, sw_if_index, addreess} interface=~0 / address=all-zeros imples any. More...
|
|
|
static uword | ip_neighbor_event_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|
static clib_error_t * | want_ip_neighbor_events_reaper (u32 client_index) |
|
| VL_MSG_API_REAPER_FUNCTION (want_ip_neighbor_events_reaper) |
|
static int | ip_neighbor_watch_cmp (const ip_neighbor_watcher_t *w1, const ip_neighbor_watcher_t *w2) |
|
void | ip_neighbor_watch (const ip46_address_t *ip, ip46_type_t type, u32 sw_if_index, const ip_neighbor_watcher_t *watch) |
|
void | ip_neighbor_unwatch (const ip46_address_t *ip, ip46_type_t type, u32 sw_if_index, const ip_neighbor_watcher_t *watch) |
|
static void | ip_neighbor_signal (ip_neighbor_watcher_t *watchers, index_t ipni) |
|
void | ip_neighbor_publish (index_t ipni) |
|
static clib_error_t * | ip_neighbor_watchers_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | ip_neighbor_watch_init (vlib_main_t *vm) |
|
◆ ip_neighbor_watch_db_t
Database of registered watchers The key for a watcher is {type, sw_if_index, addreess} interface=~0 / address=all-zeros imples any.
◆ ip_neighbor_event_process()
◆ ip_neighbor_publish()
void ip_neighbor_publish |
( |
index_t |
ipni | ) |
|
◆ ip_neighbor_signal()
◆ ip_neighbor_unwatch()
◆ ip_neighbor_watch()
◆ ip_neighbor_watch_cmp()
◆ ip_neighbor_watch_init()
◆ ip_neighbor_watchers_show()
◆ VL_MSG_API_REAPER_FUNCTION()
◆ want_ip_neighbor_events_reaper()
◆ ip_neighbor_event_process_node
Initial value:= {
.name = "ip-neighbor-event",
}
static uword ip_neighbor_event_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
(constructor) VLIB_REGISTER_NODE (ip_neighbor_event_process_node)
Definition at line 69 of file ip_neighbor_watch.c.
◆ ipnw_db
◆ show_ip_neighbor_watchers_cmd_node
Initial value:= {
.path = "show ip neighbor-watcher",
.short_help = "show ip neighbors-watcher",
}
static clib_error_t * ip_neighbor_watchers_show(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_ip_neighbor_watchers_cmd_node)
Definition at line 254 of file ip_neighbor_watch.c.