![]() |
FD.io VPP
v16.09
Vector Packet Processing
|
Include dependency graph for snat.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | snat_session_key_t |
| struct | snat_user_key_t |
| struct | snat_user_t |
| struct | snat_address_t |
| struct | snat_main_t |
| struct | snat_runtime_t |
| struct | icmp_echo_header_t |
Macros | |
| #define | SNAT_SESSION_STATIC (1<<0) |
Enumerations | |
| enum | snat_protocol_t { SNAT_PROTOCOL_UDP = 0, SNAT_PROTOCOL_TCP, SNAT_PROTOCOL_ICMP } |
Functions | |
| typedef | CLIB_PACKED (struct{snat_session_key_t out2in;snat_session_key_t in2out;u32 flags;u32 per_user_index;u32 per_user_list_head_index;f64 last_heard;u64 total_bytes;u32 total_pkts;u32 outside_address_index;}) snat_session_t |
| void | snat_free_outside_address_and_port (snat_main_t *sm, snat_session_key_t *k, u32 address_index) |
| int | snat_alloc_outside_address_and_port (snat_main_t *sm, snat_session_key_t *k, u32 *address_indexp) |
Variables | |
| snat_main_t | snat_main |
| vlib_node_registration_t | snat_in2out_node |
| (constructor) VLIB_REGISTER_NODE (snat_in2out_node) More... | |
| vlib_node_registration_t | snat_out2in_node |
| (constructor) VLIB_REGISTER_NODE (snat_out2in_node) More... | |
| format_function_t | format_snat_user |
| enum snat_protocol_t |
| typedef CLIB_PACKED | ( | struct{snat_session_key_t out2in;snat_session_key_t in2out;u32 flags;u32 per_user_index;u32 per_user_list_head_index;f64 last_heard;u64 total_bytes;u32 total_pkts;u32 outside_address_index;} | ) |
| int snat_alloc_outside_address_and_port | ( | snat_main_t * | sm, |
| snat_session_key_t * | k, | ||
| u32 * | address_indexp | ||
| ) |
| void snat_free_outside_address_and_port | ( | snat_main_t * | sm, |
| snat_session_key_t * | k, | ||
| u32 | address_index | ||
| ) |
| format_function_t format_snat_user |
| vlib_node_registration_t snat_in2out_node |
| snat_main_t snat_main |
| vlib_node_registration_t snat_out2in_node |