1 /* Internal logging interface, which relies on the real
3 #ifndef __LINUX_NETFILTER_LOGGING_H
4 #define __LINUX_NETFILTER_LOGGING_H
7 #include <asm/atomic.h>
10 void (*nf_log_packet
)(struct sk_buff
**pskb
,
12 const struct net_device
*in
,
13 const struct net_device
*out
,
15 void (*nf_log
)(char *pfh
, size_t len
,
19 extern void nf_log_register(int pf
, const struct nf_logging_t
*logging
);
20 extern void nf_log_unregister(int pf
, const struct nf_logging_t
*logging
);
22 extern void nf_log_packet(int pf
,
23 struct sk_buff
**pskb
,
25 const struct net_device
*in
,
26 const struct net_device
*out
,
27 const char *fmt
, ...);
28 extern void nf_log(int pf
,
29 char *pfh
, size_t len
,
30 const char *fmt
, ...);
33 #endif /*__LINUX_NETFILTER_LOGGING_H*/