diff options
author | Markus Mayer <mmayer@broadcom.com> | 2022-06-16 15:48:18 -0700 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2022-06-28 14:25:51 +0200 |
commit | 9ea7e6aa638d0dfa14613f6f97e6dc06c857e609 (patch) | |
tree | cb759b927fc8b9b2313912d7d7682b41dddff28a /include | |
parent | 2c92bb9ba69cf4bec53b3f063f5b42284e2e28d9 (diff) |
netfilter: add nf_log.h
Since libxt_NFLOG is now using the UAPI version of nf_log.h, it should
be bundled alongside the other netfilter kernel headers.
This copy of nf_log.h was taken from Linux 5.18.
Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter/nf_log.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/netfilter/nf_log.h b/include/linux/netfilter/nf_log.h new file mode 100644 index 00000000..2ae00932 --- /dev/null +++ b/include/linux/netfilter/nf_log.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _NETFILTER_NF_LOG_H +#define _NETFILTER_NF_LOG_H + +#define NF_LOG_TCPSEQ 0x01 /* Log TCP sequence numbers */ +#define NF_LOG_TCPOPT 0x02 /* Log TCP options */ +#define NF_LOG_IPOPT 0x04 /* Log IP options */ +#define NF_LOG_UID 0x08 /* Log UID owning local socket */ +#define NF_LOG_NFLOG 0x10 /* Unsupported, don't reuse */ +#define NF_LOG_MACDECODE 0x20 /* Decode MAC header */ +#define NF_LOG_MASK 0x2f + +#define NF_LOG_PREFIXLEN 128 + +#endif /* _NETFILTER_NF_LOG_H */ |