netfilter: move socket lookup infrastructure to nf_socket_ipv{4,6}.c
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 27 Oct 2016 18:49:48 +0000 (19:49 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 1 Nov 2016 19:50:31 +0000 (20:50 +0100)
commit8db4c5be88f62ffd7a552f70687a10c614dc697b
treee4804a3bbcf2271d7ee5ca85f2b49e9e68abc9e1
parent1fddf4bad0ac9f4d32c74af286fc1eec2a03c82c
netfilter: move socket lookup infrastructure to nf_socket_ipv{4,6}.c

We need this split to reuse existing codebase for the upcoming nf_tables
socket expression.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_socket.h [new file with mode: 0644]
net/ipv4/netfilter/Kconfig
net/ipv4/netfilter/Makefile
net/ipv4/netfilter/nf_socket_ipv4.c [new file with mode: 0644]
net/ipv6/netfilter/Kconfig
net/ipv6/netfilter/Makefile
net/ipv6/netfilter/nf_socket_ipv6.c [new file with mode: 0644]
net/netfilter/Kconfig
net/netfilter/xt_socket.c