aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTaehee Yoo <ap420073@gmail.com>2018-04-09 16:40:34 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-04-19 13:02:44 +0200
commitce20cdf498bdfa6c6130be75cf4359dad305ebcd (patch)
tree66b8bf69a90acc450b7b06395bc3b71b7f5bf1b8 /include
parentipv6: frags: fix a lockdep false positive (diff)
downloadlinux-dev-ce20cdf498bdfa6c6130be75cf4359dad305ebcd.tar.xz
linux-dev-ce20cdf498bdfa6c6130be75cf4359dad305ebcd.zip
netfilter: xt_NFLOG: use nf_log_packet instead of nfulnl_log_packet.
The nfulnl_log_packet() is added to make sure that the NFLOG target works as only user-space logger. but now, nf_log_packet() can find proper log function using NF_LOG_TYPE_ULOG and NF_LOG_TYPE_LOG. Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/netfilter/nfnetlink_log.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/net/netfilter/nfnetlink_log.h b/include/net/netfilter/nfnetlink_log.h
index 612cfb63ac68..ea32a7d3cf1b 100644
--- a/include/net/netfilter/nfnetlink_log.h
+++ b/include/net/netfilter/nfnetlink_log.h
@@ -1,18 +1 @@
/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _KER_NFNETLINK_LOG_H
-#define _KER_NFNETLINK_LOG_H
-
-void
-nfulnl_log_packet(struct net *net,
- u_int8_t pf,
- unsigned int hooknum,
- const struct sk_buff *skb,
- const struct net_device *in,
- const struct net_device *out,
- const struct nf_loginfo *li_user,
- const char *prefix);
-
-#define NFULNL_COPY_DISABLED 0xff
-
-#endif /* _KER_NFNETLINK_LOG_H */
-