X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=ndk%2Fandroid-ndk-r4%2Flinux%2Fplatforms%2Fandroid-8%2Farch-arm%2Fusr%2Finclude%2Flinux%2Fnetfilter_ipv4%2Fipt_iprange.h;fp=ndk%2Fandroid-ndk-r4%2Flinux%2Fplatforms%2Fandroid-8%2Farch-arm%2Fusr%2Finclude%2Flinux%2Fnetfilter_ipv4%2Fipt_iprange.h;h=b4dd603b86c51b0cec9d4156ad9e771b56ceb3af;hb=72eddb87bfc38a2f6fae40566ec6380eb838489a;hp=0000000000000000000000000000000000000000;hpb=e19e12d257815bef7bfe4f3d81056a5b2464c464;p=android-x86%2Fprebuilt.git diff --git a/ndk/android-ndk-r4/linux/platforms/android-8/arch-arm/usr/include/linux/netfilter_ipv4/ipt_iprange.h b/ndk/android-ndk-r4/linux/platforms/android-8/arch-arm/usr/include/linux/netfilter_ipv4/ipt_iprange.h new file mode 100644 index 0000000..b4dd603 --- /dev/null +++ b/ndk/android-ndk-r4/linux/platforms/android-8/arch-arm/usr/include/linux/netfilter_ipv4/ipt_iprange.h @@ -0,0 +1,33 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _IPT_IPRANGE_H +#define _IPT_IPRANGE_H + +#define IPRANGE_SRC 0x01 +#define IPRANGE_DST 0x02 +#define IPRANGE_SRC_INV 0x10 +#define IPRANGE_DST_INV 0x20 + +struct ipt_iprange { + + u_int32_t min_ip, max_ip; +}; + +struct ipt_iprange_info +{ + struct ipt_iprange src; + struct ipt_iprange dst; + + u_int8_t flags; +}; + +#endif