Apple Network Setup manual Set to TRUE to lock the “Router address” text field

Models: Network Setup

1 184
Download 184 pages 5.56 Kb
Page 118
Image 118

C H A P T E R 4

Network Setup Protocol Structures and Data Types

lockRoutersList

Set to TRUE to lock the “Router address” text field.

pad8

Always zero.

lockDNSServersList Set to TRUE to lock the “Name server addr.” text field.

pad9

Always zero.

lockAdminDomainName

 

Set to TRUE to lock the “Ending domain name” text field.

pad10

Always zero.

lockSearchDomains

Set to TRUE to lock the “Additional search domains” text

 

field.

pad11

Always zero.

lockUnknown

Reserved.

pad12

Always zero.

lock8023

Set to TRUE to lock the Use 802.3 checkbox.

pad13

Always zero.

lockDHCPClientID

Set to TRUE to lock the DHCP Client ID text field. This field

 

was added to the OTCfgTCPLocks structure in

 

Open Transport 2.0.

pad14

Always zero. This field was added to the OTCfgTCPLocks

 

structure in Open Transport 2.0.

Depending on the version of Open Transport, the size of the OTCfgTCPLocks structure is 25 bytes (pre-Open Transport 2.0) or 27 bytes (Open Transport 2.0 and later). The following preference size constants are defined for this structure:

enum {

kOTCfgTCPLocksPrefPre2_0Size = 25,

kOTCfgTCPLocksPref2_0Size

= 27,

kOTCfgTCPLocksPrefCurrentSize = kOTCfgTCPLocksPref2_0Size,

};

When reading or writing this preference, be sure to use the appropriate preference type for the version of Open Transport that is being used.

The preference type for OTCfgTCPLocks is kOTCfgTCPLocksPref, which is defined as 'stng'.

118Protocol Structures

Page 118
Image 118
Apple Network Setup manual Set to TRUE to lock the “Router address” text field