Apple Network Setup User Manual
Page 113

C H A P T E R 4
Network Setup Protocol Structures and Data Types
Protocol Structures
113
InetHost
fIPAddress;
InetHost fSubnetMask;
Str32 fAppleTalkZone;
UInt8 pad2;
UInt8 path[kMaxPortNameSize];
UInt8 module[kMaxModuleNameSize];
UInt32 framing;
};
Field descriptions
fCount
A value that is always 1 in the current versions of Open
Transport.
pad1
A pad byte. Remove this pad byte when you pack this
structure.
fConfigMethod
The configuration method. For possible values, see the
section
fIPAddress
The IP address that has been assigned to this interface.
fSubnetMask
The subnet mask.
fAppleTalkZone
The AppleTalk zone for this interface. Remove trailing
bytes when you pack this structure.
pad2
A pad byte. Remove this pad byte when you pack this
structure.
path
The name of the port over which this interface
communicates.
module
The name of the module that controls the port over which
this interface communicates.
framing
Ethernet framing options. Constants are defined in the file
“OpenTransportProviders.h,” an OpenTransport header
file.
The preference type for
OTCfgTCPInterfacesUnpacked
is
kOTCfgTCPInterfacesPref
, which is defined as
'iitf'.