blob: f33070730fc8a757dd67f1aa659afa0d3dcf7188 [file] [log] [blame]
Ben Cheng30692c62013-10-15 18:26:18 -07001#ifndef _XT_NFLOG_TARGET
2#define _XT_NFLOG_TARGET
3
4#include <linux/types.h>
5
6#define XT_NFLOG_DEFAULT_GROUP 0x1
7#define XT_NFLOG_DEFAULT_THRESHOLD 0
8
Christopher Ferris6e3550f2016-12-12 14:51:18 -08009#define XT_NFLOG_MASK 0x1
10
11/* This flag indicates that 'len' field in xt_nflog_info is set*/
12#define XT_NFLOG_F_COPY_LEN 0x1
Ben Cheng30692c62013-10-15 18:26:18 -070013
14struct xt_nflog_info {
Christopher Ferris6e3550f2016-12-12 14:51:18 -080015 /* 'len' will be used iff you set XT_NFLOG_F_COPY_LEN in flags */
Ben Cheng30692c62013-10-15 18:26:18 -070016 __u32 len;
17 __u16 group;
18 __u16 threshold;
19 __u16 flags;
20 __u16 pad;
21 char prefix[64];
22};
23
24#endif /* _XT_NFLOG_TARGET */