Home | History | Annotate | Download | only in netfilter_ipv4
      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 _IPT_ULOG_H
     20 #define _IPT_ULOG_H
     21 #ifndef NETLINK_NFLOG
     22 #define NETLINK_NFLOG 5
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #endif
     25 #define ULOG_DEFAULT_NLGROUP 1
     26 #define ULOG_DEFAULT_QTHRESHOLD 1
     27 #define ULOG_MAC_LEN 80
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 #define ULOG_PREFIX_LEN 32
     30 #define ULOG_MAX_QLEN 50
     31 struct ipt_ulog_info {
     32  unsigned int nl_group;
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34  size_t copy_range;
     35  size_t qthreshold;
     36  char prefix[ULOG_PREFIX_LEN];
     37 };
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39 typedef struct ulog_packet_msg {
     40  unsigned long mark;
     41  long timestamp_sec;
     42  long timestamp_usec;
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44  unsigned int hook;
     45  char indev_name[IFNAMSIZ];
     46  char outdev_name[IFNAMSIZ];
     47  size_t data_len;
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49  char prefix[ULOG_PREFIX_LEN];
     50  unsigned char mac_len;
     51  unsigned char mac[ULOG_MAC_LEN];
     52  unsigned char payload[0];
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54 } ulog_packet_msg_t;
     55 #endif
     56