From de48630dfbd4851b73c7b9665f35c4b6dda706f6 Mon Sep 17 00:00:00 2001 From: andre Date: Fri, 14 Nov 2003 21:02:22 +0000 Subject: Introduce ip_fastforward and remove ip_flow. Short description of ip_fastforward: o adds full direct process-to-completion IPv4 forwarding code o handles ip fragmentation incl. hw support (ip_flow did not) o sends icmp needfrag to source if DF is set (ip_flow did not) o supports ipfw and ipfilter (ip_flow did not) o supports divert, ipfw fwd and ipfilter nat (ip_flow did not) o returns anything it can't handle back to normal ip_input Enable with sysctl -w net.inet.ip.fastforwarding=1 Reviewed by: sam (mentor) --- sys/net/if_fddisubr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/net/if_fddisubr.c') diff --git a/sys/net/if_fddisubr.c b/sys/net/if_fddisubr.c index 0accd7d..b7f07db 100644 --- a/sys/net/if_fddisubr.c +++ b/sys/net/if_fddisubr.c @@ -471,7 +471,7 @@ fddi_input(ifp, m) switch (type) { #ifdef INET case ETHERTYPE_IP: - if (ipflow_fastforward(m)) + if (ip_fastforward(m)) return; isr = NETISR_IP; break; -- cgit v1.1