mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/net/tcpip/include/.cvsignore: New file. * drivers/net/tcpip/include/precomp.h: New file. * drivers/net/tcpip/Makefile (TARGET_PCH): Set to include/precomp.h. * drivers/net/tcpip/tests/Makefile (TARGET_PCH): Reset. * drivers/net/tcpip/*/*.c: Use pre-compiled header. svn path=/trunk/; revision=10569
This commit is contained in:
parent
455ea22b67
commit
ad002d5bd9
35 changed files with 118 additions and 240 deletions
|
@ -1,3 +1,11 @@
|
|||
2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
|
||||
* drivers/net/tcpip/include/.cvsignore: New file.
|
||||
* drivers/net/tcpip/include/precomp.h: New file.
|
||||
* drivers/net/tcpip/Makefile (TARGET_PCH): Set to include/precomp.h.
|
||||
* drivers/net/tcpip/tests/Makefile (TARGET_PCH): Reset.
|
||||
* drivers/net/tcpip/*/*.c: Use pre-compiled header.
|
||||
|
||||
2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
|
||||
* drivers/net/ndis/include/.cvsignore: New file.
|
||||
|
|
|
@ -7,14 +7,8 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <arp.h>
|
||||
#include <routines.h>
|
||||
#include <neighbor.h>
|
||||
#include <address.h>
|
||||
#include <pool.h>
|
||||
#include <lan.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
PNDIS_PACKET PrepareARPPacket(
|
||||
|
|
|
@ -7,14 +7,8 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <lan.h>
|
||||
#include <address.h>
|
||||
#include <routines.h>
|
||||
#include <transmit.h>
|
||||
#include <receive.h>
|
||||
#include <arp.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
NDIS_HANDLE NdisProtocolHandle = (NDIS_HANDLE)NULL;
|
||||
BOOLEAN ProtocolRegistered = FALSE;
|
||||
|
|
|
@ -7,14 +7,8 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <loopback.h>
|
||||
#include <ip.h>
|
||||
#include <address.h>
|
||||
#include <receive.h>
|
||||
#include <transmit.h>
|
||||
#include <routines.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
WORK_QUEUE_ITEM LoopWorkItem;
|
||||
|
|
2
reactos/drivers/net/tcpip/include/.cvsignore
Normal file
2
reactos/drivers/net/tcpip/include/.cvsignore
Normal file
|
@ -0,0 +1,2 @@
|
|||
*.o
|
||||
*.gch
|
30
reactos/drivers/net/tcpip/include/precomp.h
Normal file
30
reactos/drivers/net/tcpip/include/precomp.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
#include <limits.h>
|
||||
#include <ddk/ntddk.h>
|
||||
#include <rosrtl/string.h>
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <loopback.h>
|
||||
#include <ip.h>
|
||||
#include <icmp.h>
|
||||
#include <udp.h>
|
||||
#include <tcp.h>
|
||||
#include <rawip.h>
|
||||
#include <address.h>
|
||||
#include <receive.h>
|
||||
#include <transmit.h>
|
||||
#include <routines.h>
|
||||
#include <neighbor.h>
|
||||
#include <checksum.h>
|
||||
#include <route.h>
|
||||
#include <router.h>
|
||||
#include <prefix.h>
|
||||
#include <pool.h>
|
||||
#include <arp.h>
|
||||
#include <lan.h>
|
||||
#include <tilists.h>
|
||||
#include <dispatch.h>
|
||||
#include <fileobjs.h>
|
||||
#include <datagram.h>
|
||||
#include <info.h>
|
||||
#include <memtrack.h>
|
||||
#include <oskittcp.h>
|
|
@ -1,4 +1,4 @@
|
|||
# $Id: makefile,v 1.18 2004/07/18 22:03:49 arty Exp $
|
||||
# $Id: makefile,v 1.19 2004/08/15 23:41:23 chorns Exp $
|
||||
|
||||
PATH_TO_TOP = ../../..
|
||||
|
||||
|
@ -8,6 +8,8 @@ TARGET_TYPE = export_driver
|
|||
|
||||
TARGET_NAME = tcpip
|
||||
|
||||
TARGET_PCH = include/precomp.h
|
||||
|
||||
# -DMEMTRACK
|
||||
TARGET_CFLAGS = \
|
||||
-D__USE_W32API \
|
||||
|
|
|
@ -7,14 +7,8 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <icmp.h>
|
||||
#include <rawip.h>
|
||||
#include <checksum.h>
|
||||
#include <routines.h>
|
||||
#include <transmit.h>
|
||||
#include <pool.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
VOID SendICMPComplete(
|
||||
|
|
|
@ -7,19 +7,9 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <ip.h>
|
||||
#include <tcp.h>
|
||||
#include <loopback.h>
|
||||
#include <neighbor.h>
|
||||
#include <receive.h>
|
||||
#include <address.h>
|
||||
#include <prefix.h>
|
||||
#include <route.h>
|
||||
#include <icmp.h>
|
||||
#include <pool.h>
|
||||
#include <tilists.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
KTIMER IPTimer;
|
||||
KDPC IPTimeoutDpc;
|
||||
|
|
|
@ -7,16 +7,8 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <neighbor.h>
|
||||
#include <routines.h>
|
||||
#include <transmit.h>
|
||||
#include <address.h>
|
||||
#include <route.h>
|
||||
#include <pool.h>
|
||||
#include <arp.h>
|
||||
#include <ip.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
NEIGHBOR_CACHE_TABLE NeighborCache[NB_HASHMASK + 1];
|
||||
|
|
|
@ -8,18 +8,9 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <ip.h>
|
||||
#include <tcp.h>
|
||||
#include <loopback.h>
|
||||
#include <neighbor.h>
|
||||
#include <receive.h>
|
||||
#include <address.h>
|
||||
#include <route.h>
|
||||
#include <icmp.h>
|
||||
#include <prefix.h>
|
||||
#include <pool.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
LIST_ENTRY PrefixListHead;
|
||||
KSPIN_LOCK PrefixListLock;
|
||||
|
|
|
@ -9,15 +9,8 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <receive.h>
|
||||
#include <routines.h>
|
||||
#include <checksum.h>
|
||||
#include <transmit.h>
|
||||
#include <address.h>
|
||||
#include <pool.h>
|
||||
#include <route.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
LIST_ENTRY ReassemblyListHead;
|
||||
|
|
|
@ -14,10 +14,8 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <route.h>
|
||||
#include <router.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
/* This RCN is shared by all external nodes. It complicates things,
|
||||
|
|
|
@ -11,12 +11,8 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <address.h>
|
||||
#include <router.h>
|
||||
#include <prefix.h>
|
||||
#include <pool.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
LIST_ENTRY FIBListHead;
|
||||
|
|
|
@ -7,14 +7,8 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <transmit.h>
|
||||
#include <routines.h>
|
||||
#include <checksum.h>
|
||||
#include <pool.h>
|
||||
#include <arp.h>
|
||||
#include <lan.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
BOOLEAN PrepareNextFragment(
|
||||
|
|
|
@ -7,11 +7,9 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <address.h>
|
||||
#include <pool.h>
|
||||
#include <ip.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
#ifdef DBG
|
||||
|
||||
|
|
|
@ -8,9 +8,8 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <checksum.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
ULONG ChecksumFold(
|
||||
|
|
|
@ -8,12 +8,8 @@
|
|||
* CSH 01/08-2000 Created
|
||||
* TODO: Validate device object in all dispatch routines
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <dispatch.h>
|
||||
#include <routines.h>
|
||||
#include <datagram.h>
|
||||
#include <info.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
NTSTATUS DispPrepareIrpForCancel(
|
||||
|
|
|
@ -7,17 +7,9 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <datagram.h>
|
||||
#include <address.h>
|
||||
#include <pool.h>
|
||||
#include <rawip.h>
|
||||
#include <tcp.h>
|
||||
#include <udp.h>
|
||||
#include <ip.h>
|
||||
#include <fileobjs.h>
|
||||
#include <oskittcp.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
/* List of all address file objects managed by this driver */
|
||||
LIST_ENTRY AddressFileListHead;
|
||||
|
|
|
@ -7,13 +7,9 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <lan.h>
|
||||
#include <address.h>
|
||||
#include <info.h>
|
||||
#include <pool.h>
|
||||
#include <ip.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
TDI_STATUS InfoTdiQueryGetInterfaceMIB(TDIEntityID *ID,
|
||||
PIP_INTERFACE Interface,
|
||||
|
|
|
@ -7,10 +7,8 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <info.h>
|
||||
#include <routines.h>
|
||||
|
||||
#include "precomp.h"
|
||||
#include <debug.h>
|
||||
|
||||
TDI_STATUS InfoCopyOut( PCHAR DataOut, UINT SizeOut,
|
||||
|
|
|
@ -8,13 +8,9 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <lan.h>
|
||||
#include <address.h>
|
||||
#include <pool.h>
|
||||
#include <ip.h>
|
||||
#include <tilists.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
NTSTATUS GetInterfaceIPv4Address( PIP_INTERFACE Interface,
|
||||
ULONG TargetType,
|
||||
|
|
|
@ -8,12 +8,9 @@
|
|||
* CSH 01/08-2000 Created
|
||||
* TODO: Validate device object in all dispatch routines
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <dispatch.h>
|
||||
#include <routines.h>
|
||||
#include <datagram.h>
|
||||
#include <info.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
NTSTATUS IRPFinish( PIRP Irp, NTSTATUS Status ) {
|
||||
TI_DbgPrint(MID_TRACE,("Called: Irp %x, Status %x Event %x\n", Irp, Status, Irp->UserEvent));
|
||||
|
|
|
@ -7,18 +7,9 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <dispatch.h>
|
||||
#include <fileobjs.h>
|
||||
#include <datagram.h>
|
||||
#include <loopback.h>
|
||||
#include <rawip.h>
|
||||
#include <udp.h>
|
||||
#include <tcp.h>
|
||||
#include <rosrtl/string.h>
|
||||
#include <info.h>
|
||||
#include <memtrack.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
#define NDEBUG
|
||||
|
||||
|
|
|
@ -7,15 +7,9 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <address.h>
|
||||
#include <info.h>
|
||||
#include <pool.h>
|
||||
#include <prefix.h>
|
||||
#include <ip.h>
|
||||
#include <route.h>
|
||||
#include <tilists.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
TDI_STATUS InfoTdiQueryGetAddrTable( PNDIS_BUFFER Buffer,
|
||||
PUINT BufferSize ) {
|
||||
|
|
|
@ -7,9 +7,8 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <pool.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
PVOID PoolAllocateBuffer(
|
||||
|
|
|
@ -7,11 +7,8 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <routines.h>
|
||||
#include <pool.h>
|
||||
#include <tcp.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
static UINT RandomNumber = 0x12345678;
|
||||
|
|
|
@ -7,11 +7,9 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <address.h>
|
||||
#include <pool.h>
|
||||
#include <ip.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
TDI_STATUS InfoTransportLayerTdiQueryEx( UINT InfoClass,
|
||||
UINT InfoType,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile,v 1.1 2004/02/22 09:59:17 chorns Exp $
|
||||
# $Id: Makefile,v 1.2 2004/08/15 23:41:26 chorns Exp $
|
||||
|
||||
PATH_TO_TOP = ../../../..
|
||||
|
||||
|
@ -6,6 +6,8 @@ TARGET_TYPE = library
|
|||
|
||||
TARGET_NAME = regtests
|
||||
|
||||
TARGET_PCH =
|
||||
|
||||
TARGET_LIBPATH = .
|
||||
|
||||
TARGET_CFLAGS = -I$(REGTESTS_PATH_INC)
|
||||
|
|
|
@ -7,14 +7,8 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <datagram.h>
|
||||
#include <routines.h>
|
||||
#include <transmit.h>
|
||||
#include <address.h>
|
||||
#include <route.h>
|
||||
#include <pool.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
/* Pending request queue */
|
||||
|
|
|
@ -7,13 +7,8 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <rawip.h>
|
||||
#include <routines.h>
|
||||
#include <datagram.h>
|
||||
#include <address.h>
|
||||
#include <pool.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
BOOLEAN RawIPInitialized = FALSE;
|
||||
|
|
|
@ -7,19 +7,9 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <limits.h>
|
||||
#include <tcpip.h>
|
||||
#include <tcp.h>
|
||||
#include <pool.h>
|
||||
#include <route.h>
|
||||
#include <router.h>
|
||||
#include <address.h>
|
||||
#include <neighbor.h>
|
||||
#include <datagram.h>
|
||||
#include <checksum.h>
|
||||
#include <routines.h>
|
||||
#include <oskittcp.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
extern ULONG TCP_IPIdentification;
|
||||
|
||||
|
|
|
@ -15,18 +15,8 @@
|
|||
* not, write to the FSF, 59 Temple Place #330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include <roscfg.h>
|
||||
#include <limits.h>
|
||||
#include <tcpip.h>
|
||||
#include <tcp.h>
|
||||
#include <pool.h>
|
||||
#include <route.h>
|
||||
#include <address.h>
|
||||
#include <datagram.h>
|
||||
#include <checksum.h>
|
||||
#include <routines.h>
|
||||
#include <neighbor.h>
|
||||
#include <oskittcp.h>
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
#if 0
|
||||
#include <sys/param.h>
|
||||
|
@ -35,8 +25,6 @@
|
|||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#include <oskittcp.h>
|
||||
|
||||
int if_index = 0;
|
||||
struct ifaddr **ifnet_addrs;
|
||||
|
||||
|
|
|
@ -7,16 +7,9 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <limits.h>
|
||||
#include <tcpip.h>
|
||||
#include <tcp.h>
|
||||
#include <pool.h>
|
||||
#include <address.h>
|
||||
#include <datagram.h>
|
||||
#include <checksum.h>
|
||||
#include <routines.h>
|
||||
#include <oskittcp.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
LONG TCP_IPIdentification = 0;
|
||||
static BOOLEAN TCPInitialized = FALSE;
|
||||
|
|
|
@ -7,15 +7,8 @@
|
|||
* REVISIONS:
|
||||
* CSH 01/08-2000 Created
|
||||
*/
|
||||
#include <roscfg.h>
|
||||
#include <tcpip.h>
|
||||
#include <udp.h>
|
||||
#include <routines.h>
|
||||
#include <transmit.h>
|
||||
#include <datagram.h>
|
||||
#include <checksum.h>
|
||||
#include <address.h>
|
||||
#include <pool.h>
|
||||
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
BOOLEAN UDPInitialized = FALSE;
|
||||
|
|
Loading…
Reference in a new issue