[NETFILTER] ctnetlink: add one nesting level for TCP state
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 11 Oct 2005 03:55:49 +0000 (20:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Oct 2005 03:55:49 +0000 (20:55 -0700)
commite1c73b78e3706bd3c336d4730a01dd4081dfb7ee
tree1187db9206c73a3a37195a6f95d81dabc8932cb8
parent5bbc243aafff9ad653dc7a9fa7bcaf0b4631355a
[NETFILTER] ctnetlink: add one nesting level for TCP state

To keep consistency, the TCP private protocol information is nested
attributes under CTA_PROTOINFO_TCP. This way the sequence of attributes to
access the TCP state information looks like here below:

CTA_PROTOINFO
CTA_PROTOINFO_TCP
CTA_PROTOINFO_TCP_STATE

instead of:

CTA_PROTOINFO
CTA_PROTOINFO_TCP_STATE

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/nfnetlink_conntrack.h
net/ipv4/netfilter/ip_conntrack_proto_tcp.c