source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/wsnwlink.h

Last change on this file was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.7 KB
RevLine 
[1166]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 _WSNWLINK_
7#define _WSNWLINK_
8
9#define IPX_PTYPE 0x4000
10
11#define IPX_FILTERPTYPE 0x4001
12#define IPX_STOPFILTERPTYPE 0x4003
13#define IPX_DSTYPE 0x4002
14#define IPX_EXTENDED_ADDRESS 0x4004
15#define IPX_RECVHDR 0x4005
16#define IPX_MAXSIZE 0x4006
17#define IPX_ADDRESS 0x4007
18
19typedef struct _IPX_ADDRESS_DATA {
20 INT adapternum;
21 UCHAR netnum[4];
22 UCHAR nodenum[6];
23 BOOLEAN wan;
24 BOOLEAN status;
25 INT maxpkt;
26 ULONG linkspeed;
27} IPX_ADDRESS_DATA,*PIPX_ADDRESS_DATA;
28
29#define IPX_GETNETINFO 0x4008
30
31typedef struct _IPX_NETNUM_DATA {
32 UCHAR netnum[4];
33 USHORT hopcount;
34 USHORT netdelay;
35 INT cardnum;
36 UCHAR router[6];
37} IPX_NETNUM_DATA,*PIPX_NETNUM_DATA;
38
39#define IPX_GETNETINFO_NORIP 0x4009
40#define IPX_SPXGETCONNECTIONSTATUS 0x400B
41
42typedef struct _IPX_SPXCONNSTATUS_DATA {
43 UCHAR ConnectionState;
44 UCHAR WatchDogActive;
45 USHORT LocalConnectionId;
46 USHORT RemoteConnectionId;
47 USHORT LocalSequenceNumber;
48 USHORT LocalAckNumber;
49 USHORT LocalAllocNumber;
50 USHORT RemoteAckNumber;
51 USHORT RemoteAllocNumber;
52 USHORT LocalSocket;
53 UCHAR ImmediateAddress[6];
54 UCHAR RemoteNetwork[4];
55 UCHAR RemoteNode[6];
56 USHORT RemoteSocket;
57 USHORT RetransmissionCount;
58 USHORT EstimatedRoundTripDelay;
59 USHORT RetransmittedPackets;
60 USHORT SuppressedPacket;
61} IPX_SPXCONNSTATUS_DATA,*PIPX_SPXCONNSTATUS_DATA;
62
63#define IPX_ADDRESS_NOTIFY 0x400C
64#define IPX_MAX_ADAPTER_NUM 0x400D
65#define IPX_RERIPNETNUMBER 0x400E
66#define IPX_RECEIVE_BROADCAST 0x400F
67#define IPX_IMMEDIATESPXACK 0x4010
68#endif
Note: See TracBrowser for help on using the repository browser.