summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2004-09-15 20:17:03 +0000
committerandre <andre@FreeBSD.org>2004-09-15 20:17:03 +0000
commit44b7e0a719a7bc452fa785f169e58af64b4f0a05 (patch)
tree875ee591b2b1cfd1e2d9cbdacc177fecc2b8cb04 /sys/netinet
parent5b67b5c1f38fdb1ca745e61e704050eb2767e3be (diff)
downloadFreeBSD-src-44b7e0a719a7bc452fa785f169e58af64b4f0a05.zip
FreeBSD-src-44b7e0a719a7bc452fa785f169e58af64b4f0a05.tar.gz
Clarify some comments for the M_FASTFWD_OURS case in ip_input().
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_input.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index fac2fc9..4072bc76 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -301,11 +301,11 @@ ip_input(struct mbuf *m)
if (m->m_flags & M_FASTFWD_OURS) {
/*
- * ip_fastforward firewall changed dest to local.
- * We expect ip_len and ip_off in host byte order.
+ * Firewall or NAT changed destination to local.
+ * We expect ip_len and ip_off to be in host byte order.
*/
- m->m_flags &= ~M_FASTFWD_OURS; /* for reflected mbufs */
- /* Set up some basic stuff */
+ m->m_flags &= ~M_FASTFWD_OURS;
+ /* Set up some basics that will be used later. */
ip = mtod(m, struct ip *);
hlen = ip->ip_hl << 2;
goto ours;
OpenPOWER on IntegriCloud