Apple Network Setup Network Card User Manual


 
CHAPTER 4
Network Setup Protocol Structures and Data Types
112 Protocol Structures
OTCfgTCPInterfacesPacked (page 114) stores information about the configured
TCP/IP interfaces in packed format.
OTCfgTCPInterfacesPackedPart (page 114) is a member of the
OTCfgTCPInterfacesPacked (page 114) structure that stores port, module, and
framing information for TCP/IP interfaces in packed format.
OTCfgTCPDHCPLeaseInfo (page 115) stores information about a DHCP lease.
OTCfgTCPDNSServersList (page 116) stores name server information.
OTCfgTCPLocks (page 116) stores information about whether a preference is
locked.
OTCfgTCPRoutersList (page 119) stores an array of OTCfgTCPRoutersListEntry
(page 119) structures.
OTCfgTCPRoutersListEntry (page 119) stores the IP address of the router that
has been configured for this interface as the default gateway.
OTCfgTCPSearchDomains (page 120) stores the list of domains that are searched
after the implicit search domains.
OTCfgTCPSearchList (page 120) stores DNS configuration information.
OTCfgTCPUnloadAttr (page 121) defines values that indicate when TCP/IP is
loaded.
OTCfgTCPInterfacesUnpacked 4
The OTCfgTCPInterfacesUnpacked structure stores information about the
configured TCP/IP interfaces in unpacked format. See Listing 2-16 in Chapter 2,
“Using Network Setup,” for sample code that packs and unpacks this structure.
IMPORTANT
You must pack this structure before you write it to the
database and you must unpack this structure after you
reading it from the database.
struct OTCfgTCPInterfacesUnpacked {
UInt16 fCount;
UInt8 pad1;
OTCfgTCPConfigMethodfConfigMethod;