diff options
author | andre <andre@FreeBSD.org> | 2004-09-15 20:17:03 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2004-09-15 20:17:03 +0000 |
commit | 44b7e0a719a7bc452fa785f169e58af64b4f0a05 (patch) | |
tree | 875ee591b2b1cfd1e2d9cbdacc177fecc2b8cb04 /sys/netinet/ip_input.c | |
parent | 5b67b5c1f38fdb1ca745e61e704050eb2767e3be (diff) | |
download | FreeBSD-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/ip_input.c')
-rw-r--r-- | sys/netinet/ip_input.c | 8 |
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; |