|
static void | adj_nbr_insert (fib_protocol_t nh_proto, vnet_link_t link_type, const ip46_address_t *nh_addr, u32 sw_if_index, adj_index_t adj_index) |
|
void | adj_nbr_remove (adj_index_t ai, fib_protocol_t nh_proto, vnet_link_t link_type, const ip46_address_t *nh_addr, u32 sw_if_index) |
|
adj_index_t | adj_nbr_find (fib_protocol_t nh_proto, vnet_link_t link_type, const ip46_address_t *nh_addr, u32 sw_if_index) |
| Lookup neighbor adjancency. More...
|
|
static u32 | adj_get_nd_node (fib_protocol_t proto) |
|
static void | adj_nbr_evaluate_feature (adj_index_t ai) |
| Check and set feature flags if o/p interface has any o/p features. More...
|
|
static ip_adjacency_t * | adj_nbr_alloc (fib_protocol_t nh_proto, vnet_link_t link_type, const ip46_address_t *nh_addr, u32 sw_if_index) |
|
adj_index_t | adj_nbr_add_or_lock (fib_protocol_t nh_proto, vnet_link_t link_type, const ip46_address_t *nh_addr, u32 sw_if_index) |
| Neighbour Adjacency sub-type. More...
|
|
adj_index_t | adj_nbr_add_or_lock_w_rewrite (fib_protocol_t nh_proto, vnet_link_t link_type, const ip46_address_t *nh_addr, u32 sw_if_index, u8 *rewrite) |
| Add (and lock) a new or lock an existing neighbour adjacency. More...
|
|
void | adj_nbr_update_rewrite (adj_index_t adj_index, adj_nbr_rewrite_flag_t flags, u8 *rewrite) |
| adj_nbr_update_rewrite More...
|
|
void | adj_nbr_update_rewrite_internal (ip_adjacency_t *adj, ip_lookup_next_t adj_next_index, u32 this_node, u32 next_node, u8 *rewrite) |
| adj_nbr_update_rewrite_internal More...
|
|
u32 | adj_nbr_db_size (void) |
| Return the size of the adjacency database. More...
|
|
void | adj_nbr_walk (u32 sw_if_index, fib_protocol_t adj_nh_proto, adj_walk_cb_t cb, void *ctx) |
| Walk all adjacencies on a link for a given next-hop protocol. More...
|
|
void | adj_nbr_walk_nh4 (u32 sw_if_index, const ip4_address_t *addr, adj_walk_cb_t cb, void *ctx) |
| Walk adjacencies on a link with a given v4 next-hop. More...
|
|
void | adj_nbr_walk_nh6 (u32 sw_if_index, const ip6_address_t *addr, adj_walk_cb_t cb, void *ctx) |
| Walk adjacencies on a link with a given v6 next-hop. More...
|
|
void | adj_nbr_walk_nh (u32 sw_if_index, fib_protocol_t adj_nh_proto, const ip46_address_t *nh, adj_walk_cb_t cb, void *ctx) |
| Walk adjacencies on a link with a given next-hop. More...
|
|
static adj_walk_rc_t | adj_nbr_interface_state_change_one (adj_index_t ai, void *arg) |
|
static clib_error_t * | adj_nbr_sw_interface_state_change (vnet_main_t *vnm, u32 sw_if_index, u32 flags) |
| Registered function for SW interface state changes. More...
|
|
| VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION_PRIO (adj_nbr_sw_interface_state_change, VNET_ITF_FUNC_PRIORITY_HIGH) |
|
static walk_rc_t | adj_nbr_hw_sw_interface_state_change (vnet_main_t *vnm, u32 sw_if_index, void *arg) |
| Invoked on each SW interface of a HW interface when the HW interface state changes. More...
|
|
static clib_error_t * | adj_nbr_hw_interface_state_change (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
| Registered callback for HW interface state changes. More...
|
|
| VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION_PRIO (adj_nbr_hw_interface_state_change, VNET_ITF_FUNC_PRIORITY_HIGH) |
|
static adj_walk_rc_t | adj_nbr_interface_delete_one (adj_index_t ai, void *arg) |
|
static clib_error_t * | adj_nbr_interface_add_del (vnet_main_t *vnm, u32 sw_if_index, u32 is_add) |
| adj_nbr_interface_add_del More...
|
|
| VNET_SW_INTERFACE_ADD_DEL_FUNCTION (adj_nbr_interface_add_del) |
|
static adj_walk_rc_t | adj_nbr_show_one (adj_index_t ai, void *arg) |
|
static clib_error_t * | adj_nbr_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
u8 * | format_adj_nbr_incomplete (u8 *s, va_list *ap) |
| Format aa incomplete neigbour (ARP) adjacency. More...
|
|
u8 * | format_adj_nbr (u8 *s, va_list *ap) |
| Format a neigbour (REWRITE) adjacency. More...
|
|
static void | adj_dpo_lock (dpo_id_t *dpo) |
|
static void | adj_dpo_unlock (dpo_id_t *dpo) |
|
static void | adj_mem_show (void) |
|
void | adj_nbr_module_init (void) |
| Module initialisation. More...
|
|