diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-04-24 12:23:03 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-04-24 12:23:03 +0200 |
commit | b808645ec71b7cc22cf5106b3d79625d07e6077c (patch) | |
tree | 61c454be50eea566855ad40cbe641ba3c0b3e64b /include | |
parent | 7866b938a909439fa09ea7f16f8676cdac5ea532 (diff) | |
download | conntrack-tools-b808645ec71b7cc22cf5106b3d79625d07e6077c.tar.gz conntrack-tools-b808645ec71b7cc22cf5106b3d79625d07e6077c.zip |
sync: add support for DCCP state replication
This patch adds initial support for DCCP state replication.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/network.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/network.h b/include/network.h index 06c0463..2786585 100644 --- a/include/network.h +++ b/include/network.h @@ -213,6 +213,7 @@ enum nta_attr { NTA_DPAT_PORT, /* uint16_t */ NTA_NAT_SEQ_ADJ = 16, /* struct nta_attr_natseqadj */ NTA_STATE_SCTP, /* struct nta_attr_sctp */ + NTA_STATE_DCCP, /* struct nta_attr_dccp */ NTA_MAX }; @@ -230,6 +231,10 @@ struct nta_attr_sctp { uint32_t vtag_orig, vtag_repl; }; +struct nta_attr_dccp { + uint8_t state, role; +}; + void build_payload(const struct nf_conntrack *ct, struct nethdr *n); int parse_payload(struct nf_conntrack *ct, struct nethdr *n, size_t remain); |