Patrick McHardy
937e0dfd87
[NETFILTER]: nf_nat: add helpers for common NAT protocol operations
Add generic ->in_range and ->unique_tuple ops to avoid duplicating them
again and again for future NAT modules and save a few bytes of text:
net/ipv4/netfilter/nf_nat_proto_tcp.c:
tcp_in_range | -62 (removed)
tcp_unique_tuple | -259 # 271 -> 12, # inlines: 1 -> 0, size inlines: 7 -> 0
2 functions changed, 321 bytes removed
net/ipv4/netfilter/nf_nat_proto_udp.c:
udp_in_range | -62 (removed)
udp_unique_tuple | -259 # 271 -> 12, # inlines: 1 -> 0, size inlines: 7 -> 0
2 functions changed, 321 bytes removed
net/ipv4/netfilter/nf_nat_proto_gre.c:
gre_in_range | -62 (removed)
1 function changed, 62 bytes removed
vmlinux:
5 functions changed, 704 bytes removed
Signed-off-by: Patrick McHardy <kaber@trash.net>
2008-04-14 11:15:46 +02:00
..
2008-01-28 15:10:34 -08:00
2008-01-31 19:28:13 -08:00
2008-03-25 20:09:15 -07:00
2008-03-10 16:43:41 -07:00
2008-03-25 20:09:15 -07:00
2008-01-31 19:27:59 -08:00
2008-01-31 19:27:59 -08:00
2008-03-25 20:09:33 -07:00
2008-03-25 20:26:24 -07:00
2008-01-31 19:27:32 -08:00
2007-10-15 12:26:29 -07:00
2007-10-15 12:26:29 -07:00
2008-04-14 11:15:46 +02:00
2007-10-15 12:26:29 -07:00
2008-01-28 14:58:57 -08:00
2008-01-28 14:56:14 -08:00
2008-01-28 14:56:02 -08:00