summaryrefslogtreecommitdiffstats
path: root/sys/net/if_fddisubr.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2003-11-14 21:02:22 +0000
committerandre <andre@FreeBSD.org>2003-11-14 21:02:22 +0000
commitde48630dfbd4851b73c7b9665f35c4b6dda706f6 (patch)
tree3e1327d0236ae8452ddd76bd0e5f5426c1bcfd14 /sys/net/if_fddisubr.c
parent53640e68942991cce3c7f1ab31ac16ec0de5c1d5 (diff)
downloadFreeBSD-src-de48630dfbd4851b73c7b9665f35c4b6dda706f6.zip
FreeBSD-src-de48630dfbd4851b73c7b9665f35c4b6dda706f6.tar.gz
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)
Diffstat (limited to 'sys/net/if_fddisubr.c')
-rw-r--r--sys/net/if_fddisubr.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud