Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> --- include/net/netfilter/nf_conntrack_tuple.h | 28 +++++--------------- 1 files changed, 7 insertions(+), 21 deletions(-) diff --git a/include/net/netfilter/nf_conntrack_tuple.h b/include/net/netfilter/nf_conntrack_tuple.h index 2c7e115..6db3df6 100644 --- a/include/net/netfilter/nf_conntrack_tuple.h +++ b/include/net/netfilter/nf_conntrack_tuple.h @@ -37,7 +37,12 @@ union nf_conntrack_man_proto __be16 port; } udp; struct { - __be16 id; + union { + __be16 id; + struct { + __u8 type, code; + }; + }; } icmp; struct { __be16 port; @@ -64,26 +69,7 @@ struct nf_conntrack_tuple /* These are the parts of the tuple which are fixed. */ struct { union nf_inet_addr u3; - union { - /* Add other protocols here. */ - __be16 all; - - struct { - __be16 port; - } tcp; - struct { - __be16 port; - } udp; - struct { - u_int8_t type, code; - } icmp; - struct { - __be16 port; - } sctp; - struct { - __be16 key; - } gre; - } u; + union nf_conntrack_man_proto u; /* The protocol. */ u_int8_t protonum; -- 1.5.4.4 -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html