wsvns.h 537 B

123456789101112131415161718192021
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef _WSVNS_
  7. #define _WSVNS_
  8. typedef struct sockaddr_vns {
  9. u_short sin_family;
  10. u_char net_address[4];
  11. u_char subnet_addr[2];
  12. u_char port[2];
  13. u_char hops;
  14. u_char filler[5];
  15. } SOCKADDR_VNS,*PSOCKADDR_VNS,*LPSOCKADDR_VNS;
  16. #define VNSPROTO_IPC 1
  17. #define VNSPROTO_RELIABLE_IPC 2
  18. #define VNSPROTO_SPP 3
  19. #endif