[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.110.4.2 and 1.110.4.3

version 1.110.4.2, 2015/12/27 12:10:18 version 1.110.4.3, 2016/04/22 15:44:19
Line 335  struct sockaddr_storage {
Line 335  struct sockaddr_storage {
   
 #if defined(_NETBSD_SOURCE)  #if defined(_NETBSD_SOURCE)
   
   #ifndef pid_t
   typedef __pid_t         pid_t;          /* process id */
   #define pid_t           __pid_t
   #endif
   
 #ifndef gid_t  #ifndef gid_t
 typedef __gid_t         gid_t;          /* group id */  typedef __gid_t         gid_t;          /* group id */
 #define gid_t           __gid_t  #define gid_t           __gid_t
Line 349  typedef __uid_t  uid_t;  /* user id */
Line 354  typedef __uid_t  uid_t;  /* user id */
  * Socket credentials.   * Socket credentials.
  */   */
 struct sockcred {  struct sockcred {
           pid_t   sc_pid;                 /* process id */
         uid_t   sc_uid;                 /* real user id */          uid_t   sc_uid;                 /* real user id */
         uid_t   sc_euid;                /* effective user id */          uid_t   sc_euid;                /* effective user id */
         gid_t   sc_gid;                 /* real group id */          gid_t   sc_gid;                 /* real group id */
Line 595  struct cmsghdr {
Line 601  struct cmsghdr {
 /* "Socket"-level control message types: */  /* "Socket"-level control message types: */
 #define SCM_RIGHTS      0x01            /* access rights (array of int) */  #define SCM_RIGHTS      0x01            /* access rights (array of int) */
 #if defined(_NETBSD_SOURCE)  #if defined(_NETBSD_SOURCE)
 /*                      0x02               timestamp (struct timeval50) */  /*                      0x02               timestamp (struct timeval50) */
 #define SCM_CREDS       0x04            /* credentials (struct sockcred) */  /*                      0x04               credentials (struct sockcred70) */
 #define SCM_TIMESTAMP   0x08            /* timestamp (struct timeval) */  #define SCM_TIMESTAMP   0x08            /* timestamp (struct timeval) */
   #define SCM_CREDS       0x10            /* credentials (struct sockcred) */
 #endif  #endif
   
 /*  /*

Legend:
Removed from v.1.110.4.2  
changed lines
  Added in v.1.110.4.3

CVSweb <webmaster@jp.NetBSD.org>