Apple Network Setup manual OTCfgTCPDNSServersList, OTCfgTCPLocks

Models: Network Setup

1 184
Download 184 pages 5.56 Kb
Page 116
Image 116
OTCfgTCPDNSServersList

C H A P T E R 4

Network Setup Protocol Structures and Data Types

The preference type for OTCfgTCPLeaseDHCPInfo is kOTCfgTCPDHCPLeaseInfoPref, which is defined as 'dclt'.

OTCfgTCPDNSServersList

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

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;

116Protocol Structures

Page 116
Image 116
Apple Network Setup manual OTCfgTCPDNSServersList, OTCfgTCPLocks