]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* IPv6 macros for the nternal logging interface. */ |
2 | #ifndef __IP6_LOGGING_H | |
3 | #define __IP6_LOGGING_H | |
4 | ||
5 | #ifdef __KERNEL__ | |
6 | #include <linux/socket.h> | |
7 | #include <linux/netfilter_logging.h> | |
8 | ||
9 | #define nf_log_ip6_packet(pskb,hooknum,in,out,fmt,args...) \ | |
10 | nf_log_packet(AF_INET6,pskb,hooknum,in,out,fmt,##args) | |
11 | ||
12 | #define nf_log_ip6(pfh,len,fmt,args...) \ | |
13 | nf_log(AF_INET6,pfh,len,fmt,##args) | |
14 | ||
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) | |
17 | ||
18 | #endif /*__KERNEL__*/ | |
19 | ||
20 | #endif /*__IP6_LOGGING_H*/ |