[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.105 and 1.107

version 1.105, 2012/01/25 00:28:35 version 1.107, 2012/06/22 18:26:35
Line 495  struct msghdr {
Line 495  struct msghdr {
 #if defined(_NETBSD_SOURCE)  #if defined(_NETBSD_SOURCE)
 #define MSG_CMSG_CLOEXEC 0x0800         /* close on exec receiving fd */  #define MSG_CMSG_CLOEXEC 0x0800         /* close on exec receiving fd */
 #define MSG_NBIO        0x1000          /* use non-blocking I/O */  #define MSG_NBIO        0x1000          /* use non-blocking I/O */
   #define MSG_WAITFORONE  0x2000          /* recvmmsg() wait for one message */
   
   struct mmsghdr {
           struct msghdr msg_hdr;
           unsigned int msg_len;
   };
 #endif  #endif
   
 /* Extra flags used internally only */  /* Extra flags used internally only */
Line 544  struct cmsghdr {
Line 550  struct cmsghdr {
                             __CMSG_ALIGN(sizeof(struct cmsghdr)) > \                              __CMSG_ALIGN(sizeof(struct cmsghdr)) > \
             (((char *)(mhdr)->msg_control) + (mhdr)->msg_controllen)) ? \              (((char *)(mhdr)->msg_control) + (mhdr)->msg_controllen)) ? \
             (struct cmsghdr *)0 : \              (struct cmsghdr *)0 : \
             (struct cmsghdr *)((char *)(cmsg) + \              (struct cmsghdr *)(void *)((char *)(cmsg) + \
                 __CMSG_ALIGN((cmsg)->cmsg_len)))                  __CMSG_ALIGN((cmsg)->cmsg_len)))
   
 /*  /*
Line 629  __RENAME(__socket30)
Line 635  __RENAME(__socket30)
 #endif  #endif
                              ;                               ;
 int     socketpair(int, int, int, int *);  int     socketpair(int, int, int, int *);
   
   #if defined(_NETBSD_SOURCE)
   int     sendmmsg(int, struct mmsghdr *, unsigned int, unsigned int);
   struct timespec;
   int     recvmmsg(int, struct mmsghdr *, unsigned int, unsigned int,
       struct timespec *);
   #endif
 __END_DECLS  __END_DECLS
 #endif /* !_KERNEL */  #endif /* !_KERNEL */
   

Legend:
Removed from v.1.105  
changed lines
  Added in v.1.107

CVSweb <webmaster@jp.NetBSD.org>