[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.45 and 1.46

version 1.45, 1999/07/01 20:09:57 version 1.46, 1999/07/03 13:37:34
Line 205  struct sockproto {
Line 205  struct sockproto {
 #define _SS_PAD2SIZE    (_SS_MAXSIZE - sizeof(u_char) * 2 - \  #define _SS_PAD2SIZE    (_SS_MAXSIZE - sizeof(u_char) * 2 - \
                                 _SS_PAD1SIZE - _SS_ALIGNSIZE)                                  _SS_PAD1SIZE - _SS_ALIGNSIZE)
   
   #if !defined(_XOPEN_SOURCE) || (_XOPEN_SOURCE - 0) >= 500
 struct sockaddr_storage {  struct sockaddr_storage {
         u_char  __ss_len;       /* address length */          u_char  __ss_len;       /* address length */
         u_char  __ss_family;    /* address family */          u_char  __ss_family;    /* address family */
Line 212  struct sockaddr_storage {
Line 213  struct sockaddr_storage {
         int64_t __ss_align;     /* force desired structure storage alignment */          int64_t __ss_align;     /* force desired structure storage alignment */
         char    __ss_pad2[_SS_PAD2SIZE];          char    __ss_pad2[_SS_PAD2SIZE];
 };  };
 #endif  #endif /* !_XOPEN_SOURCE || ... */
   #endif /* 1 */
   
 /*  /*
  * Protocol families, same as address families for now.   * Protocol families, same as address families for now.
Line 480  __END_DECLS
Line 482  __END_DECLS
 #define MSG_COMPAT      0x8000  #define MSG_COMPAT      0x8000
 #endif  #endif
   
 #include <sys/cdefs.h>  
   
 __BEGIN_DECLS  
 void    pfctlinput __P((int, struct sockaddr *));  void    pfctlinput __P((int, struct sockaddr *));
 __END_DECLS  
 #endif /* !_KERNEL */  #endif /* !_KERNEL */
   
 #endif /* !_SYS_SOCKET_H_ */  #endif /* !_SYS_SOCKET_H_ */

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

CVSweb <webmaster@jp.NetBSD.org>