e7bfd0a1a6
This patch adds the ebtables nflog watcher to the kernel in order to allow ebtables log through the nfnetlink_log backend. Signed-off-by: Peter Warasin <peter@endian.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
22 lines
441 B
C
22 lines
441 B
C
#ifndef __LINUX_BRIDGE_EBT_NFLOG_H
|
|
#define __LINUX_BRIDGE_EBT_NFLOG_H
|
|
|
|
#define EBT_NFLOG_MASK 0x0
|
|
|
|
#define EBT_NFLOG_PREFIX_SIZE 64
|
|
#define EBT_NFLOG_WATCHER "nflog"
|
|
|
|
#define EBT_NFLOG_DEFAULT_GROUP 0x1
|
|
#define EBT_NFLOG_DEFAULT_THRESHOLD 1
|
|
|
|
struct ebt_nflog_info {
|
|
u_int32_t len;
|
|
u_int16_t group;
|
|
u_int16_t threshold;
|
|
u_int16_t flags;
|
|
u_int16_t pad;
|
|
char prefix[EBT_NFLOG_PREFIX_SIZE];
|
|
};
|
|
|
|
#endif /* __LINUX_BRIDGE_EBT_NFLOG_H */
|