1 #ifndef _XT_MULTIPORT_H
2 #define _XT_MULTIPORT_H
4 #include <linux/types.h>
6 enum xt_multiport_flags
9 XT_MULTIPORT_DESTINATION,
13 #define XT_MULTI_PORTS 15
15 /* Must fit inside union xt_matchinfo: 16 bytes */
18 __u8 flags; /* Type of comparison */
19 __u8 count; /* Number of ports */
20 __u16 ports[XT_MULTI_PORTS]; /* Ports */
23 struct xt_multiport_v1
25 __u8 flags; /* Type of comparison */
26 __u8 count; /* Number of ports */
27 __u16 ports[XT_MULTI_PORTS]; /* Ports */
28 __u8 pflags[XT_MULTI_PORTS]; /* Port flags */
29 __u8 invert; /* Invert flag */
32 #endif /*_XT_MULTIPORT_H*/