Ben Cheng | 30692c6 | 2013-10-15 18:26:18 -0700 | [diff] [blame^] | 1 | #ifndef __LINUX_BRIDGE_EBT_NFLOG_H |
| 2 | #define __LINUX_BRIDGE_EBT_NFLOG_H |
| 3 | |
| 4 | #include <linux/types.h> |
| 5 | |
| 6 | #define EBT_NFLOG_MASK 0x0 |
| 7 | |
| 8 | #define EBT_NFLOG_PREFIX_SIZE 64 |
| 9 | #define EBT_NFLOG_WATCHER "nflog" |
| 10 | |
| 11 | #define EBT_NFLOG_DEFAULT_GROUP 0x1 |
| 12 | #define EBT_NFLOG_DEFAULT_THRESHOLD 1 |
| 13 | |
| 14 | struct ebt_nflog_info { |
| 15 | __u32 len; |
| 16 | __u16 group; |
| 17 | __u16 threshold; |
| 18 | __u16 flags; |
| 19 | __u16 pad; |
| 20 | char prefix[EBT_NFLOG_PREFIX_SIZE]; |
| 21 | }; |
| 22 | |
| 23 | #endif /* __LINUX_BRIDGE_EBT_NFLOG_H */ |