|
#define | IP4_LOOKUP_NEXT_NODES |
|
#define | IP6_LOOKUP_NEXT_NODES |
|
#define | IP_FLOW_HASH_SRC_ADDR (1<<0) |
| Flow hash configuration. More...
|
|
#define | IP_FLOW_HASH_DST_ADDR (1<<1) |
|
#define | IP_FLOW_HASH_PROTO (1<<2) |
|
#define | IP_FLOW_HASH_SRC_PORT (1<<3) |
|
#define | IP_FLOW_HASH_DST_PORT (1<<4) |
|
#define | IP_FLOW_HASH_REVERSE_SRC_DST (1<<5) |
|
#define | IP_FLOW_HASH_DEFAULT (0x1F) |
| Default: 5-tuple without the "reverse" bit. More...
|
|
#define | foreach_flow_hash_bit |
|
#define | IP_ADJACENCY_OPAQUE_SZ 16 |
|
#define | IP_LOOKUP_MISS_ADJ_INDEX 0 |
| Miss adjacency is always first in adjacency table. More...
|
|
#define | ip_prefetch_adjacency(lm, adj_index, type) |
|
#define | VNET_IP_REGISTER_ADJACENCY(ip, x, ...) |
|
#define | VNET_IP4_REGISTER_ADJACENCY(x, ...) VNET_IP_REGISTER_ADJACENCY(ip4, x, __VA_ARGS__) |
|
#define | VNET_IP6_REGISTER_ADJACENCY(x, ...) VNET_IP_REGISTER_ADJACENCY(ip6, x, __VA_ARGS__) |
|
#define | foreach_ip_interface_address(lm, a, sw_if_index, loop, body) |
|
|
static uword | vnet_ip_adjacency_signature (ip_adjacency_t *adj) |
|
static int | vnet_ip_adjacency_share_compare (ip_adjacency_t *a1, ip_adjacency_t *a2) |
|
static ip_adjacency_t * | ip_get_adjacency (ip_lookup_main_t *lm, u32 adj_index) |
|
int | ip_register_adjacency (vlib_main_t *vm, u8 is_ip4, ip_adj_register_t *reg) |
|
static void | ip_register_add_del_adjacency_callback (ip_lookup_main_t *lm, ip_add_del_adjacency_callback_t cb) |
|
static void | ip_call_add_del_adjacency_callbacks (ip_lookup_main_t *lm, u32 adj_index, u32 is_del) |
|
ip_adjacency_t * | ip_add_adjacency (ip_lookup_main_t *lm, ip_adjacency_t *adj, u32 n_adj, u32 *adj_index_result) |
|
void | ip_del_adjacency (ip_lookup_main_t *lm, u32 adj_index) |
|
void | ip_update_adjacency (ip_lookup_main_t *lm, u32 adj_index, ip_adjacency_t *copy_adj) |
|
static int | ip_adjacency_is_multipath (ip_lookup_main_t *lm, u32 adj_index) |
|
void | ip_multipath_adjacency_free (ip_lookup_main_t *lm, ip_multipath_adjacency_t *a) |
|
u32 | ip_multipath_adjacency_add_del_next_hop (ip_lookup_main_t *lm, u32 is_del, u32 old_mp_adj_index, u32 next_hop_adj_index, u32 next_hop_weight, u32 *new_mp_adj_index) |
|
clib_error_t * | ip_interface_address_add_del (ip_lookup_main_t *lm, u32 sw_if_index, void *address, u32 address_length, u32 is_del, u32 *result_index) |
|
static ip_interface_address_t * | ip_get_interface_address (ip_lookup_main_t *lm, void *addr_fib) |
|
static void * | ip_interface_address_get_address (ip_lookup_main_t *lm, ip_interface_address_t *a) |
|
static ip_interface_address_t * | ip_interface_address_for_packet (ip_lookup_main_t *lm, vlib_buffer_t *b, u32 sw_if_index) |
|
void | ip_lookup_init (ip_lookup_main_t *lm, u32 ip_lookup_node_index) |
|
u32 | vnet_register_special_adjacency_format_function (ip_lookup_main_t *lm, format_function_t *fp) |
|
Definitions for all things IP (v4|v6) unicast and multicast lookup related.
- Adjacency definitions and registration.
- Callbacks on route add.
- Callbacks on interface address change.
Definition in file lookup.h.