Leaked source code of windows server 2003
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.

68 lines
1.4 KiB

  1. /*++
  2. Copyright(c) 1999-2000 Microsoft Corporation
  3. Module Name:
  4. brdgprot.h
  5. Abstract:
  6. Ethernet MAC level bridge.
  7. Protocol section
  8. PUBLIC header
  9. Author:
  10. Mark Aiken
  11. (original bridge by Jameel Hyder)
  12. Environment:
  13. Kernel mode driver
  14. Revision History:
  15. Sept 1999 - Original version
  16. Feb 2000 - Overhaul
  17. --*/
  18. // ===========================================================================
  19. //
  20. // PROTOTYPES
  21. //
  22. // ===========================================================================
  23. NTSTATUS
  24. BrdgProtDriverInit();
  25. VOID
  26. BrdgProtRequestComplete(
  27. IN NDIS_HANDLE ProtocolBindingContext,
  28. IN PNDIS_REQUEST NdisRequest,
  29. IN NDIS_STATUS Status
  30. );
  31. VOID
  32. BrdgProtDoAdapterStateChange(
  33. IN PADAPT pAdapt
  34. );
  35. VOID
  36. BrdgProtCleanup();
  37. ULONG
  38. BrdgProtGetAdapterCount();
  39. // ===========================================================================
  40. //
  41. // GLOBALS
  42. //
  43. // ===========================================================================
  44. // Controls access to all the adapters' link speed, media state, etc
  45. extern NDIS_RW_LOCK gAdapterCharacteristicsLock;
  46. // Number of bound adapters. Cannot change while a lock is held on gAdapterListLock
  47. extern ULONG gNumAdapters;