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 _IPT_LOG_H |
| 3 | #define _IPT_LOG_H |
| 4 | |
| 5 | #warning "Please update iptables, this file will be removed soon!" |
| 6 | |
| 7 | /* make sure not to change this without changing netfilter.h:NF_LOG_* (!) */ |
| 8 | #define IPT_LOG_TCPSEQ 0x01 /* Log TCP sequence numbers */ |
| 9 | #define IPT_LOG_TCPOPT 0x02 /* Log TCP options */ |
| 10 | #define IPT_LOG_IPOPT 0x04 /* Log IP options */ |
| 11 | #define IPT_LOG_UID 0x08 /* Log UID owning local socket */ |
| 12 | #define IPT_LOG_NFLOG 0x10 /* Unsupported, don't reuse */ |
| 13 | #define IPT_LOG_MACDECODE 0x20 /* Decode MAC header */ |
| 14 | #define IPT_LOG_MASK 0x2f |
| 15 | |
| 16 | struct ipt_log_info { |
| 17 | unsigned char level; |
| 18 | unsigned char logflags; |
| 19 | char prefix[30]; |
| 20 | }; |
| 21 | |
| 22 | #endif /*_IPT_LOG_H*/ |