[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.1.1.2 and 1.1.1.3

version 1.1.1.2, 1998/01/05 09:54:30 version 1.1.1.3, 1998/01/05 09:56:15
Line 1 
Line 1 
 /*  /*
  * Copyright (c) 1982, 1986, 1988, 1990, 1993   * Copyright (c) 1982, 1986, 1988, 1990, 1993, 1995
  *      The Regents of the University of California.  All rights reserved.   *      The Regents of the University of California.  All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
Line 30 
Line 30 
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF   * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.   * SUCH DAMAGE.
  *   *
  *      @(#)udp_usrreq.c        8.4 (Berkeley) 1/21/94   *      @(#)udp_usrreq.c        8.6 (Berkeley) 5/23/95
  */   */
   
 #include <sys/param.h>  #include <sys/param.h>
Line 137  udp_input(m, iphlen)
Line 137  udp_input(m, iphlen)
         /*          /*
          * Checksum extended UDP header and data.           * Checksum extended UDP header and data.
          */           */
         if (udpcksum && uh->uh_sum) {          if (uh->uh_sum) {
                 ((struct ipovly *)ip)->ih_next = 0;                  ((struct ipovly *)ip)->ih_next = 0;
                 ((struct ipovly *)ip)->ih_prev = 0;                  ((struct ipovly *)ip)->ih_prev = 0;
                 ((struct ipovly *)ip)->ih_x1 = 0;                  ((struct ipovly *)ip)->ih_x1 = 0;
Line 477  udp_usrreq(so, req, m, addr, control)
Line 477  udp_usrreq(so, req, m, addr, control)
         int s;          int s;
   
         if (req == PRU_CONTROL)          if (req == PRU_CONTROL)
                 return (in_control(so, (int)m, (caddr_t)addr,                  return (in_control(so, (u_long)m, (caddr_t)addr,
                         (struct ifnet *)control));                          (struct ifnet *)control));
         if (inp == NULL && req != PRU_ATTACH) {          if (inp == NULL && req != PRU_ATTACH) {
                 error = EINVAL;                  error = EINVAL;

Legend:
Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3

CVSweb <webmaster@jp.NetBSD.org>