1 /****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _IPT_IPRANGE_H
13 #define _IPT_IPRANGE_H
15 #define IPRANGE_SRC 0x01
16 #define IPRANGE_DST 0x02
17 #define IPRANGE_SRC_INV 0x10
18 #define IPRANGE_DST_INV 0x20
20 struct ipt_iprange {
22 u_int32_t min_ip, max_ip;
23 };
25 struct ipt_iprange_info
26 {
27 struct ipt_iprange src;
28 struct ipt_iprange dst;
30 u_int8_t flags;
31 };
33 #endif