|
static_always_inline u8 | icmp_type_is_error_message (u8 icmp_type) |
|
static_always_inline u8 | icmp_type_is_echo (u8 icmp_type) |
|
static_always_inline u8 | icmp6_type_is_echo (u8 icmp_type) |
|
static_always_inline u8 | icmp6_type_is_error_message (u8 icmp_type) |
|
static_always_inline u8 | cmp_ip6_address (const ip6_address_t *a1, const ip6_address_t *a2) |
|
static_always_inline u8 | has_ip6_address (ip6_address_t *a) |
| Inline translation functions. More...
|
|
static_always_inline void | cnat_ip4_translate_l4 (ip4_header_t *ip4, udp_header_t *udp, ip_csum_t *sum, ip4_address_t new_addr[VLIB_N_DIR], u16 new_port[VLIB_N_DIR]) |
|
static_always_inline void | cnat_ip4_translate_l3 (ip4_header_t *ip4, ip4_address_t new_addr[VLIB_N_DIR]) |
|
static_always_inline void | cnat_tcp_update_session_lifetime (tcp_header_t *tcp, u32 index) |
|
static_always_inline void | cnat_translation_icmp4_echo (ip4_header_t *ip4, icmp46_header_t *icmp, ip4_address_t new_addr[VLIB_N_DIR], u16 new_port[VLIB_N_DIR]) |
|
static_always_inline void | cnat_translation_icmp4_error (ip4_header_t *outer_ip4, icmp46_header_t *icmp, ip4_address_t outer_new_addr[VLIB_N_DIR], u16 outer_new_port[VLIB_N_DIR], u8 snat_outer_ip) |
|
static_always_inline void | cnat_translation_ip4 (const cnat_session_t *session, ip4_header_t *ip4, udp_header_t *udp) |
|
static_always_inline void | cnat_ip6_translate_l3 (ip6_header_t *ip6, ip6_address_t new_addr[VLIB_N_DIR]) |
|
static_always_inline void | cnat_ip6_translate_l4 (ip6_header_t *ip6, udp_header_t *udp, ip_csum_t *sum, ip6_address_t new_addr[VLIB_N_DIR], u16 new_port[VLIB_N_DIR]) |
|
static_always_inline void | cnat_translation_icmp6_echo (ip6_header_t *ip6, icmp46_header_t *icmp, ip6_address_t new_addr[VLIB_N_DIR], u16 new_port[VLIB_N_DIR]) |
|
static_always_inline void | cnat_translation_icmp6_error (ip6_header_t *outer_ip6, icmp46_header_t *icmp, ip6_address_t outer_new_addr[VLIB_N_DIR], u16 outer_new_port[VLIB_N_DIR], u8 snat_outer_ip) |
|
static_always_inline void | cnat_translation_ip6 (const cnat_session_t *session, ip6_header_t *ip6, udp_header_t *udp) |
|
static_always_inline void | cnat_session_make_key (vlib_buffer_t *b, ip_address_family_t af, clib_bihash_kv_40_48_t *bkey) |
|
static_always_inline void | cnat_session_create (cnat_session_t *session, cnat_node_ctx_t *ctx, u8 rsession_flags) |
| Create NAT sessions. More...
|
|
static uword | cnat_node_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, cnat_node_sub_t cnat_sub, ip_address_family_t af, u8 do_trace) |
|