]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
netfilter: nf_log: add packet logging for netdev family
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 27 Oct 2016 18:49:42 +0000 (19:49 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 1 Nov 2016 19:50:30 +0000 (20:50 +0100)
commit1fddf4bad0ac9f4d32c74af286fc1eec2a03c82c
treecbd3dd9abce08ccc0895235e52d3c0e9beb32797
parentf6d0cbcf09c506b9b022df8f9d7693a7cec3c732
netfilter: nf_log: add packet logging for netdev family

Move layer 2 packet logging into nf_log_l2packet() that resides in
nf_log_common.c, so this can be shared by both bridge and netdev
families.

This patch adds the boiler plate code to register the netdev logging
family.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_log.h
net/bridge/netfilter/Kconfig
net/bridge/netfilter/nf_log_bridge.c
net/netfilter/Kconfig
net/netfilter/Makefile
net/netfilter/nf_log_common.c
net/netfilter/nf_log_netdev.c [new file with mode: 0644]