1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 #ifndef _XT_DCCP_H_ 3 #define _XT_DCCP_H_ 4 5 #include <linux/types.h> 6 7 #define XT_DCCP_SRC_PORTS 0x01 8 #define XT_DCCP_DEST_PORTS 0x02 9 #define XT_DCCP_TYPE 0x04 10 #define XT_DCCP_OPTION 0x08 11 12 #define XT_DCCP_VALID_FLAGS 0x0f 13 14 struct xt_dccp_info { 15 __u16 dpts[2]; /* Min, Max */ 16 __u16 spts[2]; /* Min, Max */ 17 18 __u16 flags; 19 __u16 invflags; 20 21 __u16 typemask; 22 __u8 option; 23 }; 24 25 #endif /* _XT_DCCP_H_ */ 26 27