4 #include <linux/types.h>
6 #define EBT_ULOG_DEFAULT_NLGROUP 0
7 #define EBT_ULOG_DEFAULT_QTHRESHOLD 1
8 #define EBT_ULOG_MAXNLGROUPS 32 /* hardcoded netlink max */
9 #define EBT_ULOG_PREFIX_LEN 32
10 #define EBT_ULOG_MAX_QLEN 50
11 #define EBT_ULOG_WATCHER "ulog"
12 #define EBT_ULOG_VERSION 1
14 struct ebt_ulog_info {
17 unsigned int qthreshold;
18 char prefix[EBT_ULOG_PREFIX_LEN];
21 typedef struct ebt_ulog_packet_msg {
24 char outdev[IFNAMSIZ];
25 char physindev[IFNAMSIZ];
26 char physoutdev[IFNAMSIZ];
27 char prefix[EBT_ULOG_PREFIX_LEN];
32 /* The complete packet, including Ethernet header and perhaps
33 * the VLAN header is appended */
34 unsigned char data[0] __attribute__
35 ((aligned (__alignof__(struct ebt_ulog_info))));
36 } ebt_ulog_packet_msg_t;
38 #endif /* _EBT_ULOG_H */