[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.24 and 1.25

version 1.24, 1997/05/02 22:19:13 version 1.25, 1997/05/02 22:23:13
Line 132  struct linger {
Line 132  struct linger {
   
 /*  /*
  * Structure used by kernel to store most addresses.   * Structure used by kernel to store most addresses.
  * Force this to have the host's natural alignment.   * Force this to have 4-byte alignment.
  */   */
 struct sockaddr {  struct sockaddr {
         u_char  sa_len;                 /* total length */          u_char  sa_len;                 /* total length */
         u_char  sa_family;              /* address family */          u_char  sa_family;              /* address family */
         char    sa_data[14];            /* actually longer; address value */          char    sa_data[14];            /* actually longer; address value */
 } __attribute__((aligned(sizeof(long))));  } __attribute__((aligned(4)));
   
 /*  /*
  * Structure used by kernel to pass protocol   * Structure used by kernel to pass protocol

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

CVSweb <webmaster@jp.NetBSD.org>