1 #ifndef _IP6T_MULTIPORT_H
2 #define _IP6T_MULTIPORT_H
4 enum ip6t_multiport_flags
7 IP6T_MULTIPORT_DESTINATION,
11 #define IP6T_MULTI_PORTS 15
13 /* Must fit inside union xt_matchinfo: 16 bytes */
16 u_int8_t flags; /* Type of comparison */
17 u_int8_t count; /* Number of ports */
18 u_int16_t ports[IP6T_MULTI_PORTS]; /* Ports */
21 struct ip6t_multiport_v1
23 u_int8_t flags; /* Type of comparison */
24 u_int8_t count; /* Number of ports */
25 u_int16_t ports[IP6T_MULTI_PORTS]; /* Ports */
26 u_int8_t pflags[IP6T_MULTI_PORTS]; /* Port flags */
27 u_int8_t invert; /* Invert flag */
30 #endif /*_IP6T_MULTIPORT_H*/