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_ef.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/net/if_ef.c') diff --git a/sys/net/if_ef.c b/sys/net/if_ef.c index 8b5aee0..a239613 100644 --- a/sys/net/if_ef.c +++ b/sys/net/if_ef.c @@ -253,7 +253,7 @@ ef_inputEII(struct mbuf *m, struct ether_header *eh, u_short ether_type) #endif #ifdef INET case ETHERTYPE_IP: - if (ipflow_fastforward(m)) + if (ip_fastforward(m)) return (0); isr = NETISR_IP; break; -- cgit v1.1