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.

96 lines
1.9 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. PADAPT
  30. BrdgCompFindTargetAdapterForIPAddress(
  31. IN PNDIS_PACKET ipTarget);
  32. BOOLEAN
  33. BrdgCompRequiresCompatWork(
  34. IN PADAPT pAdapt,
  35. IN PUCHAR pPacketData,
  36. IN UINT dataSize
  37. );
  38. BOOLEAN
  39. BrdgCompProcessInboundPacket(
  40. IN PNDIS_PACKET pPacket,
  41. IN PADAPT pAdapt,
  42. IN BOOLEAN bCanRetain
  43. );
  44. VOID
  45. BrdgCompProcessOutboundPacket(
  46. IN PNDIS_PACKET pPacket,
  47. IN PADAPT pTargetAdapt
  48. );
  49. VOID
  50. BrdgCompNotifyNetworkAddresses(
  51. IN PNETWORK_ADDRESS_LIST pAddressList,
  52. IN ULONG infoLength
  53. );
  54. VOID
  55. BrdgCompNotifyMACAddress(
  56. IN PUCHAR pBridgeMACAddr
  57. );
  58. VOID
  59. BrdgCompScrubAdapter(
  60. IN PADAPT pAdapt
  61. );
  62. VOID
  63. BrdgCompScrubAllAdapters();
  64. // ===========================================================================
  65. //
  66. // GLOBALS
  67. //
  68. // ===========================================================================
  69. // Whether or not ANY compatibility-mode adapters exist.
  70. // Must be updated with a write lock on the global adapter list.
  71. extern BOOLEAN gCompatAdaptersExist;