Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ipt_LOG.h
Go to the documentation of this file.
1 #ifndef _IPT_LOG_H
2 #define _IPT_LOG_H
3 
4 #warning "Please update iptables, this file will be removed soon!"
5 
6 /* make sure not to change this without changing netfilter.h:NF_LOG_* (!) */
7 #define IPT_LOG_TCPSEQ 0x01 /* Log TCP sequence numbers */
8 #define IPT_LOG_TCPOPT 0x02 /* Log TCP options */
9 #define IPT_LOG_IPOPT 0x04 /* Log IP options */
10 #define IPT_LOG_UID 0x08 /* Log UID owning local socket */
11 #define IPT_LOG_NFLOG 0x10 /* Unsupported, don't reuse */
12 #define IPT_LOG_MACDECODE 0x20 /* Decode MAC header */
13 #define IPT_LOG_MASK 0x2f
14 
15 struct ipt_log_info {
16  unsigned char level;
17  unsigned char logflags;
18  char prefix[30];
19 };
20 
21 #endif /*_IPT_LOG_H*/