Home | History | Annotate | Download | only in netfilter_bridge
      1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
      2 #ifndef __LINUX_BRIDGE_EBT_LOG_H
      3 #define __LINUX_BRIDGE_EBT_LOG_H
      4 
      5 #include <linux/types.h>
      6 
      7 #define EBT_LOG_IP 0x01 /* if the frame is made by ip, log the ip information */
      8 #define EBT_LOG_ARP 0x02
      9 #define EBT_LOG_NFLOG 0x04
     10 #define EBT_LOG_IP6 0x08
     11 #define EBT_LOG_MASK (EBT_LOG_IP | EBT_LOG_ARP | EBT_LOG_IP6)
     12 #define EBT_LOG_PREFIX_SIZE 30
     13 #define EBT_LOG_WATCHER "log"
     14 
     15 struct ebt_log_info {
     16 	__u8 loglevel;
     17 	__u8 prefix[EBT_LOG_PREFIX_SIZE];
     18 	__u32 bitmask;
     19 };
     20 
     21 #endif
     22