1 | /*
|
---|
2 | * Copyright (C) 2003,2004 Roderick Colenbrander
|
---|
3 | *
|
---|
4 | * This library is free software; you can redistribute it and/or
|
---|
5 | * modify it under the terms of the GNU Lesser General Public
|
---|
6 | * License as published by the Free Software Foundation; either
|
---|
7 | * version 2.1 of the License, or (at your option) any later version.
|
---|
8 | *
|
---|
9 | * This library is distributed in the hope that it will be useful,
|
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
12 | * Lesser General Public License for more details.
|
---|
13 | *
|
---|
14 | * You should have received a copy of the GNU Lesser General Public
|
---|
15 | * License along with this library; if not, write to the Free Software
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef _WSNWLINK_
|
---|
29 | #define _WSNWLINK_
|
---|
30 |
|
---|
31 | #define IPX_PTYPE 0x4000
|
---|
32 | #define IPX_FILTERPTYPE 0x4001
|
---|
33 | #define IPX_DSTYPE 0x4002
|
---|
34 | #define IPX_STOPFILTERPTYPE 0x4003
|
---|
35 | #define IPX_EXTENDED_ADDRESS 0x4004
|
---|
36 | #define IPX_RECVHDR 0x4005
|
---|
37 | #define IPX_MAXSIZE 0x4006
|
---|
38 | #define IPX_ADDRESS 0x4007
|
---|
39 | #define IPX_GETNETINFO 0x4008
|
---|
40 | #define IPX_GETNETINFO_NORIP 0x4009
|
---|
41 | #define IPX_SPXGETCONNECTIONSTATUS 0x400b
|
---|
42 | #define IPX_ADDRESS_NOTIFY 0x400c
|
---|
43 | #define IPX_MAX_ADAPTER_NUM 0x400d
|
---|
44 | #define IPX_RERIPNETNUMBER 0x400e
|
---|
45 | #define IPX_RECEIVE_BROADCAST 0x400f
|
---|
46 | #define IPX_IMMEDIATESPXACK 0x4010
|
---|
47 |
|
---|
48 | typedef struct _IPX_ADDRESS_DATA {
|
---|
49 | INT adapternum;
|
---|
50 | UCHAR netnum[4];
|
---|
51 | UCHAR nodenum[6];
|
---|
52 | BOOLEAN wan;
|
---|
53 | BOOLEAN status;
|
---|
54 | INT maxpkt;
|
---|
55 | ULONG linkspeed;
|
---|
56 | } IPX_ADDRESS_DATA, *PIPX_ADDRESS_DATA;
|
---|
57 |
|
---|
58 | #endif /* _WSNWLINK_ */
|
---|