4 #define EBT_ULOG_DEFAULT_NLGROUP 0
5 #define EBT_ULOG_DEFAULT_QTHRESHOLD 1
6 #define EBT_ULOG_MAXNLGROUPS 32 /* hardcoded netlink max */
7 #define EBT_ULOG_PREFIX_LEN 32
8 #define EBT_ULOG_MAX_QLEN 50
9 #define EBT_ULOG_WATCHER "ulog"
10 #define EBT_ULOG_VERSION 1
12 struct ebt_ulog_info {
15 unsigned int qthreshold;
16 char prefix[EBT_ULOG_PREFIX_LEN];
19 typedef struct ebt_ulog_packet_msg {
22 char outdev[IFNAMSIZ];
23 char physindev[IFNAMSIZ];
24 char physoutdev[IFNAMSIZ];
25 char prefix[EBT_ULOG_PREFIX_LEN];
30 /* The complete packet, including Ethernet header and perhaps
31 * the VLAN header is appended */
32 unsigned char data[0] __attribute__
33 ((aligned (__alignof__(struct ebt_ulog_info))));
34 } ebt_ulog_packet_msg_t;
36 #endif /* _EBT_ULOG_H */