mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-20 18:39:12 +00:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
20 lines
570 B
C
20 lines
570 B
C
/* IPv4 macros for the internal logging interface. */
|
|
#ifndef __IP_LOGGING_H
|
|
#define __IP_LOGGING_H
|
|
|
|
#ifdef __KERNEL__
|
|
#include <linux/socket.h>
|
|
#include <linux/netfilter_logging.h>
|
|
|
|
#define nf_log_ip_packet(pskb,hooknum,in,out,fmt,args...) \
|
|
nf_log_packet(AF_INET,pskb,hooknum,in,out,fmt,##args)
|
|
|
|
#define nf_log_ip(pfh,len,fmt,args...) \
|
|
nf_log(AF_INET,pfh,len,fmt,##args)
|
|
|
|
#define nf_ip_log_register(logging) nf_log_register(AF_INET,logging)
|
|
#define nf_ip_log_unregister(logging) nf_log_unregister(AF_INET,logging)
|
|
|
|
#endif /*__KERNEL__*/
|
|
|
|
#endif /*__IP_LOGGING_H*/
|