![]() |
FD.io VPP
v20.01-48-g3e0dafb74
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) |
| #define | foreach_map_error |
Typedefs | |
| typedef struct map_main_pre_resolved_t_ | map_main_pre_resolved_t |
| A pre-resolved next-hop. More... | |
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 } |
| enum | map_error_t { MAP_N_ERROR } |
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... | |
| #define foreach_map_error |
| 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 |
| enum map_error_t |
| static_always_inline map_domain_t* ip4_map_get_domain | ( | ip4_address_t * | addr, |
| u32 * | map_domain_index, | ||
| u8 * | error | ||
| ) |
| 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 u32 ip6_map_t_embedded_address | ( | map_domain_t * | d, |
| ip6_address_t * | addr | ||
| ) |
| int map_add_del_psid | ( | u32 | map_domain_index, |
| u16 | psid, | ||
| ip6_address_t * | tep, | ||
| bool | is_add | ||
| ) |
|
inlinestatic |
| int map_create_domain | ( | ip4_address_t * | ip4_prefix, |
| u8 | ip4_prefix_len, | ||
| ip6_address_t * | ip6_prefix, | ||
| u8 | ip6_prefix_len, | ||
| ip6_address_t * | ip6_src, | ||
| u8 | ip6_src_len, | ||
| u8 | ea_bits_len, | ||
| u8 | psid_offset, | ||
| u8 | psid_length, | ||
| u32 * | map_domain_index, | ||
| u16 | mtu, | ||
| u8 | flags, | ||
| u8 * | tag | ||
| ) |
| 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 658 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 678 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 718 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 698 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 642 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 663 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 712 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 684 of file ip6_map_t.c.
| map_main_t map_main |
| map_main_pre_resolved_t pre_resolved[FIB_PROTOCOL_MAX] |