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-04-03 14:33:42 -07:00
2008-01-31 19:28:31 -08:00
2008-04-02 22:35:23 -07:00
2008-03-26 04:39:53 +09:00
2008-04-10 03:33:03 -07:00
2008-03-27 18:48:56 -07:00
2008-04-02 22:35:23 -07:00
2008-04-14 09:56:03 +02:00
2008-03-26 04:39:53 +09:00
2008-04-14 00:05:09 -07:00
2008-04-13 22:33:06 -07:00
2008-03-26 04:39:55 +09:00
2008-03-26 04:39:53 +09:00
2008-01-28 15:00:05 -08:00
2008-03-13 16:02:31 -04:00
2008-04-14 11:15:46 +02:00
2008-04-14 11:15:45 +02:00
2008-03-26 04:39:53 +09:00
2008-03-27 18:48:56 -07:00
2008-04-10 02:12:45 -07:00
2008-04-12 19:07:52 -07:00
2008-01-28 14:56:52 -08:00
2008-04-02 22:35:23 -07:00
2008-04-08 16:46:36 -04:00
2008-04-14 11:15:45 +02:00
2008-03-26 04:39:53 +09:00
2008-03-26 04:40:00 +09:00
2008-03-26 04:39:55 +09:00
2008-03-26 04:39:55 +09:00
2008-02-23 10:40:04 -08:00
2008-04-02 22:35:23 -07:00
2008-04-03 14:33:42 -07:00
2008-04-02 22:35:23 -07:00
2008-04-12 18:55:12 -07:00
2008-04-03 14:33:42 -07:00
2008-04-13 21:35:11 -07:00
2008-04-12 19:04:38 -07:00
2008-02-28 14:15:56 -08:00
2008-04-08 16:44:41 -04:00
2008-03-26 04:39:55 +09:00
2008-04-12 19:07:52 -07:00
2008-01-28 14:58:36 -08:00
2008-03-04 15:18:22 +09:00
2008-01-28 14:54:10 -08:00
2008-03-31 19:41:14 -07:00
2008-01-28 14:56:29 -08:00