Ben Cheng | 30692c6 | 2013-10-15 18:26:18 -0700 | [diff] [blame] | 1 | #ifndef _XT_LOG_H |
| 2 | #define _XT_LOG_H |
| 3 | |
| 4 | /* make sure not to change this without changing nf_log.h:NF_LOG_* (!) */ |
| 5 | #define XT_LOG_TCPSEQ 0x01 /* Log TCP sequence numbers */ |
| 6 | #define XT_LOG_TCPOPT 0x02 /* Log TCP options */ |
| 7 | #define XT_LOG_IPOPT 0x04 /* Log IP options */ |
| 8 | #define XT_LOG_UID 0x08 /* Log UID owning local socket */ |
| 9 | #define XT_LOG_NFLOG 0x10 /* Unsupported, don't reuse */ |
| 10 | #define XT_LOG_MACDECODE 0x20 /* Decode MAC header */ |
| 11 | #define XT_LOG_MASK 0x2f |
| 12 | |
| 13 | struct xt_log_info { |
| 14 | unsigned char level; |
| 15 | unsigned char logflags; |
| 16 | char prefix[30]; |
| 17 | }; |
| 18 | |
| 19 | #endif /* _XT_LOG_H */ |