Apple Network Setup manual Apple Remote Access Constants and Other Data Types

Models: Network Setup

1 184
Download 184 pages 5.56 Kb
Page 163
Image 163
Apple Remote Access Constants and Other Data Types

C H A P T E R 4

Network Setup Protocol Structures and Data Types

kOTCfgBOOTPConfig Obtain an address from a BOOTP server.

kOTCfgDHCPConfig Obtain an address from a DHCP server.

kOTCfgMacIPConfig Configure TCP/IP to use MacIP.

Note

The TCP/IP control panel’s “PPP Server” address acquisition method is actually implemented by setting fConfigMethod to kOTCfgManualConfig and setting fIPAddress to zero.

Apple Remote Access Constants and Other Data Types

The following enumeration defines constants for the version field that appears in Apple Remote Access (ARA) structures:

enum {

kOTCfgRemoteDefaultVersion = 0x00020003,

kOTCfgRemoteAcceptedVersion = 0x00010000

};

Constant descriptions

kOTCfgRemoteDefaultVersion

The version number with which new Remote Access preferences should be created.

kOTCfgRemoteAcceptedVersion

A version number that is acceptable for existing Remote

Access preferences.

ARA Per-Connection Preferences Types

The following enumeration defines per-connection preference types for ARA:

enum {

 

 

kOTCfgRemoteARAPPref

= 'arap',

kOTCfgRemoteAddressPref

= 'cadr',

kOTCfgRemoteChatPref

=

'ccha',

kOTCfgRemoteDialingPref

=

'cdia',

Protocol Constants and Other Data Types

163

Page 163
Image 163
Apple Network Setup manual Apple Remote Access Constants and Other Data Types, ARA Per-Connection Preferences Types