mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-20 02:19:01 +00:00
bafac2a512
The nfnetlink_log infrastructure changes broke compatiblity of the LOG targets. They currently use whatever log backend was registered first, which means that if ipt_ULOG was loaded first, no messages will be printed to the ring buffer anymore. Restore compatiblity by using the old log functions by default and only use the nf_log backend if the user explicitly said so. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
18 lines
419 B
C
18 lines
419 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_MASK (EBT_LOG_IP | EBT_LOG_ARP)
|
|
#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
|