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.
 
 
 
 
 
 

93 lines
1.7 KiB

/*++
Copyright (c) 1995 Microsoft Corporation
Module Name:
wanarp\rcv.h
Abstract:
Function prototypes for rcv.h
Revision History:
AmritanR
--*/
#ifndef __WANARP_RCV_H__
#define __WANARP_RCV_H__
#define PORT137_NBO (WORD)0x8900
INT
WanNdisReceivePacket(
IN NDIS_HANDLE nhProtocolContext,
IN PNDIS_PACKET pnpPacket
);
NDIS_STATUS
WanNdisReceive(
NDIS_HANDLE nhProtocolContext,
NDIS_HANDLE nhXferContext,
VOID UNALIGNED *pvHdr,
UINT uiHdrLen,
VOID UNALIGNED *pvData,
UINT uiDataLen,
UINT uiTotalLen
);
NDIS_STATUS
WanReceiveCommon(
NDIS_HANDLE nhProtocolContext,
NDIS_HANDLE nhXferContext,
VOID UNALIGNED *pvHeader,
UINT uiHeaderLen,
VOID UNALIGNED *pvData,
UINT uiDataLen,
UINT uiTotalLen,
PMDL pMdl,
PINT piClientCount
);
VOID
WanNdisReceiveComplete(
NDIS_HANDLE nhProtocolContext
);
VOID
WanNdisTransferDataComplete(
NDIS_HANDLE nhProtocolContext,
PNDIS_PACKET pnpPacket,
NDIS_STATUS nsStatus,
UINT uiBytesCopied
);
NDIS_STATUS
WanIpTransferData(
PVOID pvContext,
NDIS_HANDLE nhMacContext,
UINT uiProtoOffset,
UINT uiTransferOffset,
UINT uiTransferLength,
PNDIS_PACKET pnpPacket,
PUINT puiTransferred
);
UINT
WanIpReturnPacket(
PVOID pvContext,
PNDIS_PACKET pnpPacket
);
BOOLEAN
WanpDropNetbiosPacket(
PBYTE pbyBuffer,
ULONG ulBufferLen
);
#endif // __WANARP_RCV_H__