Go to the source code of this file.
|
enum | ip4_mapt_next_t {
IP4_MAPT_NEXT_MAPT_TCP_UDP,
IP4_MAPT_NEXT_MAPT_ICMP,
IP4_MAPT_NEXT_MAPT_FRAGMENTED,
IP4_MAPT_NEXT_DROP,
IP4_MAPT_N_NEXT
} |
|
enum | ip4_mapt_icmp_next_t { IP4_MAPT_ICMP_NEXT_IP6_LOOKUP,
IP4_MAPT_ICMP_NEXT_IP6_FRAG,
IP4_MAPT_ICMP_NEXT_DROP,
IP4_MAPT_ICMP_N_NEXT
} |
|
enum | ip4_mapt_tcp_udp_next_t { IP4_MAPT_TCP_UDP_NEXT_IP6_LOOKUP,
IP4_MAPT_TCP_UDP_NEXT_IP6_FRAG,
IP4_MAPT_TCP_UDP_NEXT_DROP,
IP4_MAPT_TCP_UDP_N_NEXT
} |
|
enum | ip4_mapt_fragmented_next_t { IP4_MAPT_FRAGMENTED_NEXT_IP6_LOOKUP,
IP4_MAPT_FRAGMENTED_NEXT_IP6_FRAG,
IP4_MAPT_FRAGMENTED_NEXT_DROP,
IP4_MAPT_FRAGMENTED_N_NEXT
} |
|
|
typedef | CLIB_PACKED (struct{ip6_address_t daddr;ip6_address_t saddr;u8 unused[28];}) |
|
static_always_inline i32 | ip4_map_fragment_get_port (ip4_header_t *ip4) |
|
static int | ip4_to_ip6_set_icmp_cb (ip4_header_t *ip4, ip6_header_t *ip6, void *arg) |
|
static int | ip4_to_ip6_set_inner_icmp_cb (ip4_header_t *ip4, ip6_header_t *ip6, void *arg) |
|
static uword | ip4_map_t_icmp (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static int | ip4_to_ip6_set_cb (ip4_header_t *ip4, ip6_header_t *ip6, void *ctx) |
|
static uword | ip4_map_t_fragmented (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | ip4_map_t_tcp_udp (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static_always_inline void | ip4_map_t_classify (vlib_buffer_t *p0, map_domain_t *d0, ip4_header_t *ip40, u16 ip4_len0, i32 *dst_port0, u8 *error0, ip4_mapt_next_t *next0) |
|
static uword | ip4_map_t (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
#define IP4_MAP_T_DUAL_LOOP 1 |
Enumerator |
---|
IP4_MAPT_FRAGMENTED_NEXT_IP6_LOOKUP |
|
IP4_MAPT_FRAGMENTED_NEXT_IP6_FRAG |
|
IP4_MAPT_FRAGMENTED_NEXT_DROP |
|
IP4_MAPT_FRAGMENTED_N_NEXT |
|
Definition at line 47 of file ip4_map_t.c.
Enumerator |
---|
IP4_MAPT_ICMP_NEXT_IP6_LOOKUP |
|
IP4_MAPT_ICMP_NEXT_IP6_FRAG |
|
IP4_MAPT_ICMP_NEXT_DROP |
|
IP4_MAPT_ICMP_N_NEXT |
|
Definition at line 31 of file ip4_map_t.c.
Enumerator |
---|
IP4_MAPT_NEXT_MAPT_TCP_UDP |
|
IP4_MAPT_NEXT_MAPT_ICMP |
|
IP4_MAPT_NEXT_MAPT_FRAGMENTED |
|
IP4_MAPT_NEXT_DROP |
|
IP4_MAPT_N_NEXT |
|
Definition at line 22 of file ip4_map_t.c.
Enumerator |
---|
IP4_MAPT_TCP_UDP_NEXT_IP6_LOOKUP |
|
IP4_MAPT_TCP_UDP_NEXT_IP6_FRAG |
|
IP4_MAPT_TCP_UDP_NEXT_DROP |
|
IP4_MAPT_TCP_UDP_N_NEXT |
|
Definition at line 39 of file ip4_map_t.c.
Initial value:= {
.name = "ip4-map-t-fragmented",
.vector_size =
sizeof(
u32),
.next_nodes = {
},
}
#define IP6_FRAG_NODE_NAME
u8 * format_map_trace(u8 *s, va_list *args)
static uword ip4_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 (ip4_map_t_fragmented_node)
Definition at line 726 of file ip4_map_t.c.
Initial value:= {
.name = "ip4-map-t-icmp",
.vector_size =
sizeof(
u32),
.next_nodes = {
},
}
#define IP6_FRAG_NODE_NAME
static uword ip4_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 (ip4_map_t_icmp_node)
Definition at line 746 of file ip4_map_t.c.
Initial value:= {
.name = "ip4-map-t",
.vector_size =
sizeof(
u32),
.next_nodes = {
},
}
static uword ip4_map_t(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 (ip4_map_t_node)
Definition at line 786 of file ip4_map_t.c.
Initial value:= {
.name = "ip4-map-t-tcp-udp",
.vector_size =
sizeof(
u32),
.next_nodes = {
},
}
#define IP6_FRAG_NODE_NAME
u8 * format_map_trace(u8 *s, va_list *args)
static uword ip4_map_t_tcp_udp(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static char * map_t_error_strings[]
(constructor) VLIB_REGISTER_NODE (ip4_map_t_tcp_udp_node)
Definition at line 766 of file ip4_map_t.c.
char* map_t_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_map_error
Definition at line 719 of file ip4_map_t.c.