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.
69 lines
1.4 KiB
69 lines
1.4 KiB
/*++
|
|
|
|
Copyright(c) 1999-2000 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
brdgprot.h
|
|
|
|
Abstract:
|
|
|
|
Ethernet MAC level bridge.
|
|
Protocol section
|
|
PUBLIC header
|
|
|
|
Author:
|
|
|
|
Mark Aiken
|
|
(original bridge by Jameel Hyder)
|
|
|
|
Environment:
|
|
|
|
Kernel mode driver
|
|
|
|
Revision History:
|
|
|
|
Sept 1999 - Original version
|
|
Feb 2000 - Overhaul
|
|
|
|
--*/
|
|
|
|
// ===========================================================================
|
|
//
|
|
// PROTOTYPES
|
|
//
|
|
// ===========================================================================
|
|
|
|
NTSTATUS
|
|
BrdgProtDriverInit();
|
|
|
|
VOID
|
|
BrdgProtRequestComplete(
|
|
IN NDIS_HANDLE ProtocolBindingContext,
|
|
IN PNDIS_REQUEST NdisRequest,
|
|
IN NDIS_STATUS Status
|
|
);
|
|
|
|
VOID
|
|
BrdgProtDoAdapterStateChange(
|
|
IN PADAPT pAdapt
|
|
);
|
|
|
|
VOID
|
|
BrdgProtCleanup();
|
|
|
|
ULONG
|
|
BrdgProtGetAdapterCount();
|
|
|
|
|
|
// ===========================================================================
|
|
//
|
|
// GLOBALS
|
|
//
|
|
// ===========================================================================
|
|
|
|
// Controls access to all the adapters' link speed, media state, etc
|
|
extern NDIS_RW_LOCK gAdapterCharacteristicsLock;
|
|
|
|
// Number of bound adapters. Cannot change while a lock is held on gAdapterListLock
|
|
extern ULONG gNumAdapters;
|