mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 10:35:54 -04:00
netfilter: built-in NAT support for SCTP
CONFIG_NF_NAT_PROTO_SCTP is no more a tristate. When set to y, NAT support for SCTP protocol is built-in into nf_nat.ko. footprint test: (nf_nat_proto_) | sctp || nf_nat --------------------------+--------++-------- no builtin | 428344 || 2241312 SCTP builtin | - || 2597032 Signed-off-by: Davide Caratti <dcaratti@redhat.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
committed by
Pablo Neira Ayuso
parent
0c4e966eaf
commit
7a2dd28c70
@@ -57,6 +57,9 @@ extern const struct nf_nat_l4proto nf_nat_l4proto_unknown;
|
||||
#ifdef CONFIG_NF_NAT_PROTO_DCCP
|
||||
extern const struct nf_nat_l4proto nf_nat_l4proto_dccp;
|
||||
#endif
|
||||
#ifdef CONFIG_NF_NAT_PROTO_SCTP
|
||||
extern const struct nf_nat_l4proto nf_nat_l4proto_sctp;
|
||||
#endif
|
||||
|
||||
bool nf_nat_l4proto_in_range(const struct nf_conntrack_tuple *tuple,
|
||||
enum nf_nat_manip_type maniptype,
|
||||
|
||||
Reference in New Issue
Block a user