Otcfgatalkgeneralnbp – Apple Network Setup User Manual

Page 153

Advertising
background image

C H A P T E R 4

Network Setup Protocol Structures and Data Types

Protocol Structures

153

redefined as a flag, with zero meaning inactive and non-zero meaning active.
However, the default preferences were not updated to reflect this change. So, it
is possible to see the following values stored in this field:

typedef UInt8 OTCfgATalkUnloadOptions

enum {

kOTCfgATalkInactive = 0,

kOTCfgATalkDefaultUnloadTimeout = 5,

kOTCfgATalkActive = 0xFF

};

When reading, treat a value of zero as meaning that AppleTalk is inactive, and
treat any non-zero values as meaning that AppleTalk is active. When writing,
set

fLoadType

to

kOTCfgATalkInactive

or

kOTCfgATalkActive

. Never set

fLoadType

to

kOTCfgATalkDefaultUnloadTimeout

.

No preference type is defined for the

OTCfgATalkGeneralDDP

structure. Instead,

access this structure through the

OTCfgATalkGeneral

(page 145) structure, which

has a preference type of

kOTCfgATalkGeneralPref

.

OTCfgATalkGeneralNBP

4

The

OTCfgATalkGeneralNBP

structure defines parameters for the Name Bind

Protocol (NBP) component of the AppleTalk protocol stack and is a
sub-structure of the

OTCfgATalkGeneral

structure.

struct OTCfgATalkGeneralNBP

{

UInt16 fVersion;

UInt16 fSize;

UInt32 fTSDUSize;

UInt32 fDefaultRetryInterval;

UInt32 fDefaultRetryCount;

Boolean fCaseSensitiveCompare;

UInt8 fPad;

};

Field descriptions

fVersion

Must be 1.

Advertising