Move the replicated ICMP echo structure from the NAT implementations
to the common IP ICMP header.
Type: improvement
Change-Id: I3770d2609c2366859b014ae66096cd545f4b1262
Signed-off-by: Ole Troan <[email protected]>
#define DET44_SES_PER_USER 1000
-typedef struct
-{
- u16 identifier;
- u16 sequence;
-} icmp_echo_header_t;
-
typedef struct
{
u16 src_port, dst_port;
nat_protocol_t proto, ip4_address_t s_addr, ip4_address_t *addr, u16 *port,
u16 port_per_thread, u32 snat_thread_index);
-typedef struct
-{
- u16 identifier;
- u16 sequence;
-} icmp_echo_header_t;
-
typedef struct
{
u16 src_port, dst_port;
#include <nat/nat64/nat64_db.h>
-typedef struct
-{
- u16 identifier;
- u16 sequence;
-} icmp_echo_header_t;
-
typedef struct
{
u16 src_port, dst_port;
link_layer_option;
}) icmp6_neighbor_solicitation_header_t;
+typedef struct
+{
+ u16 identifier;
+ u16 sequence;
+} icmp_echo_header_t;
+
#endif /* included_vnet_icmp46_packet_h */