[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.107 and 1.107.2.2

version 1.107, 2012/06/22 18:26:35 version 1.107.2.2, 2014/08/20 00:04:44
Line 341  struct sockcred {
Line 341  struct sockcred {
  * Compute size of a sockcred structure with groups.   * Compute size of a sockcred structure with groups.
  */   */
 #define SOCKCREDSIZE(ngrps) \  #define SOCKCREDSIZE(ngrps) \
         (sizeof(struct sockcred) + (sizeof(gid_t) * ((ngrps) - 1)))          (sizeof(struct sockcred) + (sizeof(gid_t) * \
               ((ngrps) ? ((ngrps) - 1) : 0)))
 #endif /* _NETBSD_SOURCE */  #endif /* _NETBSD_SOURCE */
   
   
Line 428  struct kinfo_pcb {
Line 429  struct kinfo_pcb {
   
 #define ki_src ki_s._kis_src  #define ki_src ki_s._kis_src
 #define ki_dst ki_d._kid_dst  #define ki_dst ki_d._kid_dst
   #define ki_spad ki_s._kis_pad
   #define ki_dpad ki_d._kid_pad
   
 #define PCB_SLOP                20  #define PCB_SLOP                20
 #define PCB_ALL                 0  #define PCB_ALL                 0
Line 602  const struct sockaddr *sockaddr_any_by_f
Line 605  const struct sockaddr *sockaddr_any_by_f
 const void *sockaddr_anyaddr(const struct sockaddr *, socklen_t *);  const void *sockaddr_anyaddr(const struct sockaddr *, socklen_t *);
 int sockaddr_cmp(const struct sockaddr *, const struct sockaddr *);  int sockaddr_cmp(const struct sockaddr *, const struct sockaddr *);
 struct sockaddr *sockaddr_dup(const struct sockaddr *, int);  struct sockaddr *sockaddr_dup(const struct sockaddr *, int);
   void sockaddr_format(const struct sockaddr *, char *, size_t);
 void sockaddr_free(struct sockaddr *);  void sockaddr_free(struct sockaddr *);
 __END_DECLS  __END_DECLS
 #endif /* _KERNEL */  #endif /* _KERNEL */

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

CVSweb <webmaster@jp.NetBSD.org>