Otcfgtcpdnsserverslist, Otcfgtcplocks, Servers. for details, see – Apple Network Setup User Manual

Page 116

Advertising
background image

C H A P T E R 4

Network Setup Protocol Structures and Data Types

116

Protocol Structures

The preference type for

OTCfgTCPLeaseDHCPInfo

is

kOTCfgTCPDHCPLeaseInfoPref

,

which is defined as

'dclt'.

OTCfgTCPDNSServersList

4

The

OTCfgTCPDNSServersList

structure stores the list of name servers that have

been configured for an interface.

struct OTCfgTCPDNSServersList

{

UInt16 fCount;

InetHost fAddressesList[1];

};

Field descriptions

fCount

The number of IP addresses in the list.

fAddressesList

An unbounded array containing the IP addresses of name
servers.

The preference type for

OTCfgTCPDNSServersList

is

kOTCfgTCPDNSServersListPref

, which is defined as

'idns'.

OTCfgTCPLocks

4

The

OTCfgTCPLocks

structure stores information about whether a preference has

been locked by the administration mode of the control panel.

struct OTCfgTCPLocks

{

UInt8 pad1;

UInt8 lockConnectViaPopup;

UInt8 pad2;

UInt8 lockConfigurePopup;

UInt8 pad3;

UInt8 lockAppleTalkZone;

UInt8 pad4;

UInt8 lockIPAddress;

Advertising