summaryrefslogtreecommitdiffstats
path: root/include/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/network.h')
-rw-r--r--include/network.h5
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);