Go to the source code of this file.
|
enum | ip6_mapt_next_t {
IP6_MAPT_NEXT_MAPT_TCP_UDP,
IP6_MAPT_NEXT_MAPT_ICMP,
IP6_MAPT_NEXT_MAPT_FRAGMENTED,
IP6_MAPT_NEXT_DROP,
IP6_MAPT_N_NEXT
} |
|
enum | ip6_mapt_icmp_next_t {
IP6_MAPT_ICMP_NEXT_IP4_LOOKUP,
IP6_MAPT_ICMP_NEXT_IP4_REWRITE,
IP6_MAPT_ICMP_NEXT_IP4_FRAG,
IP6_MAPT_ICMP_NEXT_DROP,
IP6_MAPT_ICMP_N_NEXT
} |
|
enum | ip6_mapt_tcp_udp_next_t {
IP6_MAPT_TCP_UDP_NEXT_IP4_LOOKUP,
IP6_MAPT_TCP_UDP_NEXT_IP4_REWRITE,
IP6_MAPT_TCP_UDP_NEXT_IP4_FRAG,
IP6_MAPT_TCP_UDP_NEXT_DROP,
IP6_MAPT_TCP_UDP_N_NEXT
} |
|
enum | ip6_mapt_fragmented_next_t {
IP6_MAPT_FRAGMENTED_NEXT_IP4_LOOKUP,
IP6_MAPT_FRAGMENTED_NEXT_IP4_REWRITE,
IP6_MAPT_FRAGMENTED_NEXT_IP4_FRAG,
IP6_MAPT_FRAGMENTED_NEXT_DROP,
IP6_MAPT_FRAGMENTED_N_NEXT
} |
|
|
static_always_inline int | ip6_map_fragment_cache (ip6_header_t *ip6, ip6_frag_hdr_t *frag, map_domain_t *d, u16 port) |
|
static_always_inline i32 | ip6_map_fragment_get (ip6_header_t *ip6, ip6_frag_hdr_t *frag, map_domain_t *d) |
|
static int | ip6_to_ip4_set_icmp_cb (ip6_header_t *ip6, ip4_header_t *ip4, void *arg) |
|
static int | ip6_to_ip4_set_inner_icmp_cb (ip6_header_t *ip6, ip4_header_t *ip4, void *arg) |
|
static uword | ip6_map_t_icmp (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static int | map_ip6_to_ip4_fragmented (vlib_buffer_t *p) |
|
static uword | ip6_map_t_fragmented (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static int | map_ip6_to_ip4_tcp_udp (vlib_buffer_t *p, bool udp_checksum) |
|
static uword | ip6_map_t_tcp_udp (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | ip6_map_t (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_INIT (ip4_map_t_feature, static) |
|
◆ ip6_mapt_fragmented_next_t
Enumerator |
---|
IP6_MAPT_FRAGMENTED_NEXT_IP4_LOOKUP | |
IP6_MAPT_FRAGMENTED_NEXT_IP4_REWRITE | |
IP6_MAPT_FRAGMENTED_NEXT_IP4_FRAG | |
IP6_MAPT_FRAGMENTED_NEXT_DROP | |
IP6_MAPT_FRAGMENTED_N_NEXT | |
Definition at line 48 of file ip6_map_t.c.
◆ ip6_mapt_icmp_next_t
Enumerator |
---|
IP6_MAPT_ICMP_NEXT_IP4_LOOKUP | |
IP6_MAPT_ICMP_NEXT_IP4_REWRITE | |
IP6_MAPT_ICMP_NEXT_IP4_FRAG | |
IP6_MAPT_ICMP_NEXT_DROP | |
IP6_MAPT_ICMP_N_NEXT | |
Definition at line 30 of file ip6_map_t.c.
◆ ip6_mapt_next_t
Enumerator |
---|
IP6_MAPT_NEXT_MAPT_TCP_UDP | |
IP6_MAPT_NEXT_MAPT_ICMP | |
IP6_MAPT_NEXT_MAPT_FRAGMENTED | |
IP6_MAPT_NEXT_DROP | |
IP6_MAPT_N_NEXT | |
Definition at line 21 of file ip6_map_t.c.
◆ ip6_mapt_tcp_udp_next_t
Enumerator |
---|
IP6_MAPT_TCP_UDP_NEXT_IP4_LOOKUP | |
IP6_MAPT_TCP_UDP_NEXT_IP4_REWRITE | |
IP6_MAPT_TCP_UDP_NEXT_IP4_FRAG | |
IP6_MAPT_TCP_UDP_NEXT_DROP | |
IP6_MAPT_TCP_UDP_N_NEXT | |
Definition at line 39 of file ip6_map_t.c.
◆ ip6_map_fragment_cache()
◆ ip6_map_fragment_get()
◆ ip6_map_t()
◆ ip6_map_t_fragmented()
◆ ip6_map_t_icmp()
◆ ip6_map_t_tcp_udp()
◆ ip6_to_ip4_set_icmp_cb()
◆ ip6_to_ip4_set_inner_icmp_cb()
◆ map_ip6_to_ip4_fragmented()
◆ map_ip6_to_ip4_tcp_udp()
◆ VNET_FEATURE_INIT()
VNET_FEATURE_INIT |
( |
ip4_map_t_feature |
, |
|
|
static |
|
|
) |
| |
◆ ip6_map_t_fragmented_node
Initial value:= {
.name = "ip6-map-t-fragmented",
.vector_size =
sizeof (
u32),
.next_nodes =
{
},
}
vl_api_fib_path_type_t type
#define IP4_FRAG_NODE_NAME
u8 * format_map_trace(u8 *s, va_list *args)
static uword ip6_map_t_fragmented(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static char * map_t_error_strings[]
(constructor) VLIB_REGISTER_NODE (ip6_map_t_fragmented_node)
Definition at line 735 of file ip6_map_t.c.
◆ ip6_map_t_icmp_node
Initial value:= {
.name = "ip6-map-t-icmp",
.vector_size =
sizeof (
u32),
.next_nodes =
{
},
}
vl_api_fib_path_type_t type
#define IP4_FRAG_NODE_NAME
static uword ip6_map_t_icmp(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
u8 * format_map_trace(u8 *s, va_list *args)
static char * map_t_error_strings[]
(constructor) VLIB_REGISTER_NODE (ip6_map_t_icmp_node)
Definition at line 757 of file ip6_map_t.c.
◆ ip6_map_t_node
Initial value:= {
.name = "ip6-map-t",
.vector_size =
sizeof(
u32),
.next_nodes =
{
},
}
static uword ip6_map_t(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
vl_api_fib_path_type_t type
u8 * format_map_trace(u8 *s, va_list *args)
static char * map_t_error_strings[]
(constructor) VLIB_REGISTER_NODE (ip6_map_t_node)
Definition at line 807 of file ip6_map_t.c.
◆ ip6_map_t_tcp_udp_node
Initial value:= {
.name = "ip6-map-t-tcp-udp",
.vector_size =
sizeof (
u32),
.next_nodes =
{
},
}
static uword ip6_map_t_tcp_udp(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
vl_api_fib_path_type_t type
#define IP4_FRAG_NODE_NAME
u8 * format_map_trace(u8 *s, va_list *args)
static char * map_t_error_strings[]
(constructor) VLIB_REGISTER_NODE (ip6_map_t_tcp_udp_node)
Definition at line 779 of file ip6_map_t.c.
◆ map_t_error_strings
char* map_t_error_strings[] |
|
static |
Initial value:= {
#define _(sym, string)
}
#define foreach_map_error
Definition at line 728 of file ip6_map_t.c.