aboutsummaryrefslogtreecommitdiff
path: root/include/linux/netfilter_ipv6/ip6_logging.h
blob: a0b2ee3043aaa29f3519267173e3731bb178a2d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* IPv6 macros for the nternal logging interface. */
#ifndef __IP6_LOGGING_H
#define __IP6_LOGGING_H

#ifdef __KERNEL__
#include <linux/socket.h>
#include <linux/netfilter_logging.h>

#define nf_log_ip6_packet(pskb,hooknum,in,out,fmt,args...) \
	nf_log_packet(AF_INET6,pskb,hooknum,in,out,fmt,##args)

#define nf_log_ip6(pfh,len,fmt,args...) \
	nf_log(AF_INET6,pfh,len,fmt,##args)

#define nf_ip6_log_register(logging) nf_log_register(AF_INET6,logging)
#define nf_ip6_log_unregister(logging) nf_log_unregister(AF_INET6,logging)
	
#endif /*__KERNEL__*/

#endif /*__IP6_LOGGING_H*/