summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-10-06 11:19:28 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2009-12-19 15:24:20 +0100
commit65645763ebe870fa01b5c1a5dbe810feb9397ff2 (patch)
tree05ecf9a76c8d77bf0cf5e7e331a08d980fe87e80 /include
parent2f52fea14f94fb267e22280bce2d45f44c3b34f0 (diff)
downloadconntrack-tools-65645763ebe870fa01b5c1a5dbe810feb9397ff2.tar.gz
conntrack-tools-65645763ebe870fa01b5c1a5dbe810feb9397ff2.zip
conntrackd: add ICMP support for state-synchronization
This patch adds state-synchronization for ICMP. You SHOULD use a Linux kernel >= 2.6.31, otherwise this patch can result in tons of state-updates. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/network.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/network.h b/include/network.h
index dfc3015..70812b1 100644
--- a/include/network.h
+++ b/include/network.h
@@ -217,6 +217,9 @@ enum nta_attr {
NTA_SCTP_VTAG_REPL, /* uint32_t */
NTA_DCCP_STATE = 20, /* uint8_t */
NTA_DCCP_ROLE, /* uint8_t */
+ NTA_ICMP_TYPE, /* uint8_t */
+ NTA_ICMP_CODE, /* uint8_t */
+ NTA_ICMP_ID, /* uint16_t */
NTA_MAX
};