summaryrefslogtreecommitdiffstats
path: root/include/datatype.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2009-07-28 14:17:42 +0200
committerPatrick McHardy <kaber@trash.net>2009-07-28 14:17:42 +0200
commit11c5f88f81cb628988ddad405c5295fa237b3311 (patch)
tree70771dbc0149fa3f59d2d24e1b1379b3fadf1500 /include/datatype.h
parenteaefa819182d968ba6f4958fc8d909165feee0b6 (diff)
payload: add DCCP packet type definitions
# nft describe dccp type payload expression, datatype dccp_pkttype (DCCP packet type) (basetype integer), 4 bits pre-defined symbolic constants: request 0x0 response 0x1 data 0x2 ack 0x3 dataack 0x4 closereq 0x5 close 0x6 reset 0x7 sync 0x8 syncack 0x9 Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/datatype.h')
-rw-r--r--include/datatype.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/datatype.h b/include/datatype.h
index ea18f719..aa270c0e 100644
--- a/include/datatype.h
+++ b/include/datatype.h
@@ -18,6 +18,7 @@
* @TYPE_INET_SERVICE: internet service (integer subtype)
* @TYPE_ICMP_TYPE: ICMP type codes (integer subtype)
* @TYPE_TCP_FLAG: TCP flag (bitmask subtype)
+ * @TCPE_DCCP_PKTTYPE: DCCP packet type (integer subtype)
* @TYPE_MH_TYPE: Mobility Header type (integer subtype)
* @TYPE_TIME: relative time
* @TYPE_MARK: packet mark (integer subtype)
@@ -46,6 +47,7 @@ enum datatypes {
TYPE_INET_SERVICE,
TYPE_ICMP_TYPE,
TYPE_TCP_FLAG,
+ TYPE_DCCP_PKTTYPE,
TYPE_MH_TYPE,
TYPE_TIME,
TYPE_MARK,