netfilter: log: split family specific code to nf_log_{ip,ip6,common}.c files
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 19 Jun 2014 18:47:14 +0000 (20:47 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 27 Jun 2014 11:19:59 +0000 (13:19 +0200)
commit83e96d443b372611adf19e4171d41deb1d8760cf
tree47d97976a40831ac75475b0836029120702a2e3b
parent27fd8d90c996caa480ed6777eaaf21d9e5166cc3
netfilter: log: split family specific code to nf_log_{ip,ip6,common}.c files

The plain text logging is currently embedded into the xt_LOG target.
In order to be able to use the plain text logging from nft_log, as a
first step, this patch moves the family specific code to the following
files and Kconfig symbols:

1) net/ipv4/netfilter/nf_log_ip.c: CONFIG_NF_LOG_IPV4
2) net/ipv6/netfilter/nf_log_ip6.c: CONFIG_NF_LOG_IPV6
3) net/netfilter/nf_log_common.c: CONFIG_NF_LOG_COMMON

These new modules will be required by xt_LOG and nft_log. This patch
is based on original patch from Arturo Borrero Gonzalez.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_log.h
net/ipv4/netfilter/Kconfig
net/ipv4/netfilter/Makefile
net/ipv4/netfilter/nf_log_ipv4.c [new file with mode: 0644]
net/ipv6/netfilter/Kconfig
net/ipv6/netfilter/Makefile
net/ipv6/netfilter/nf_log_ipv6.c [new file with mode: 0644]
net/netfilter/Kconfig
net/netfilter/Makefile
net/netfilter/nf_log_common.c [new file with mode: 0644]
net/netfilter/xt_LOG.c
This page took 0.028052 seconds and 5 git commands to generate.