2000-08-02 00:24:26 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS TCP/IP protocol driver
|
|
|
|
* FILE: include/ticonsts.h
|
|
|
|
* PURPOSE: TCP/IP protocol driver constants
|
|
|
|
*/
|
2010-02-26 11:43:19 +00:00
|
|
|
|
|
|
|
#pragma once
|
2000-08-02 00:24:26 +00:00
|
|
|
|
|
|
|
/* NDIS version this driver supports */
|
2003-08-04 19:31:06 +00:00
|
|
|
#define NDIS_VERSION_MAJOR 4
|
2000-08-02 00:24:26 +00:00
|
|
|
#define NDIS_VERSION_MINOR 0
|
|
|
|
|
|
|
|
#ifdef _NTTEST_
|
|
|
|
/* Name of devices */
|
|
|
|
#define DD_TCP_DEVICE_NAME L"\\Device\\NTTcp"
|
|
|
|
#define DD_UDP_DEVICE_NAME L"\\Device\\NTUdp"
|
|
|
|
#define DD_IP_DEVICE_NAME L"\\Device\\NTIp"
|
|
|
|
#define DD_RAWIP_DEVICE_NAME L"\\Device\\NTRawIp"
|
|
|
|
|
|
|
|
/* For NDIS protocol registration */
|
2003-08-04 19:31:06 +00:00
|
|
|
#define IP_DEVICE_NAME L"\\Device\\NTIp"
|
2000-08-02 00:24:26 +00:00
|
|
|
#else
|
|
|
|
#define DD_TCP_DEVICE_NAME L"\\Device\\Tcp"
|
|
|
|
#define DD_UDP_DEVICE_NAME L"\\Device\\Udp"
|
|
|
|
#define DD_IP_DEVICE_NAME L"\\Device\\Ip"
|
|
|
|
#define DD_RAWIP_DEVICE_NAME L"\\Device\\RawIp"
|
|
|
|
|
|
|
|
/* For NDIS protocol registration */
|
2016-11-13 15:31:39 +00:00
|
|
|
/* The DDK says you have to register with the name that's registered with SCM, e.g. tcpip */
|
2003-08-04 19:31:06 +00:00
|
|
|
#define IP_DEVICE_NAME L"\\Device\\Ip"
|
|
|
|
#define TCPIP_PROTOCOL_NAME L"Tcpip"
|
2000-08-02 00:24:26 +00:00
|
|
|
#endif /* _NTTEST_ */
|
|
|
|
|
|
|
|
/* Unique error values for log entries */
|
|
|
|
#define TI_ERROR_DRIVERENTRY 0
|
|
|
|
|
|
|
|
/* EOF */
|