Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. wanarp\globals.h
  5. Abstract:
  6. Revision History:
  7. --*/
  8. #ifndef __WANARP_GLOBALS_H__
  9. #define __WANARP_GLOBALS_H__
  10. //
  11. // Our IP Registration handle. Set at init time, and doesnt change over
  12. // the course of a run of the driver. Thus isnt locked
  13. //
  14. HANDLE g_hIpRegistration;
  15. //
  16. // Our NDIS handle. Again read-only after initialization
  17. //
  18. NDIS_HANDLE g_nhWanarpProtoHandle;
  19. //
  20. // NDIS handle of our pool. Again read-only after initialization
  21. //
  22. NDIS_HANDLE g_nhPacketPool;
  23. //
  24. // Callback functions into IP. Again read-only after initialization
  25. //
  26. IPRcvRtn g_pfnIpRcv;
  27. IPRcvPktRtn g_pfnIpRcvPkt;
  28. IPTDCmpltRtn g_pfnIpTDComplete;
  29. IPTxCmpltRtn g_pfnIpSendComplete;
  30. IPStatusRtn g_pfnIpStatus;
  31. IPRcvCmpltRtn g_pfnIpRcvComplete;
  32. IP_ADD_INTERFACE g_pfnIpAddInterface;
  33. IP_DEL_INTERFACE g_pfnIpDeleteInterface;
  34. IP_BIND_COMPLETE g_pfnIpBindComplete;
  35. IP_PNP g_pfnIpPnp;
  36. IP_ADD_LINK g_pfnIpAddLink;
  37. IP_DELETE_LINK g_pfnIpDeleteLink;
  38. IP_CHANGE_INDEX g_pfnIpChangeIndex;
  39. IP_RESERVE_INDEX g_pfnIpReserveIndex;
  40. IP_DERESERVE_INDEX g_pfnIpDereserveIndex;
  41. IPRcvPktRtn g_pfnIpRcvPkt;
  42. #endif // __WANARP_GLOBALS_H__