wsnwlink.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  17. */
  18. #ifndef _WSNWLINK_
  19. #define _WSNWLINK_
  20. #define IPX_PTYPE 0x4000
  21. #define IPX_FILTERPTYPE 0x4001
  22. #define IPX_DSTYPE 0x4002
  23. #define IPX_STOPFILTERPTYPE 0x4003
  24. #define IPX_EXTENDED_ADDRESS 0x4004
  25. #define IPX_RECVHDR 0x4005
  26. #define IPX_MAXSIZE 0x4006
  27. #define IPX_ADDRESS 0x4007
  28. #define IPX_GETNETINFO 0x4008
  29. #define IPX_GETNETINFO_NORIP 0x4009
  30. #define IPX_SPXGETCONNECTIONSTATUS 0x400b
  31. #define IPX_ADDRESS_NOTIFY 0x400c
  32. #define IPX_MAX_ADAPTER_NUM 0x400d
  33. #define IPX_RERIPNETNUMBER 0x400e
  34. #define IPX_RECEIVE_BROADCAST 0x400f
  35. #define IPX_IMMEDIATESPXACK 0x4010
  36. typedef struct _IPX_ADDRESS_DATA {
  37. INT adapternum;
  38. UCHAR netnum[4];
  39. UCHAR nodenum[6];
  40. BOOLEAN wan;
  41. BOOLEAN status;
  42. INT maxpkt;
  43. ULONG linkspeed;
  44. } IPX_ADDRESS_DATA, *PIPX_ADDRESS_DATA;
  45. #endif /* _WSNWLINK_ */