1 #ifndef __LINUX_BRIDGE_EBT_LOG_H
2 #define __LINUX_BRIDGE_EBT_LOG_H
3 
4 #include <linux/types.h>
5 
6 #define EBT_LOG_IP 0x01 /* if the frame is made by ip, log the ip information */
7 #define EBT_LOG_ARP 0x02
8 #define EBT_LOG_NFLOG 0x04
9 #define EBT_LOG_IP6 0x08
10 #define EBT_LOG_MASK (EBT_LOG_IP | EBT_LOG_ARP | EBT_LOG_IP6)
11 #define EBT_LOG_PREFIX_SIZE 30
12 #define EBT_LOG_WATCHER "log"
13 
14 struct ebt_log_info {
15 	__u8 loglevel;
16 	__u8 prefix[EBT_LOG_PREFIX_SIZE];
17 	__u32 bitmask;
18 };
19 
20 #endif
21