mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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 = ../../..
|
PATH_TO_TOP = ../../..
|
||||||
|
|
||||||
TARGET_TYPE = library
|
TARGET_TYPE = library
|
||||||
|
|
||||||
TARGET_NAME = ip$(KERNEL)
|
TARGET_NAME = ip
|
||||||
|
|
||||||
TARGET_PCH = $(PATH_TO_TOP)/drivers/lib/ip/include/precomp.h
|
TARGET_PCH = $(PATH_TO_TOP)/drivers/lib/ip/include/precomp.h
|
||||||
|
|
||||||
# -DMEMTRACK
|
# -DMEMTRACK
|
||||||
TARGET_CFLAGS = \
|
TARGET_CFLAGS = \
|
||||||
-D__USE_W32API \
|
-D__USE_W32API \
|
||||||
$(DRIVER) \
|
|
||||||
-Wall -Werror \
|
-Wall -Werror \
|
||||||
-Iinclude \
|
-Iinclude \
|
||||||
-I../../net/tcpip/include \
|
-I../../net/tcpip/include \
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
|
|
||||||
#include "precomp.h"
|
#include "precomp.h"
|
||||||
|
|
||||||
|
VOID STDCALL KeAcquireSpinLockAtDpcLevel (IN PKSPIN_LOCK SpinLock);
|
||||||
|
VOID STDCALL KeReleaseSpinLockFromDpcLevel(IN PKSPIN_LOCK SpinLock);
|
||||||
|
|
||||||
WORK_QUEUE_ITEM LoopWorkItem;
|
WORK_QUEUE_ITEM LoopWorkItem;
|
||||||
PIP_INTERFACE Loopback = NULL;
|
PIP_INTERFACE Loopback = NULL;
|
||||||
|
|
|
@ -10,6 +10,9 @@
|
||||||
|
|
||||||
#include "precomp.h"
|
#include "precomp.h"
|
||||||
|
|
||||||
|
VOID STDCALL KeRaiseIrql(KIRQL NewIrql, PKIRQL OldIrql);
|
||||||
|
VOID STDCALL KeLowerIrql(KIRQL NewIrql);
|
||||||
|
|
||||||
extern ULONG TCP_IPIdentification;
|
extern ULONG TCP_IPIdentification;
|
||||||
extern LIST_ENTRY SleepingThreadsList;
|
extern LIST_ENTRY SleepingThreadsList;
|
||||||
extern FAST_MUTEX SleepingThreadsLock;
|
extern FAST_MUTEX SleepingThreadsLock;
|
||||||
|
|
|
@ -338,8 +338,8 @@ NTSTATUS TCPReceiveData
|
||||||
( PCONNECTION_ENDPOINT Connection,
|
( PCONNECTION_ENDPOINT Connection,
|
||||||
PNDIS_BUFFER Buffer,
|
PNDIS_BUFFER Buffer,
|
||||||
ULONG ReceiveLength,
|
ULONG ReceiveLength,
|
||||||
ULONG ReceiveFlags,
|
|
||||||
PULONG BytesReceived,
|
PULONG BytesReceived,
|
||||||
|
ULONG ReceiveFlags,
|
||||||
PTCP_COMPLETION_ROUTINE Complete,
|
PTCP_COMPLETION_ROUTINE Complete,
|
||||||
PVOID Context ) {
|
PVOID Context ) {
|
||||||
PCHAR DataBuffer;
|
PCHAR DataBuffer;
|
||||||
|
@ -395,18 +395,14 @@ NTSTATUS TCPReceiveData
|
||||||
|
|
||||||
NTSTATUS TCPSendData
|
NTSTATUS TCPSendData
|
||||||
( PCONNECTION_ENDPOINT Connection,
|
( PCONNECTION_ENDPOINT Connection,
|
||||||
PNDIS_BUFFER Buffer,
|
PCHAR BufferData,
|
||||||
ULONG DataSize,
|
ULONG PacketSize,
|
||||||
ULONG Flags,
|
PULONG DataUsed,
|
||||||
PULONG DataUsed) {
|
ULONG Flags) {
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
PCHAR BufferData;
|
|
||||||
ULONG PacketSize;
|
|
||||||
|
|
||||||
RecursiveMutexEnter( &TCPLock, TRUE );
|
RecursiveMutexEnter( &TCPLock, TRUE );
|
||||||
|
|
||||||
NdisQueryBuffer( Buffer, &BufferData, &PacketSize );
|
|
||||||
|
|
||||||
TI_DbgPrint(MID_TRACE,("Connection = %x\n", Connection));
|
TI_DbgPrint(MID_TRACE,("Connection = %x\n", Connection));
|
||||||
TI_DbgPrint(MID_TRACE,("Connection->SocketContext = %x\n",
|
TI_DbgPrint(MID_TRACE,("Connection->SocketContext = %x\n",
|
||||||
Connection->SocketContext));
|
Connection->SocketContext));
|
||||||
|
|
Loading…
Reference in a new issue