[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.41 and 1.42

version 1.41, 1997/06/24 19:31:34 version 1.42, 1997/07/28 22:19:53
Line 455  release:
Line 455  release:
         return (error);          return (error);
 }  }
   
 u_long  udp_sendspace = 9216;           /* really max datagram size */  int     udp_sendspace = 9216;           /* really max datagram size */
 u_long  udp_recvspace = 40 * (1024 + sizeof(struct sockaddr_in));  int     udp_recvspace = 40 * (1024 + sizeof(struct sockaddr_in));
                                         /* 40 1K datagrams */                                          /* 40 1K datagrams */
   
 /*ARGSUSED*/  /*ARGSUSED*/
Line 638  udp_sysctl(name, namelen, oldp, oldlenp,
Line 638  udp_sysctl(name, namelen, oldp, oldlenp,
         switch (name[0]) {          switch (name[0]) {
         case UDPCTL_CHECKSUM:          case UDPCTL_CHECKSUM:
                 return (sysctl_int(oldp, oldlenp, newp, newlen, &udpcksum));                  return (sysctl_int(oldp, oldlenp, newp, newlen, &udpcksum));
           case UDPCTL_SENDSPACE:
                   return (sysctl_int(oldp, oldlenp, newp, newlen,
                       &udp_sendspace));
           case UDPCTL_RECVSPACE:
                   return (sysctl_int(oldp, oldlenp, newp, newlen,
                       &udp_recvspace));
         default:          default:
                 return (ENOPROTOOPT);                  return (ENOPROTOOPT);
         }          }

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

CVSweb <webmaster@jp.NetBSD.org>