/* ллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл (C) Copyright 1998 All rights reserved. ллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл Portions of this software are: (C) Copyright 1995, 1999 TriplePoint, Inc. -- http://www.TriplePoint.com License to use this software is granted under the terms outlined in the TriplePoint Software Services Agreement. (C) Copyright 1992 Microsoft Corp. -- http://www.Microsoft.com License to use this software is granted under the terms outlined in the Microsoft Windows Device Driver Development Kit. ллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл @doc INTERNAL Keywords Keywords_h @module Keywords.h | This file defines the driver parameter keywords used in the registry. This file should be #include'd into the driver module defining the configuration parameter table . @comm The configuration parmaeters should be parsed early in the initialization process so they can be used to configure software and hardware settings. You can easily add new parameters using the following procuedure: 1) #define a new keyword string here in . 2) Add a corresponding into your parameter table . 3) Add a variable to the associated data structure (e.g. ). These values can then be parsed by calling with a pointer to your configuration parameter table . @head3 Contents | @index class,mfunc,func,msg,mdata,struct,enum | Keywords_h @end ллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл */ /* @doc EXTERNAL INTERNAL ллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл @topic 5.0 Registry Parameters | This section describes the registry parameters used by the driver. These parameters are stored in the following registry path. Windows NT registry path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\"VER_PRODUCT_STR" Windows 95 registry path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\Net\0001> The final path key "\0001" depends on the adapter instance number assigned by NDIS during installation. : Windows 95 DWORD registry parameters are stored as strings. The NDIS wrapper converts them to integers when they are read. The string can be decimal or hexadecimal as long as you read it with the appropriate NDIS parameter type. These values are declared as entries in the and are parsed from the registry using the routine. @flag (HIDDEN) | This MULTI_STRING parameter contains the list of addresses assigned to each logical link exported by the Miniport to RAS. This parameter is required on Windows NT, but is not used by the Windows 95 Miniport. It cannot be changed by the user. "1-1-0" @flag (HIDDEN) | This STRING parameter is the name we use to identify the Miniport to RAS. This parameter is required on Windows NT, but is not used by the Windows 95 Miniport. It cannot be changed by the user. "VER_PRODUCT_STR" @flag (HIDDEN) | This STRING parameter is the media type this Miniport supports for RAS. This parameter is required on Windows NT, but is not used by the Windows 95 Miniport. It cannot be changed by the user. "isdn" @flag (OPTIONAL) | This DWORD parameter allows you to control the maximum buffer size used to transmit and receive packets over the IDSN line. Typically, this is defined to be 1500 bytes for most Point to Point (PPP) connections. 1532 532 = N = 4032 : You must add 32 bytes to the maximum packet size you expect to send or receive. Therefore, if you have a maximum packet size of 1500 bytes, excluding media headers, you should set the value to 1532. @flag (OPTIONAL) | This DWORD parameter allows you to control the maximum number of incoming packets that can in progress at any one time. The Miniport will allocate this number of packets per BChannel and set them up for incoming packets. Typically, three or four should be sufficient to handle a few short bursts that may occur with small packets. If the Miniport is not able to service the incoming packets fast enough, new packets will be dropped and it is up to the NDIS WAN Wrapper to resynchronize with the remote station. 3 2 = N = 16 @flag (OPTIONAL) | This DWORD parameter allows you to control the maximum number of outgoing packets that can in progress at any one time. The Miniport will allow this number of packets per BChannel to be outstanding (i.e. in progress). Typically, two or three should be sufficient to keep the channel busy for normal sized packets. If there are alot of small packets being sent, the BChannel may become idle for brief periods while new packets are being queued. Windows does not normally work this way if it has large amounts of data to transfer, so the default value should be sufficient. 2 1 = N = 16 @flag (OPTIONAL) | This DWORD parameter allows you to control the maximum number of miliseconds that an outgoing call will be allowed to wait for the remote end to respond. If the remote end does not respond within this time, the call will be disconnected and RAS will alert the user. 15000 (15 seconds) 5000 = N = 120000 @flag (OPTIONAL) | This DWORD parameter allows you to control the maximum number of miliseconds that an incoming call will be allowed to wait for the user or an application to accept the call. If the local end does not respond within this time, the call will be rejected and the network will alert the caller. 10000 (10 seconds) 1000 = N = 60000 @flag (OPTIONAL) (DEBUG VERSION ONLY) | This DWORD parameter allows you to control how much debug information is displayed to the debug monitor. This is a bit OR'd flag using the values defined in . This value is not used by the released version of the driver. */ #ifndef _KEYWORDS_H #define _KEYWORDS_H #define PARAM_MAX_KEYWORD_LEN 128 /* // These parameters names are predefined by NDIS - don't change them. */ #define PARAM_BusNumber "BusNumber" #define PARAM_BusType "BusType" #define PARAM_MediaType "MediaType" /* // These parameters are placed in the registry during installation. */ #define PARAM_AddressList "AddressList" #define PARAM_DeviceName "DeviceName" #define PARAM_NumDChannels "IsdnNumDChannels" #define PARAM_NumBChannels "IsdnNumBChannels" /* // These parameters are not placed in the registry by default, but they // will be used if present. */ #define PARAM_BufferSize "BufferSize" #define PARAM_ReceiveBuffersPerLink "ReceiveBuffersPerLink" #define PARAM_TransmitBuffersPerLink "TransmitBuffersPerLink" #define PARAM_NoAnswerTimeOut "NoAnswerTimeOut" #define PARAM_NoAcceptTimeOut "NoAcceptTimeOut" #define PARAM_RunningWin95 "RunningWin95" #define PARAM_DebugFlags "DebugFlags" #define PARAM_TODO "TODO" // Add your keywords here. // Port based parameters #define PARAM_PORT_PREFIX "Line" // Line0 .. Line9 #define PARAM_SwitchType "IsdnSwitchType" #endif // _KEYWORDS_H