Clarify some comments for the M_FASTFWD_OURS case in ip_input().

This commit is contained in:
Andre Oppermann 2004-09-15 20:17:03 +00:00
parent e098266191
commit 76ff6dcf46

View File

@ -301,11 +301,11 @@ ip_input(struct mbuf *m)
if (m->m_flags & M_FASTFWD_OURS) { if (m->m_flags & M_FASTFWD_OURS) {
/* /*
* ip_fastforward firewall changed dest to local. * Firewall or NAT changed destination to local.
* We expect ip_len and ip_off in host byte order. * We expect ip_len and ip_off to be in host byte order.
*/ */
m->m_flags &= ~M_FASTFWD_OURS; /* for reflected mbufs */ m->m_flags &= ~M_FASTFWD_OURS;
/* Set up some basic stuff */ /* Set up some basics that will be used later. */
ip = mtod(m, struct ip *); ip = mtod(m, struct ip *);
hlen = ip->ip_hl << 2; hlen = ip->ip_hl << 2;
goto ours; goto ours;