Harald Welte | 1d3de41 | 2005-08-09 20:26:55 -0700 | [diff] [blame^] | 1 | #ifndef _IPT_DCCP_H_ |
2 | #define _IPT_DCCP_H_ | ||||
3 | |||||
4 | #define IPT_DCCP_SRC_PORTS 0x01 | ||||
5 | #define IPT_DCCP_DEST_PORTS 0x02 | ||||
6 | #define IPT_DCCP_TYPE 0x04 | ||||
7 | #define IPT_DCCP_OPTION 0x08 | ||||
8 | |||||
9 | #define IPT_DCCP_VALID_FLAGS 0x0f | ||||
10 | |||||
11 | struct ipt_dccp_info { | ||||
12 | u_int16_t dpts[2]; /* Min, Max */ | ||||
13 | u_int16_t spts[2]; /* Min, Max */ | ||||
14 | |||||
15 | u_int16_t flags; | ||||
16 | u_int16_t invflags; | ||||
17 | |||||
18 | u_int16_t typemask; | ||||
19 | u_int8_t option; | ||||
20 | }; | ||||
21 | |||||
22 | #endif /* _IPT_DCCP_H_ */ | ||||
23 |