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.

92 lines
1.7 KiB

  1. /*++
  2. Copyright(c) 1999-2000 Microsoft Corporation
  3. Module Name:
  4. brdgsta.h
  5. Abstract:
  6. Ethernet MAC level bridge
  7. Compatibility-Mode section header file
  8. Author:
  9. Mark Aiken
  10. Environment:
  11. Kernel mode driver
  12. Revision History:
  13. September 2000 - Original version
  14. --*/
  15. // ===========================================================================
  16. //
  17. // TYPES
  18. //
  19. // ===========================================================================
  20. // ===========================================================================
  21. //
  22. // PROTOTYPES
  23. //
  24. // ===========================================================================
  25. NTSTATUS
  26. BrdgCompDriverInit();
  27. VOID
  28. BrdgCompCleanup();
  29. BOOLEAN
  30. BrdgCompRequiresCompatWork(
  31. IN PADAPT pAdapt,
  32. IN PUCHAR pPacketData,
  33. IN UINT dataSize
  34. );
  35. BOOLEAN
  36. BrdgCompProcessInboundPacket(
  37. IN PNDIS_PACKET pPacket,
  38. IN PADAPT pAdapt,
  39. IN BOOLEAN bCanRetain
  40. );
  41. VOID
  42. BrdgCompProcessOutboundPacket(
  43. IN PNDIS_PACKET pPacket,
  44. IN PADAPT pTargetAdapt
  45. );
  46. VOID
  47. BrdgCompNotifyNetworkAddresses(
  48. IN PNETWORK_ADDRESS_LIST pAddressList,
  49. IN ULONG infoLength
  50. );
  51. VOID
  52. BrdgCompNotifyMACAddress(
  53. IN PUCHAR pBridgeMACAddr
  54. );
  55. VOID
  56. BrdgCompScrubAdapter(
  57. IN PADAPT pAdapt
  58. );
  59. VOID
  60. BrdgCompScrubAllAdapters();
  61. // ===========================================================================
  62. //
  63. // GLOBALS
  64. //
  65. // ===========================================================================
  66. // Whether or not ANY compatibility-mode adapters exist.
  67. // Must be updated with a write lock on the global adapter list.
  68. extern BOOLEAN gCompatAdaptersExist;