[BACK]Return to raw_ip.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/raw_ip.c between version 1.94.4.1 and 1.94.4.2

version 1.94.4.1, 2007/02/27 16:54:56 version 1.94.4.2, 2007/03/12 05:59:38
Line 157  rip_input(struct mbuf *m, ...)
Line 157  rip_input(struct mbuf *m, ...)
         ripsrc.sin_len = sizeof(struct sockaddr_in);          ripsrc.sin_len = sizeof(struct sockaddr_in);
         ripsrc.sin_addr = ip->ip_src;          ripsrc.sin_addr = ip->ip_src;
         ripsrc.sin_port = 0;          ripsrc.sin_port = 0;
         bzero((caddr_t)ripsrc.sin_zero, sizeof(ripsrc.sin_zero));          bzero((void *)ripsrc.sin_zero, sizeof(ripsrc.sin_zero));
   
         /*          /*
          * XXX Compatibility: programs using raw IP expect ip_len           * XXX Compatibility: programs using raw IP expect ip_len
Line 513  rip_usrreq(struct socket *so, int req,
Line 513  rip_usrreq(struct socket *so, int req,
 #endif  #endif
   
         if (req == PRU_CONTROL)          if (req == PRU_CONTROL)
                 return (in_control(so, (long)m, (caddr_t)nam,                  return (in_control(so, (long)m, (void *)nam,
                     (struct ifnet *)control, l));                      (struct ifnet *)control, l));
   
         s = splsoftnet();          s = splsoftnet();

Legend:
Removed from v.1.94.4.1  
changed lines
  Added in v.1.94.4.2

CVSweb <webmaster@jp.NetBSD.org>