ipt_LOG.h revision e37d45ce390c2f5a7f1e64742b9100ecef0def54
13742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman#ifndef _IPT_LOG_H 23742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman#define _IPT_LOG_H 33742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman 43742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman/* make sure not to change this without changing netfilter.h:NF_LOG_* (!) */ 53742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman#define IPT_LOG_TCPSEQ 0x01 /* Log TCP sequence numbers */ 63742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman#define IPT_LOG_TCPOPT 0x02 /* Log TCP options */ 73742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman#define IPT_LOG_IPOPT 0x04 /* Log IP options */ 83742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman#define IPT_LOG_UID 0x08 /* Log UID owning local socket */ 93742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman#define IPT_LOG_NFLOG 0x10 /* Unsupported, don't reuse */ 103742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman#define IPT_LOG_MACDECODE 0x20 /* Decode MAC header */ 113742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman#define IPT_LOG_MASK 0x2f 123742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman 133742d9db8b6edb10627b0f89336cca5249f1d15aManuel Romanstruct ipt_log_info { 143742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman unsigned char level; 153742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman unsigned char logflags; 163742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman char prefix[30]; 173742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman}; 183742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman 193742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman#endif /*_IPT_LOG_H*/ 203742d9db8b6edb10627b0f89336cca5249f1d15aManuel Roman