Roderick Colenbrander | dba9461 | 2004-09-07 20:47:03 +0000 | [diff] [blame] | 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 |
Jonathan Ernst | 360a3f9 | 2006-05-18 14:49:52 +0200 | [diff] [blame] | 16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA |
Roderick Colenbrander | dba9461 | 2004-09-07 20:47:03 +0000 | [diff] [blame] | 17 | */ |
| 18 | |
| 19 | #ifndef _WSNWLINK_ |
| 20 | #define _WSNWLINK_ |
| 21 | |
| 22 | #define IPX_PTYPE 0x4000 |
| 23 | #define IPX_FILTERPTYPE 0x4001 |
| 24 | #define IPX_DSTYPE 0x4002 |
| 25 | #define IPX_STOPFILTERPTYPE 0x4003 |
| 26 | #define IPX_EXTENDED_ADDRESS 0x4004 |
| 27 | #define IPX_RECVHDR 0x4005 |
| 28 | #define IPX_MAXSIZE 0x4006 |
| 29 | #define IPX_ADDRESS 0x4007 |
| 30 | #define IPX_GETNETINFO 0x4008 |
| 31 | #define IPX_GETNETINFO_NORIP 0x4009 |
| 32 | #define IPX_SPXGETCONNECTIONSTATUS 0x400b |
| 33 | #define IPX_ADDRESS_NOTIFY 0x400c |
| 34 | #define IPX_MAX_ADAPTER_NUM 0x400d |
| 35 | #define IPX_RERIPNETNUMBER 0x400e |
| 36 | #define IPX_RECEIVE_BROADCAST 0x400f |
| 37 | #define IPX_IMMEDIATESPXACK 0x4010 |
| 38 | |
| 39 | typedef struct _IPX_ADDRESS_DATA { |
| 40 | INT adapternum; |
| 41 | UCHAR netnum[4]; |
| 42 | UCHAR nodenum[6]; |
| 43 | BOOLEAN wan; |
| 44 | BOOLEAN status; |
| 45 | INT maxpkt; |
| 46 | ULONG linkspeed; |
| 47 | } IPX_ADDRESS_DATA, *PIPX_ADDRESS_DATA; |
| 48 | |
| 49 | #endif /* _WSNWLINK_ */ |