windows-nt/Source/XPSP1/NT/net/qos/psched/sys/ndisreq.h
2020-09-26 16:20:57 +08:00

123 lines
2.4 KiB
C

/*++
Copyright (c) 1996-1999 Microsoft Corporation
Module Name:
ndisreq.h
Abstract:
defines for NdisRequest related routines
Author:
Charlie Wickham (charlwi) 01-May-1996
Revision History:
--*/
#ifndef _NDISREQ_
#define _NDISREQ_
//
// Private OIDs that are used by psched
//
#define NDIS_STATUS_INTERFACE_CHANGE 0xFF000001
#if DBG
#define OID_QOS_LOG_BUFFER_SIZE 0xFF010100
#define OID_QOS_LOG_THRESHOLD 0xFF010101
#define OID_QOS_LOG_DATA 0xFF010102
#define OID_QOS_LOG_MASK 0xFF010105
#define OID_QOS_LOG_LEVEL 0xFF010106
#define QOS_STATUS_LOG_THRESHOLD 0xFF00000A
#endif
#define OID_QOS_MAX_OUTSTANDING_SENDS 0xFF010103
#define OID_QOS_DISABLE_DRR 0xFF010104
/* Prototypes */ /* Generated by Emacs 19.17.0 on Mon May 06 15:54:14 1996 */
VOID
PsScheduleInterfaceIdWorkItem(
IN PADAPTER Adapter,
IN PPS_WAN_LINK WanLink
);
VOID
ClRequestComplete(
IN NDIS_HANDLE ProtocolBindingContext,
IN PNDIS_REQUEST NdisRequest,
IN NDIS_STATUS Status
);
NDIS_STATUS
MakeLocalNdisRequest(
PADAPTER Adapter,
NDIS_HANDLE VcHandle,
NDIS_REQUEST_TYPE RequestType,
NDIS_OID Oid,
PVOID Buffer,
ULONG BufferSize,
LOCAL_NDISREQUEST_COMPLETION_FUNCTION CompletionFunc OPTIONAL
);
NDIS_STATUS
MpQueryInformation(
IN NDIS_HANDLE MiniportAdapterContext,
IN NDIS_OID Oid,
IN PVOID InformationBuffer,
IN ULONG InformationBufferLength,
OUT PULONG BytesWritten,
OUT PULONG BytesNeeded
);
NDIS_STATUS
MpSetInformation(
IN NDIS_HANDLE MiniportAdapterContext,
IN NDIS_OID Oid,
IN PVOID InformationBuffer,
IN ULONG InformationBufferLength,
OUT PULONG BytesRead,
OUT PULONG BytesNeeded
);
VOID
TcIndicateInterfaceChange(
IN PADAPTER Adapter,
IN PPS_WAN_LINK WanLink,
IN NDIS_STATUS Status
);
NDIS_STATUS
CollectWanNetworkAddresses(
IN PADAPTER Adapter,
IN PPS_WAN_LINK WanLink,
IN OUT ULONG *Len,
IN PVOID Data);
NDIS_STATUS
CollectNetworkAddresses(
IN PADAPTER Adapter,
IN OUT ULONG *Len,
IN PVOID Data
);
#if DBG
VOID
IndicateLogThreshold(
IN PVOID Context
);
#endif
/* End Prototypes */
#endif /* _NDISREQ_ */
/* end ndisreq.h */