Otcfgremotenetaccessmode, Modem constants and other data types, Modem constants and other data types 4 – Apple Network Setup User Manual

Page 170

Advertising
background image

C H A P T E R 4

Network Setup Protocol Structures and Data Types

170

Protocol Constants and Other Data Types

kOTCfgNetProtoAT

Allow AppleTalk connections (ATCP and ARAP).

kOTCfgNetProtoAny

Allow IPCP and AppleTalk connections.

OTCfgRemoteNetAccessMode

4

The

OTCfgRemoteNetAccessMode

enumeration defines constants for the

netAccessMode

field of the

OTCfgRemoteServerPort

(page 137) structure:

typedef UInt8 OTCfgRemoteNetAccessMode;

enum {

kOTCfgNetAccessModeUnrestricted = 0,

kOTCfgNetAccessModeThisMacOnly

};

Constant descriptions

kOTCfgNetAccessModeUnrestricted

The connected client can see other entities on the server’s
network.

kOTCfgNetAccessModeThisMacOnly

The connected client can only see entities on the server
machine.

Modem Constants and Other Data Types

4

The following enumeration defines per-connection preference types for modem
preferences:

enum {

kOTCfgModemGeneralPrefs = 'ccl ',

kOTCfgModemLocksPref = 'lkmd',

kOTCfgModemAdminPasswordPref = 'mdpw',

};

Advertising