| 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 | |
| 9 | typedef struct sockaddr_vns { |
| 10 | u_short sin_family; |
| 11 | u_char net_address[4]; |
| 12 | u_char subnet_addr[2]; |
| 13 | u_char port[2]; |
| 14 | u_char hops; |
| 15 | u_char filler[5]; |
| 16 | } SOCKADDR_VNS,*PSOCKADDR_VNS,*LPSOCKADDR_VNS; |
| 17 | |
| 18 | #define VNSPROTO_IPC 1 |
| 19 | #define VNSPROTO_RELIABLE_IPC 2 |
| 20 | #define VNSPROTO_SPP 3 |
| 21 | #endif |