netfilter: built-in NAT support for DCCP
authorDavide Caratti <dcaratti@redhat.com>
Thu, 20 Oct 2016 16:33:01 +0000 (18:33 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 4 Dec 2016 19:45:30 +0000 (20:45 +0100)
commit0c4e966eafff8253bec545d8c27b9efa231c1f62
tree24ddd7a41a200d2149405c670b0465bc9d1a8d91
parentcd7275146885e7bc532ee2e0186dfd2b5c0b745f
netfilter: built-in NAT support for DCCP

CONFIG_NF_NAT_PROTO_DCCP is no more a tristate. When set to y, NAT
support for DCCP protocol is built-in into nf_nat.ko.

footprint test:

(nf_nat_proto_)           | dccp   || nf_nat
--------------------------+--------++--------
no builtin                | 409800 || 2241312
DCCP builtin              |   -    || 2578968

Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_nat_l4proto.h
net/netfilter/Kconfig
net/netfilter/Makefile
net/netfilter/nf_nat_core.c
net/netfilter/nf_nat_proto_dccp.c