[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.99 and 1.100

version 1.99, 2011/02/01 01:39:21 version 1.100, 2011/06/26 16:43:12
Line 97  typedef _BSD_SSIZE_T_ ssize_t;
Line 97  typedef _BSD_SSIZE_T_ ssize_t;
 #endif  #endif
   
 #include <sys/uio.h>  #include <sys/uio.h>
   #include <sys/sigtypes.h>
   
 /*  /*
  * Socket types.   * Socket types.
Line 107  typedef _BSD_SSIZE_T_ ssize_t;
Line 108  typedef _BSD_SSIZE_T_ ssize_t;
 #define SOCK_RDM        4               /* reliably-delivered message */  #define SOCK_RDM        4               /* reliably-delivered message */
 #define SOCK_SEQPACKET  5               /* sequenced packet stream */  #define SOCK_SEQPACKET  5               /* sequenced packet stream */
   
   #define SOCK_CLOEXEC    0x10000000      /* set close on exec on socket */
   #define SOCK_NONBLOCK   0x20000000      /* set non blocking i/o socket */
   #define SOCK_FLAGS_MASK 0xf0000000      /* flags mask */
   
 /*  /*
  * Option flags per-socket.   * Option flags per-socket.
  */   */
Line 485  struct msghdr {
Line 490  struct msghdr {
 #define MSG_BCAST       0x0100          /* this message was rcvd using link-level brdcst */  #define MSG_BCAST       0x0100          /* this message was rcvd using link-level brdcst */
 #define MSG_MCAST       0x0200          /* this message was rcvd using link-level mcast */  #define MSG_MCAST       0x0200          /* this message was rcvd using link-level mcast */
 #define MSG_NOSIGNAL    0x0400          /* do not generate SIGPIPE on EOF */  #define MSG_NOSIGNAL    0x0400          /* do not generate SIGPIPE on EOF */
   #if defined(_NETBSD_SOURCE)
   #define MSG_CMSG_CLOEXEC 0x0800         /* close on exec receiving fd */
   #endif
   
 /* Extra flags used internally only */  /* Extra flags used internally only */
 #define MSG_USERFLAGS   0x0ffffff  #define MSG_USERFLAGS   0x0ffffff
Line 603  int getpeername(int, struct sockaddr * _
Line 611  int getpeername(int, struct sockaddr * _
 int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);  int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
 int     getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);  int     getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);
 int     listen(int, int);  int     listen(int, int);
   int     paccept(int, struct sockaddr * __restrict, socklen_t * __restrict,
           const sigset_t * __restrict, int);
 ssize_t recv(int, void *, size_t, int);  ssize_t recv(int, void *, size_t, int);
 ssize_t recvfrom(int, void *__restrict, size_t, int,  ssize_t recvfrom(int, void *__restrict, size_t, int,
             struct sockaddr * __restrict, socklen_t * __restrict);              struct sockaddr * __restrict, socklen_t * __restrict);

Legend:
Removed from v.1.99  
changed lines
  Added in v.1.100

CVSweb <webmaster@jp.NetBSD.org>