xt_NFLOG.h (556B)
- /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
- #ifndef _XT_NFLOG_TARGET
- #define _XT_NFLOG_TARGET
- #include <linux/types.h>
- #define XT_NFLOG_DEFAULT_GROUP 0x1
- #define XT_NFLOG_DEFAULT_THRESHOLD 0
- #define XT_NFLOG_MASK 0x1
- /* This flag indicates that 'len' field in xt_nflog_info is set*/
- #define XT_NFLOG_F_COPY_LEN 0x1
- struct xt_nflog_info {
- /* 'len' will be used iff you set XT_NFLOG_F_COPY_LEN in flags */
- __u32 len;
- __u16 group;
- __u16 threshold;
- __u16 flags;
- __u16 pad;
- char prefix[64];
- };
- #endif /* _XT_NFLOG_TARGET */