![]() |
FD.io VPP
v16.06
Vector Packet Processing
|
Include dependency graph for lookup.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | ip_adjacency_t |
| struct | ip_multipath_next_hop_t |
| struct | ip_multipath_adjacency_t |
| struct | ip_multicast_rewrite_t |
| struct | ip_multicast_rewrite_string_t |
| struct | ip_multicast_lookup_main_t |
| struct | ip_interface_address_t |
| struct | ip_config_main_t |
| struct | ip_lookup_main_t |
Macros | |
| #define | IP4_LOOKUP_NEXT_NODES |
| #define | IP6_LOOKUP_NEXT_NODES |
| #define | IP_FLOW_HASH_SRC_ADDR (1<<0) |
| #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) |
| #define | foreach_flow_hash_bit |
| #define | IP_LOOKUP_MISS_ADJ_INDEX 0 |
| #define | ip_prefetch_adjacency(lm, adj_index, type) |
| #define | foreach_ip_interface_address(lm, a, sw_if_index, loop, body) |
Typedefs | |
| typedef u32 | ip_adjacency_index_t |
| typedef void(* | ip_add_del_adjacency_callback_t) (struct ip_lookup_main_t *lm, u32 adj_index, ip_adjacency_t *adj, u32 is_del) |
| typedef struct ip_lookup_main_t | ip_lookup_main_t |
| #define foreach_flow_hash_bit |
| #define foreach_ip_interface_address | ( | lm, | |
| a, | |||
| sw_if_index, | |||
| loop, | |||
| body | |||
| ) |
| #define IP4_LOOKUP_NEXT_NODES |
| #define IP6_LOOKUP_NEXT_NODES |
| #define ip_prefetch_adjacency | ( | lm, | |
| adj_index, | |||
| type | |||
| ) |
| typedef void(* ip_add_del_adjacency_callback_t) (struct ip_lookup_main_t *lm, u32 adj_index, ip_adjacency_t *adj, u32 is_del) |
| typedef u32 ip_adjacency_index_t |
| typedef struct ip_lookup_main_t ip_lookup_main_t |
| enum ip_local_next_t |
| enum ip_lookup_next_t |
| ip_adjacency_t* ip_add_adjacency | ( | ip_lookup_main_t * | lm, |
| ip_adjacency_t * | adj, | ||
| u32 | n_adj, | ||
| u32 * | adj_index_result | ||
| ) |
|
inlinestatic |
| always_inline void ip_call_add_del_adjacency_callbacks | ( | ip_lookup_main_t * | lm, |
| u32 | adj_index, | ||
| u32 | is_del | ||
| ) |
| void ip_del_adjacency | ( | ip_lookup_main_t * | lm, |
| u32 | adj_index | ||
| ) |
| always_inline ip_adjacency_t* ip_get_adjacency | ( | ip_lookup_main_t * | lm, |
| u32 | adj_index | ||
| ) |
| always_inline ip_interface_address_t* ip_get_interface_address | ( | ip_lookup_main_t * | lm, |
| void * | addr_fib | ||
| ) |
| 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 | ||
| ) |
| always_inline ip_interface_address_t* ip_interface_address_for_packet | ( | ip_lookup_main_t * | lm, |
| vlib_buffer_t * | b, | ||
| u32 | sw_if_index | ||
| ) |
| always_inline void* ip_interface_address_get_address | ( | ip_lookup_main_t * | lm, |
| ip_interface_address_t * | a | ||
| ) |
| void ip_lookup_init | ( | ip_lookup_main_t * | lm, |
| u32 | ip_lookup_node_index | ||
| ) |
| void ip_multipath_adjacency_free | ( | ip_lookup_main_t * | lm, |
| ip_multipath_adjacency_t * | a | ||
| ) |
|
inlinestatic |
| void ip_update_adjacency | ( | ip_lookup_main_t * | lm, |
| u32 | adj_index, | ||
| ip_adjacency_t * | copy_adj | ||
| ) |
|
inlinestatic |
|
inlinestatic |