[BACK]Return to udp_usrreq.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet/udp_usrreq.c between version 1.93.2.1 and 1.93.2.2

version 1.93.2.1, 2002/06/20 15:52:32 version 1.93.2.2, 2002/07/15 10:37:03
Line 262  udp_input(m, va_alist)
Line 262  udp_input(m, va_alist)
                 return;                  return;
         }          }
 #endif  #endif
           KASSERT(UDP_HDR_ALIGNED_P(uh));
   
         /* destination port of 0 is illegal, based on RFC768. */          /* destination port of 0 is illegal, based on RFC768. */
         if (uh->uh_dport == 0)          if (uh->uh_dport == 0)
Line 418  udp6_input(mp, offp, proto)
Line 419  udp6_input(mp, offp, proto)
                 return IPPROTO_DONE;                  return IPPROTO_DONE;
         }          }
 #endif  #endif
           KASSERT(UDP_HDR_ALIGNED_P(uh));
         ulen = ntohs((u_short)uh->uh_ulen);          ulen = ntohs((u_short)uh->uh_ulen);
         /*          /*
          * RFC2675 section 4: jumbograms will have 0 in the UDP header field,           * RFC2675 section 4: jumbograms will have 0 in the UDP header field,

Legend:
Removed from v.1.93.2.1  
changed lines
  Added in v.1.93.2.2

CVSweb <webmaster@jp.NetBSD.org>