Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /**
  2.  * This file has no copyright assigned and is placed in the Public Domain.
  3.  * This file is part of the w64 mingw-runtime package.
  4.  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5.  */
  6.  
  7. #ifndef s6_addr
  8.  
  9. #include <_bsd_types.h>
  10.  
  11. typedef struct in6_addr {
  12.   union {
  13.     u_char Byte[16];
  14.     u_short Word[8];
  15.   } u;
  16. } IN6_ADDR, *PIN6_ADDR, *LPIN6_ADDR;
  17.  
  18. #define in_addr6        in6_addr
  19.  
  20. #define _S6_un          u
  21. #define _S6_u8          Byte
  22. #define s6_addr         _S6_un._S6_u8
  23.  
  24. #define s6_bytes        u.Byte
  25. #define s6_words        u.Word
  26.  
  27. #endif /* s6_addr */
  28.  
  29.