]> git.ipfire.org Git - thirdparty/nftables.git/commit
payload: add DCCP packet type definitions
authorPatrick McHardy <kaber@trash.net>
Tue, 28 Jul 2009 12:17:42 +0000 (14:17 +0200)
committerPatrick McHardy <kaber@trash.net>
Tue, 28 Jul 2009 12:17:42 +0000 (14:17 +0200)
commit11c5f88f81cb628988ddad405c5295fa237b3311
tree70771dbc0149fa3f59d2d24e1b1379b3fadf1500
parenteaefa819182d968ba6f4958fc8d909165feee0b6
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>
include/datatype.h
include/headers.h
include/payload.h
src/parser.y
src/payload.c