[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.72 and 1.73

version 1.72, 2000/10/17 03:06:44 version 1.73, 2000/12/04 11:23:04
Line 554  udp4_realinput(src, dst, m, off)
Line 554  udp4_realinput(src, dst, m, off)
         dst4 = &dst->sin_addr;          dst4 = &dst->sin_addr;
         dport = &dst->sin_port;          dport = &dst->sin_port;
   
         if (IN_MULTICAST(src4->s_addr) ||          if (IN_MULTICAST(dst4->s_addr) ||
             in_broadcast(*dst4, m->m_pkthdr.rcvif)) {              in_broadcast(*dst4, m->m_pkthdr.rcvif)) {
                 struct inpcb *last;                  struct inpcb *last;
                 /*                  /*
Line 722  udp6_realinput(af, src, dst, m, off)
Line 722  udp6_realinput(af, src, dst, m, off)
         src4 = (struct in_addr *)&src->sin6_addr.s6_addr32[12];          src4 = (struct in_addr *)&src->sin6_addr.s6_addr32[12];
   
         if (IN6_IS_ADDR_MULTICAST(dst6)          if (IN6_IS_ADDR_MULTICAST(dst6)
          || (af == AF_INET && IN_MULTICAST(src4->s_addr))) {           || (af == AF_INET && IN_MULTICAST(dst4->s_addr))) {
                 struct in6pcb *last;                  struct in6pcb *last;
                 /*                  /*
                  * Deliver a multicast or broadcast datagram to *all* sockets                   * Deliver a multicast or broadcast datagram to *all* sockets

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.73

CVSweb <webmaster@jp.NetBSD.org>