93f6515872
It implements matching functions for IPv6 address & traffic class (merged from the patch sent by Jan Engelhardt [jengelh@computergmbh.de] http://marc.info/?l=netfilter-devel&m=120182168424052&w=2), protocol, and layer-4 port id. Corresponding watcher logging function is also added for IPv6. Signed-off-by: Kuo-lang Tseng <kuo-lang.tseng@intel.com> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
20 lines
458 B
C
20 lines
458 B
C
#ifndef __LINUX_BRIDGE_EBT_LOG_H
|
|
#define __LINUX_BRIDGE_EBT_LOG_H
|
|
|
|
#define EBT_LOG_IP 0x01 /* if the frame is made by ip, log the ip information */
|
|
#define EBT_LOG_ARP 0x02
|
|
#define EBT_LOG_NFLOG 0x04
|
|
#define EBT_LOG_IP6 0x08
|
|
#define EBT_LOG_MASK (EBT_LOG_IP | EBT_LOG_ARP | EBT_LOG_IP6)
|
|
#define EBT_LOG_PREFIX_SIZE 30
|
|
#define EBT_LOG_WATCHER "log"
|
|
|
|
struct ebt_log_info
|
|
{
|
|
uint8_t loglevel;
|
|
uint8_t prefix[EBT_LOG_PREFIX_SIZE];
|
|
uint32_t bitmask;
|
|
};
|
|
|
|
#endif
|