![]() |
FD.io VPP
v21.01.1
Vector Packet Processing
|
Include dependency graph for map.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | map_domain_t |
| struct | map_domain_extra_t |
| struct | map_main_pre_resolved_t_ |
| A pre-resolved next-hop. More... | |
| struct | map_main_t |
| struct | map_trace_t |
Macros | |
| #define | MAP_SKIP_IP6_LOOKUP 1 |
| #define | MAP_ERR_GOOD 0 |
| #define | MAP_ERR_BAD_POOL_SIZE -1 |
| #define | MAP_ERR_BAD_HT_RATIO -2 |
| #define | MAP_ERR_BAD_LIFETIME -3 |
| #define | MAP_ERR_BAD_BUFFERS -4 |
| #define | MAP_ERR_BAD_BUFFERS_TOO_LARGE -5 |
| #define | MAP_ERR_UNSUPPORTED -6 |
| #define | MAP_REASS_INDEX_NONE ((u16)0xffff) |
Typedefs | |
| typedef struct map_main_pre_resolved_t_ | map_main_pre_resolved_t |
| A pre-resolved next-hop. More... | |
| typedef vl_counter_map_enum_t | map_error_t |
Enumerations | |
| enum | map_domain_flags_e { MAP_DOMAIN_PREFIX = 1 << 0, MAP_DOMAIN_TRANSLATION = 1 << 1, MAP_DOMAIN_RFC6052 = 1 << 2 } |
| enum | map_domain_counter_t { MAP_DOMAIN_IPV4_FRAGMENT = 0, MAP_DOMAIN_COUNTER_RX = 0, MAP_DOMAIN_COUNTER_TX, MAP_N_DOMAIN_COUNTER } |
Variables | |
| map_main_pre_resolved_t | pre_resolved [FIB_PROTOCOL_MAX] |
| Pre-resolved next hops for v4 and v6. More... | |
| map_main_t | map_main |
| vlib_node_registration_t | ip4_map_node |
| (constructor) VLIB_REGISTER_NODE (ip4_map_node) More... | |
| vlib_node_registration_t | ip6_map_node |
| (constructor) VLIB_REGISTER_NODE (ip6_map_node) More... | |
| vlib_node_registration_t | ip4_map_t_node |
| (constructor) VLIB_REGISTER_NODE (ip4_map_t_node) More... | |
| vlib_node_registration_t | ip4_map_t_fragmented_node |
| (constructor) VLIB_REGISTER_NODE (ip4_map_t_fragmented_node) More... | |
| vlib_node_registration_t | ip4_map_t_tcp_udp_node |
| (constructor) VLIB_REGISTER_NODE (ip4_map_t_tcp_udp_node) More... | |
| vlib_node_registration_t | ip4_map_t_icmp_node |
| (constructor) VLIB_REGISTER_NODE (ip4_map_t_icmp_node) More... | |
| vlib_node_registration_t | ip6_map_t_node |
| (constructor) VLIB_REGISTER_NODE (ip6_map_t_node) More... | |
| vlib_node_registration_t | ip6_map_t_fragmented_node |
| (constructor) VLIB_REGISTER_NODE (ip6_map_t_fragmented_node) More... | |
| vlib_node_registration_t | ip6_map_t_tcp_udp_node |
| (constructor) VLIB_REGISTER_NODE (ip6_map_t_tcp_udp_node) More... | |
| vlib_node_registration_t | ip6_map_t_icmp_node |
| (constructor) VLIB_REGISTER_NODE (ip6_map_t_icmp_node) More... | |
| typedef vl_counter_map_enum_t map_error_t |
| typedef struct map_main_pre_resolved_t_ map_main_pre_resolved_t |
A pre-resolved next-hop.
| enum map_domain_counter_t |
| enum map_domain_flags_e |
| static_always_inline map_domain_t* ip4_map_get_domain | ( | ip4_address_t * | addr, |
| u32 * | map_domain_index, | ||
| u8 * | error | ||
| ) |
| static_always_inline bool ip4_map_ip6_lookup_bypass | ( | vlib_buffer_t * | p0, |
| ip4_header_t * | ip | ||
| ) |
| static_always_inline void ip4_map_t_embedded_address | ( | map_domain_t * | d, |
| ip6_address_t * | ip6, | ||
| const ip4_address_t * | ip4 | ||
| ) |
| static_always_inline map_domain_t* ip6_map_get_domain | ( | ip6_address_t * | addr, |
| u32 * | map_domain_index, | ||
| u8 * | error | ||
| ) |
| static_always_inline bool ip6_map_ip4_lookup_bypass | ( | vlib_buffer_t * | p0, |
| ip4_header_t * | ip | ||
| ) |
| static_always_inline u32 ip6_map_t_embedded_address | ( | map_domain_t * | d, |
| ip6_address_t * | addr | ||
| ) |
|
inlinestatic |
| int map_delete_domain | ( | u32 | map_domain_index | ) |
|
inlinestatic |
|
inlinestatic |
| u64 map_error_counter_get | ( | u32 | node_index, |
| map_error_t | map_error | ||
| ) |
| static_always_inline u32 map_get_ip4 | ( | ip6_address_t * | addr, |
| u16 | prefix_len | ||
| ) |
| static_always_inline u64 map_get_pfx | ( | map_domain_t * | d, |
| u32 | addr, | ||
| u16 | port | ||
| ) |
| static_always_inline u64 map_get_pfx_net | ( | map_domain_t * | d, |
| u32 | addr, | ||
| u16 | port | ||
| ) |
| static_always_inline u64 map_get_sfx | ( | map_domain_t * | d, |
| u32 | addr, | ||
| u16 | port | ||
| ) |
| static_always_inline u64 map_get_sfx_net | ( | map_domain_t * | d, |
| u32 | addr, | ||
| u16 | port | ||
| ) |
| void map_ip6_drop_pi | ( | u32 | pi | ) |
| static_always_inline void map_mss_clamping | ( | tcp_header_t * | tcp, |
| ip_csum_t * | sum, | ||
| u16 | mss_clamping | ||
| ) |
| int map_param_set_icmp | ( | ip4_address_t * | ip4_err_relay_src | ) |
| int map_param_set_icmp6 | ( | u8 | enable_unreachable | ) |
| int map_param_set_tcp | ( | u16 | tcp_mss | ) |
| clib_error_t* map_plugin_api_hookup | ( | vlib_main_t * | vm | ) |
| void map_pre_resolve | ( | ip4_address_t * | ip4, |
| ip6_address_t * | ip6, | ||
| bool | is_del | ||
| ) |
| static_always_inline void map_send_all_to_node | ( | vlib_main_t * | vm, |
| u32 * | pi_vector, | ||
| vlib_node_runtime_t * | node, | ||
| vlib_error_t * | error, | ||
| u32 | next | ||
| ) |
| STATIC_ASSERT | ( | (sizeof(map_domain_t)<=CLIB_CACHE_LINE_BYTES) | , |
| "MAP domain fits in one cacheline" | |||
| ) |
| vlib_node_registration_t ip4_map_node |
| vlib_node_registration_t ip4_map_t_fragmented_node |
(constructor) VLIB_REGISTER_NODE (ip4_map_t_fragmented_node)
Definition at line 695 of file ip4_map_t.c.
| vlib_node_registration_t ip4_map_t_icmp_node |
(constructor) VLIB_REGISTER_NODE (ip4_map_t_icmp_node)
Definition at line 716 of file ip4_map_t.c.
| vlib_node_registration_t ip4_map_t_node |
(constructor) VLIB_REGISTER_NODE (ip4_map_t_node)
Definition at line 758 of file ip4_map_t.c.
| vlib_node_registration_t ip4_map_t_tcp_udp_node |
(constructor) VLIB_REGISTER_NODE (ip4_map_t_tcp_udp_node)
Definition at line 737 of file ip4_map_t.c.
| vlib_node_registration_t ip6_map_node |
| vlib_node_registration_t ip6_map_t_fragmented_node |
(constructor) VLIB_REGISTER_NODE (ip6_map_t_fragmented_node)
Definition at line 691 of file ip6_map_t.c.
| vlib_node_registration_t ip6_map_t_icmp_node |
(constructor) VLIB_REGISTER_NODE (ip6_map_t_icmp_node)
Definition at line 713 of file ip6_map_t.c.
| vlib_node_registration_t ip6_map_t_node |
(constructor) VLIB_REGISTER_NODE (ip6_map_t_node)
Definition at line 764 of file ip6_map_t.c.
| vlib_node_registration_t ip6_map_t_tcp_udp_node |
(constructor) VLIB_REGISTER_NODE (ip6_map_t_tcp_udp_node)
Definition at line 735 of file ip6_map_t.c.
| map_main_t map_main |
| map_main_pre_resolved_t pre_resolved[FIB_PROTOCOL_MAX] |