summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-04-24 16:58:41 +0200
committerPatrick McHardy <kaber@trash.net>2009-04-24 16:58:41 +0200
commit71951b64a5a87c09eb6fde59ce51aaab2fdaeab2 (patch)
tree1359fc0af814b525bdeec70d3413b39dd84d2bed /include
parent4b0706624930dc75c3b0d0df463d89759ef7de29 (diff)
downloadlinux-3.10-71951b64a5a87c09eb6fde59ce51aaab2fdaeab2.tar.gz
linux-3.10-71951b64a5a87c09eb6fde59ce51aaab2fdaeab2.tar.bz2
linux-3.10-71951b64a5a87c09eb6fde59ce51aaab2fdaeab2.zip
netfilter: nf_ct_dccp: add missing role attributes for DCCP
This patch adds missing role attribute to the DCCP type, otherwise the creation of entries is not of any use. The attribute added is CTA_PROTOINFO_DCCP_ROLE which contains the role of the conntrack original tuple. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter/nfnetlink_conntrack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netfilter/nfnetlink_conntrack.h b/include/linux/netfilter/nfnetlink_conntrack.h
index 29fe9ea1d34..1a865e48b8e 100644
--- a/include/linux/netfilter/nfnetlink_conntrack.h
+++ b/include/linux/netfilter/nfnetlink_conntrack.h
@@ -100,6 +100,7 @@ enum ctattr_protoinfo_tcp {
enum ctattr_protoinfo_dccp {
CTA_PROTOINFO_DCCP_UNSPEC,
CTA_PROTOINFO_DCCP_STATE,
+ CTA_PROTOINFO_DCCP_ROLE,
__CTA_PROTOINFO_DCCP_MAX,
};
#define CTA_PROTOINFO_DCCP_MAX (__CTA_PROTOINFO_DCCP_MAX - 1)