]> bbs.cooldavid.org Git - net-next-2.6.git/blame - include/linux/netfilter_bridge/ebt_log.h
Linux-2.6.12-rc2
[net-next-2.6.git] / include / linux / netfilter_bridge / ebt_log.h
CommitLineData
1da177e4
LT
1#ifndef __LINUX_BRIDGE_EBT_LOG_H
2#define __LINUX_BRIDGE_EBT_LOG_H
3
4#define EBT_LOG_IP 0x01 /* if the frame is made by ip, log the ip information */
5#define EBT_LOG_ARP 0x02
6#define EBT_LOG_MASK (EBT_LOG_IP | EBT_LOG_ARP)
7#define EBT_LOG_PREFIX_SIZE 30
8#define EBT_LOG_WATCHER "log"
9
10struct ebt_log_info
11{
12 uint8_t loglevel;
13 uint8_t prefix[EBT_LOG_PREFIX_SIZE];
14 uint32_t bitmask;
15};
16
17#endif