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