[BACK]Return to socket.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / sys

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

Diff for /src/sys/sys/socket.h between version 1.8 and 1.15

version 1.8, 1994/05/13 06:12:10 version 1.15, 1996/05/02 00:25:13
Line 1 
Line 1 
   /*      $NetBSD$        */
   
 /*  /*
  * Copyright (c) 1982, 1985, 1986, 1988, 1993, 1994   * Copyright (c) 1982, 1985, 1986, 1988, 1993, 1994
  *      The Regents of the University of California.  All rights reserved.   *      The Regents of the University of California.  All rights reserved.
Line 30 
Line 32 
  * 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.
  *   *
  *      from: @(#)socket.h      8.4 (Berkeley) 2/21/94   *      @(#)socket.h    8.4 (Berkeley) 2/21/94
  *      $Id$  
  */   */
   
 #ifndef _SYS_SOCKET_H_  #ifndef _SYS_SOCKET_H_
Line 236  struct sockproto {
Line 237  struct sockproto {
 }  }
   
 /*  /*
  * Maximum queue length specifiable by listen.   * Maximum queue length specifiable by listen(2).
  */   */
 #define SOMAXCONN       5  #ifndef SOMAXCONN
   #define SOMAXCONN       128
   #endif
 /*  /*
  * Message header for recvmsg and sendmsg calls.   * Message header for recvmsg and sendmsg calls.
  * Used value-result for recvmsg, value only for sendmsg.   * Used value-result for recvmsg, value only for sendmsg.
Line 311  struct omsghdr {
Line 313  struct omsghdr {
         int     msg_accrightslen;          int     msg_accrightslen;
 };  };
   
 #ifndef KERNEL  #ifndef _KERNEL
   
 #include <sys/cdefs.h>  #include <sys/cdefs.h>
   
Line 335  int shutdown __P((int, int));
Line 337  int shutdown __P((int, int));
 int     socket __P((int, int, int));  int     socket __P((int, int, int));
 int     socketpair __P((int, int, int, int *));  int     socketpair __P((int, int, int, int *));
 __END_DECLS  __END_DECLS
   #else
   # if defined(COMPAT_43) || defined(COMPAT_SUNOS) || defined(COMPAT_LINUX) || \
        defined(COMPAT_HPUX) || defined(COMPAT_FREEBSD)
   #  define COMPAT_OLDSOCK
   #  define MSG_COMPAT    0x8000
   # endif
   #endif /* !_KERNEL */
   
 #endif /* !KERNEL */  
 #endif /* !_SYS_SOCKET_H_ */  #endif /* !_SYS_SOCKET_H_ */

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.15

CVSweb <webmaster@jp.NetBSD.org>