Apple Network Setup manual OTCfgATalkGeneralATP, fDefaultRetryInterval, fDefaultReleaseTimer

Models: Network Setup

1 184
Download 184 pages 5.56 Kb
Page 150
Image 150
OTCfgATalkGeneralATP

C H A P T E R 4

Network Setup Protocol Structures and Data Types

For a detailed description of ASP, see Inside AppleTalk, Second Edition.

No preference type is defined for this structure. Instead, access this structure through the OTCfgATalkGeneral (page 145) structure, which has a preference type of kOTCfgATalkGeneralPref.

OTCfgATalkGeneralATP

The OTCfgATalkGeneralATP structure defines parameters for the AppleTalk Transaction Protocol (ATP) component of the AppleTalk protocol stack and is a sub-structure of the OTCfgATalkGeneral structure.

struct OTCfgATalkGeneralATP

{

 

UInt16

fVersion;

UInt16

fSize;

UInt32

fTSDUSize;

UInt32

fDefaultRetryInterval;

UInt32

fDefaultRetryCount;

UInt8

fDefaultReleaseTimer;

Boolean

fDefaultALOSetting;

};

 

Field descriptions

fVersion

Must be 1.

fSize

Must be sizeof(OTCfgATalkGeneralATP).

fTSDUSize

The maximum amount of data that packets of this protocol

can carry. The default is 578.

fDefaultRetryInterval

The default retry interval in milliseconds. By default, this value is 2000.

fDefaultRetryCount The default retry count. By default, this value is 8.

fDefaultReleaseTimer

The default release timer. The default value is zero. This field has the same format as ATP_OPT_RELTIMER which is described in Inside Macintosh: Networking with Open Transport.

150Protocol Structures

Page 150
Image 150
Apple Network Setup manual OTCfgATalkGeneralATP, fDefaultRetryInterval, fDefaultReleaseTimer