Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __LINUX_BRIDGE_EBT_LOG_H |
| 2 | #define __LINUX_BRIDGE_EBT_LOG_H |
| 3 | |
| 4 | #define EBT_LOG_IP 0x01 /* if the frame is made by ip, log the ip information */ |
| 5 | #define EBT_LOG_ARP 0x02 |
Patrick McHardy | bafac2a | 2006-02-27 13:04:17 -0800 | [diff] [blame] | 6 | #define EBT_LOG_NFLOG 0x04 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | #define EBT_LOG_MASK (EBT_LOG_IP | EBT_LOG_ARP) |
| 8 | #define EBT_LOG_PREFIX_SIZE 30 |
| 9 | #define EBT_LOG_WATCHER "log" |
| 10 | |
| 11 | struct ebt_log_info |
| 12 | { |
| 13 | uint8_t loglevel; |
| 14 | uint8_t prefix[EBT_LOG_PREFIX_SIZE]; |
| 15 | uint32_t bitmask; |
| 16 | }; |
| 17 | |
| 18 | #endif |