1 #ifndef _IPT_MULTIPORT_H
2 #define _IPT_MULTIPORT_H
3 #include <linux/netfilter_ipv4/ip_tables.h>
5 enum ipt_multiport_flags
8 IPT_MULTIPORT_DESTINATION
,
12 #define IPT_MULTI_PORTS 15
14 /* Must fit inside union ipt_matchinfo: 16 bytes */
17 u_int8_t flags
; /* Type of comparison */
18 u_int8_t count
; /* Number of ports */
19 u_int16_t ports
[IPT_MULTI_PORTS
]; /* Ports */
22 struct ipt_multiport_v1
24 u_int8_t flags
; /* Type of comparison */
25 u_int8_t count
; /* Number of ports */
26 u_int16_t ports
[IPT_MULTI_PORTS
]; /* Ports */
27 u_int8_t pflags
[IPT_MULTI_PORTS
]; /* Port flags */
28 u_int8_t invert
; /* Invert flag */
30 #endif /*_IPT_MULTIPORT_H*/