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 _EBT_ULOG_H
20#define _EBT_ULOG_H
21#include <linux/types.h>
22#define EBT_ULOG_DEFAULT_NLGROUP 0
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define EBT_ULOG_DEFAULT_QTHRESHOLD 1
25#define EBT_ULOG_MAXNLGROUPS 32
26#define EBT_ULOG_PREFIX_LEN 32
27#define EBT_ULOG_MAX_QLEN 50
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#define EBT_ULOG_WATCHER "ulog"
30#define EBT_ULOG_VERSION 1
31struct ebt_ulog_info {
32 __u32 nlgroup;
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 unsigned int cprange;
35 unsigned int qthreshold;
36 char prefix[EBT_ULOG_PREFIX_LEN];
37};
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39typedef struct ebt_ulog_packet_msg {
40 int version;
41 char indev[IFNAMSIZ];
42 char outdev[IFNAMSIZ];
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 char physindev[IFNAMSIZ];
45 char physoutdev[IFNAMSIZ];
46 char prefix[EBT_ULOG_PREFIX_LEN];
47 struct timeval stamp;
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 unsigned long mark;
50 unsigned int hook;
51 size_t data_len;
52 unsigned char data[0] __attribute__
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 ((aligned (__alignof__(struct ebt_ulog_info))));
55} ebt_ulog_packet_msg_t;
56#endif
57