mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Fixes to interface. Prototypes which were being stubborn. I will have to
figure out how to use these headers better. svn path=/trunk/; revision=11125
This commit is contained in:
parent
e60bec5f2c
commit
03a9fe5219
4 changed files with 12 additions and 12 deletions
|
@ -1,17 +1,16 @@
|
|||
# $Id: makefile,v 1.1 2004/09/29 05:10:46 arty Exp $
|
||||
# $Id: makefile,v 1.2 2004/09/30 05:41:09 arty Exp $
|
||||
|
||||
PATH_TO_TOP = ../../..
|
||||
|
||||
TARGET_TYPE = library
|
||||
|
||||
TARGET_NAME = ip$(KERNEL)
|
||||
TARGET_NAME = ip
|
||||
|
||||
TARGET_PCH = $(PATH_TO_TOP)/drivers/lib/ip/include/precomp.h
|
||||
|
||||
# -DMEMTRACK
|
||||
TARGET_CFLAGS = \
|
||||
-D__USE_W32API \
|
||||
$(DRIVER) \
|
||||
-Wall -Werror \
|
||||
-Iinclude \
|
||||
-I../../net/tcpip/include \
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
|
||||
#include "precomp.h"
|
||||
|
||||
VOID STDCALL KeAcquireSpinLockAtDpcLevel (IN PKSPIN_LOCK SpinLock);
|
||||
VOID STDCALL KeReleaseSpinLockFromDpcLevel(IN PKSPIN_LOCK SpinLock);
|
||||
|
||||
WORK_QUEUE_ITEM LoopWorkItem;
|
||||
PIP_INTERFACE Loopback = NULL;
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
|
||||
#include "precomp.h"
|
||||
|
||||
VOID STDCALL KeRaiseIrql(KIRQL NewIrql, PKIRQL OldIrql);
|
||||
VOID STDCALL KeLowerIrql(KIRQL NewIrql);
|
||||
|
||||
extern ULONG TCP_IPIdentification;
|
||||
extern LIST_ENTRY SleepingThreadsList;
|
||||
extern FAST_MUTEX SleepingThreadsLock;
|
||||
|
|
|
@ -338,8 +338,8 @@ NTSTATUS TCPReceiveData
|
|||
( PCONNECTION_ENDPOINT Connection,
|
||||
PNDIS_BUFFER Buffer,
|
||||
ULONG ReceiveLength,
|
||||
ULONG ReceiveFlags,
|
||||
PULONG BytesReceived,
|
||||
ULONG ReceiveFlags,
|
||||
PTCP_COMPLETION_ROUTINE Complete,
|
||||
PVOID Context ) {
|
||||
PCHAR DataBuffer;
|
||||
|
@ -395,18 +395,14 @@ NTSTATUS TCPReceiveData
|
|||
|
||||
NTSTATUS TCPSendData
|
||||
( PCONNECTION_ENDPOINT Connection,
|
||||
PNDIS_BUFFER Buffer,
|
||||
ULONG DataSize,
|
||||
ULONG Flags,
|
||||
PULONG DataUsed) {
|
||||
PCHAR BufferData,
|
||||
ULONG PacketSize,
|
||||
PULONG DataUsed,
|
||||
ULONG Flags) {
|
||||
NTSTATUS Status;
|
||||
PCHAR BufferData;
|
||||
ULONG PacketSize;
|
||||
|
||||
RecursiveMutexEnter( &TCPLock, TRUE );
|
||||
|
||||
NdisQueryBuffer( Buffer, &BufferData, &PacketSize );
|
||||
|
||||
TI_DbgPrint(MID_TRACE,("Connection = %x\n", Connection));
|
||||
TI_DbgPrint(MID_TRACE,("Connection->SocketContext = %x\n",
|
||||
Connection->SocketContext));
|
||||
|
|
Loading…
Reference in a new issue