blob: 7e7f1d1fe4946808655c1582b76930dfdf39adb1 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __LINUX_BRIDGE_EBT_LOG_H
2#define __LINUX_BRIDGE_EBT_LOG_H
3
Jan Engelhardt06988b02011-01-20 17:50:17 +01004#include <linux/types.h>
5
Linus Torvalds1da177e2005-04-16 15:20:36 -07006#define EBT_LOG_IP 0x01 /* if the frame is made by ip, log the ip information */
7#define EBT_LOG_ARP 0x02
Patrick McHardybafac2a2006-02-27 13:04:17 -08008#define EBT_LOG_NFLOG 0x04
Kuo-lang Tseng93f65152008-06-09 15:55:45 -07009#define EBT_LOG_IP6 0x08
10#define EBT_LOG_MASK (EBT_LOG_IP | EBT_LOG_ARP | EBT_LOG_IP6)
Linus Torvalds1da177e2005-04-16 15:20:36 -070011#define EBT_LOG_PREFIX_SIZE 30
12#define EBT_LOG_WATCHER "log"
13
Eric Dumazetd94d9fe2009-11-04 09:50:58 -080014struct ebt_log_info {
Jan Engelhardt0260c1d2011-01-18 07:33:09 +010015 __u8 loglevel;
16 __u8 prefix[EBT_LOG_PREFIX_SIZE];
17 __u32 bitmask;
Linus Torvalds1da177e2005-04-16 15:20:36 -070018};
19
20#endif