Apple Network Setup Manual de usuario Pagina 114

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 184
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 113
CHAPTER 4
Network Setup Protocol Structures and Data Types
114 Protocol Structures
OTCfgTCPInterfacesPacked 4
The OTCfgTCPInterfacesPacked structure stores information about the
configured TCP/IP interfaces in packed 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 OTCfgTCPInterfacesPacked {
UInt16 fCount;
UInt8 fConfigMethod;
UInt8 fIPAddress[4];
UInt8 fSubnetMask[4];
UInt8 fAppleTalkZone[256];
UInt8 part[sizeof(OTCfgTCPInterfacesPackedPart)];
};
Field descriptions
fCount A value that is always 1 in the current versions of Open
Transport.
fConfigMethod The configuration method. For possible values, see
OTCfgTCPConfigMethod (page 162).
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.
part A OTCfgTCPInterfacesPackedPart (page 114) structure
containing port, module, and framing information.
OTCfgTCPInterfacesPackedPart 4
The OTCfgTCPInterfacesPackedPart structure is a member of the
OTCfgTCPInterfacesPacked (page 114) structure and stores port, module and
framing information about the configured TCP/IP interfaces.
Vista de pagina 113
1 2 ... 109 110 111 112 113 114 115 116 117 118 119 ... 183 184

Comentarios a estos manuales

Sin comentarios