diff options
author | Patrick McHardy <kaber@trash.net> | 2007-09-05 13:48:50 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2007-09-05 13:48:50 +0000 |
commit | 9e9022562d76644a2c9d1024b597729af68c81e5 (patch) | |
tree | b735ece72200cc946e8192d1d28cfb58cafb00c8 /include | |
parent | b8a0a100a68098c0329735b5724d9c0b425e72eb (diff) |
Build dccp match unconditionally
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter/xt_dccp.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_dccp.h b/include/linux/netfilter/xt_dccp.h new file mode 100644 index 00000000..e0221b9d --- /dev/null +++ b/include/linux/netfilter/xt_dccp.h @@ -0,0 +1,23 @@ +#ifndef _XT_DCCP_H_ +#define _XT_DCCP_H_ + +#define XT_DCCP_SRC_PORTS 0x01 +#define XT_DCCP_DEST_PORTS 0x02 +#define XT_DCCP_TYPE 0x04 +#define XT_DCCP_OPTION 0x08 + +#define XT_DCCP_VALID_FLAGS 0x0f + +struct xt_dccp_info { + u_int16_t dpts[2]; /* Min, Max */ + u_int16_t spts[2]; /* Min, Max */ + + u_int16_t flags; + u_int16_t invflags; + + u_int16_t typemask; + u_int8_t option; +}; + +#endif /* _XT_DCCP_H_ */ + |