Apple Network Setup Network Card User Manual


 
CHAPTER 4
Network Setup Protocol Structures and Data Types
118 Protocol Structures
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'.