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.

104 lines
1.6 KiB

  1. /*++
  2. Copyright(c) 1999-2000 Microsoft Corporation
  3. Module Name:
  4. brdgmini.h
  5. Abstract:
  6. Ethernet MAC level bridge.
  7. Miniport section
  8. Author:
  9. Mark Aiken
  10. (original bridge by Jameel Hyder)
  11. Environment:
  12. Kernel mode driver
  13. Revision History:
  14. Sept 1999 - Original version
  15. Feb 2000 - Overhaul
  16. --*/
  17. // ===========================================================================
  18. //
  19. // PROTOTYPES
  20. //
  21. // ===========================================================================
  22. NTSTATUS
  23. BrdgMiniDriverInit();
  24. VOID
  25. BrdgMiniInstantiateMiniport();
  26. BOOLEAN
  27. BrdgMiniShouldIndicatePacket(
  28. IN PUCHAR pTargetAddr
  29. );
  30. BOOLEAN
  31. BrdgMiniIsUnicastToBridge (
  32. IN PUCHAR Address
  33. );
  34. VOID
  35. BrdgMiniUpdateCharacteristics(
  36. IN BOOLEAN bConnectivityChange
  37. );
  38. NDIS_HANDLE
  39. BrdgMiniAcquireMiniport();
  40. NDIS_HANDLE
  41. BrdgMiniAcquireMiniportForIndicate();
  42. VOID
  43. BrdgMiniReleaseMiniport();
  44. VOID
  45. BrdgMiniReleaseMiniportForIndicate();
  46. BOOLEAN
  47. BrdgMiniReadMACAddress(
  48. OUT PUCHAR pAddr
  49. );
  50. VOID
  51. BrdgMiniInitFromAdapter(
  52. IN PADAPT pAdapt
  53. );
  54. BOOLEAN
  55. BrdgMiniIsBridgeDeviceName(
  56. IN PNDIS_STRING pDeviceName
  57. );
  58. VOID
  59. BrdgMiniAssociate();
  60. VOID
  61. BrdgMiniCleanup();
  62. VOID
  63. BrdgSetMiniportsToBridgeMode(
  64. PADAPT pAdapt,
  65. BOOLEAN fSet
  66. );
  67. // ===========================================================================
  68. //
  69. // PUBLIC GLOBALS
  70. //
  71. // ===========================================================================
  72. // The device name of our miniport (NULL if not initialized)
  73. extern PWCHAR gBridgeDeviceName;