Home | History | Annotate | Download | only in netfilter
      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  ***   To edit the content of this header, modify the corresponding
     11  ***   source file (e.g. under external/kernel-headers/original/) then
     12  ***   run bionic/libc/kernel/tools/update_all.py
     13  ***
     14  ***   Any manual change here will be lost the next time this script will
     15  ***   be run. You've been warned!
     16  ***
     17  ****************************************************************************
     18  ****************************************************************************/
     19 #ifndef _XT_ADDRTYPE_H
     20 #define _XT_ADDRTYPE_H
     21 #include <linux/types.h>
     22 enum {
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24  XT_ADDRTYPE_INVERT_SOURCE = 0x0001,
     25  XT_ADDRTYPE_INVERT_DEST = 0x0002,
     26  XT_ADDRTYPE_LIMIT_IFACE_IN = 0x0004,
     27  XT_ADDRTYPE_LIMIT_IFACE_OUT = 0x0008,
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 };
     30 enum {
     31  XT_ADDRTYPE_UNSPEC = 1 << 0,
     32  XT_ADDRTYPE_UNICAST = 1 << 1,
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34  XT_ADDRTYPE_LOCAL = 1 << 2,
     35  XT_ADDRTYPE_BROADCAST = 1 << 3,
     36  XT_ADDRTYPE_ANYCAST = 1 << 4,
     37  XT_ADDRTYPE_MULTICAST = 1 << 5,
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39  XT_ADDRTYPE_BLACKHOLE = 1 << 6,
     40  XT_ADDRTYPE_UNREACHABLE = 1 << 7,
     41  XT_ADDRTYPE_PROHIBIT = 1 << 8,
     42  XT_ADDRTYPE_THROW = 1 << 9,
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44  XT_ADDRTYPE_NAT = 1 << 10,
     45  XT_ADDRTYPE_XRESOLVE = 1 << 11,
     46 };
     47 struct xt_addrtype_info_v1 {
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49  __u16 source;
     50  __u16 dest;
     51  __u32 flags;
     52 };
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54 struct xt_addrtype_info {
     55  __u16 source;
     56  __u16 dest;
     57  __u32 invert_source;
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59  __u32 invert_dest;
     60 };
     61 #endif
     62