Apple Network Setup Network Card User Manual


 
CHAPTER 4
Network Setup Protocol Structures and Data Types
Protocol Structures 121
struct OTCfgTCPSearchList {
UInt8 fPrimaryInterfaceIndex;
Str255 fLocalDomainName[256];
Str255 fAdmindomain[256];
};
Field descriptions
fPrimaryInterfaceIndex
A value that must be 1 in the current versions of Open
Transport.
fLocalDomainName The local domain name in Pascal string format. You must
unpack this field when you read this structure from the
database and pack this file when you write this structure to
the database.
fAdmindomain The administrative domain name in Pascal string format.
You must unpack this field when you read this structure
from the database and pack this file when you write this
structure to the database.
The preference type for this preference is kOTCfgTCPSearchListPref, which is
defined as 'ihst'.
OTCfgTCPUnloadAttr 4
The OTCfgTCPUnloadAttr enumeration defines values that indicate whether
TCP/IP is loaded on demand, always loaded, or inactive. These values are used
in the kOTCfgTCPUnloadAttrPref preference.
typedef UInt16 OTCfgTCPUnloadAttr
enum {
kOTCfgTCPActiveLoadedOnDemand = 1,
kOTCfgTCPActiveAlwaysLoaded = 2,
kOTCfgTCPInactive = 3
};
Constant descriptions
kOTCfgTCPActiveLoadedOnDemand
TCP/IP is loaded when needed and unloaded when
inactive for two minutes.