Otcfgatalkgeneralatp – Apple Network Setup User Manual

Page 150

Advertising
background image

C H A P T E R 4

Network Setup Protocol Structures and Data Types

150

Protocol Structures

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

4

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.

Advertising