Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / netfilter_ipv6 / ip6_logging.h
bloba0b2ee3043aaa29f3519267173e3731bb178a2d4
1 /* IPv6 macros for the nternal logging interface. */
2 #ifndef __IP6_LOGGING_H
3 #define __IP6_LOGGING_H
5 #ifdef __KERNEL__
6 #include <linux/socket.h>
7 #include <linux/netfilter_logging.h>
9 #define nf_log_ip6_packet(pskb,hooknum,in,out,fmt,args...) \
10 nf_log_packet(AF_INET6,pskb,hooknum,in,out,fmt,##args)
12 #define nf_log_ip6(pfh,len,fmt,args...) \
13 nf_log(AF_INET6,pfh,len,fmt,##args)
15 #define nf_ip6_log_register(logging) nf_log_register(AF_INET6,logging)
16 #define nf_ip6_log_unregister(logging) nf_log_unregister(AF_INET6,logging)
18 #endif /*__KERNEL__*/
20 #endif /*__IP6_LOGGING_H*/