Otcfgatalkportdevicetype, Infrared structures, Infrared structures 4 – Apple Network Setup User Manual

Page 158

Advertising
background image

C H A P T E R 4

Network Setup Protocol Structures and Data Types

158

Protocol Structures

OSType fNetworkArchitecture;

};

typedef struct OTCfgATalkNetworkArchitecture OTCfgATalkNetworkArchitecture;

Field descriptions

fVersion

Must be zero.

fNetworkArchitecture

Must be

'OTOn'

.

The preference type for the

OTCfgATalkNetworkArchitecture

structure is

kOTCfgATalkNetworkArchitecturePref

, which is defined as

'neta'

.

OTCfgATalkPortDeviceType

4

The

OTCfgATalkPortDeviceType

structure stores information about the port for

which AppleTalk is configured. This structure is not used by the AppleTalk
protocol stack, but it is used by the current AppleTalk control panel.

struct OTCfgATalkPortDeviceType

{

UInt16

fDeviceType;

};

Field descriptions

fDeviceType

The Open Transport device type (such as

kOTEthernetDevice

) or an ADEV ID for the current port.

The preference type for the

OTCfgATalkPortDeviceType

structure is

kOTCfgATalkPortDeviceTypePref

, which is defined as

'ptfm'

.

Infrared Structures

4

This section describes structure that stores Infrared preferences. The structure is

OTCfgIRGeneral

(page 159)

Advertising