Apple Network Setup manual OTCfgTCPConfigMethod

Models: Network Setup

1 184
Download 184 pages 5.56 Kb
Page 162
Image 162
OTCfgTCPConfigMethod

C H A P T E R 4

Network Setup Protocol Structures and Data Types

kOversizeOffNetPacketsMask

=

0x0008,

kDHCPDontPreserveLeaseMask

=

0x0010,

};

Constant descriptions

kDontDoPMTUDiscoveryMask

If set, this bit turns off path MTU discovery.

kDontShutDownOnARPCollisionMask

If set, this bit disables ARP collision shutdown.

kDHCPInformMask If set, this bit enables DHCPINFORM instead of

DHCPREQUEST.

kOversizeOffNetPacketsMask

If set and with path MTU discovery off, this bit disables limiting off-network packets to 576 bytes.

kDHCPDontPreserveLeaseMask

If set, this bit disables DHCP INIT-REBOOT capability.

For details about kDHCPInformMask and kDHCPDontPreserveLeaseMask, see Tech Info Library article 58372 available at http://til.info.apple.com/techinfo.nsf/ artnum/n58372.

OTCfgTCPConfigMethod

The OTCfgTCPConfigMethod enumeration defines values that indicate how the interface acquires an IP address:

enum UInt8 OTCfgTCPConfigMethod {

kOTCfgManualConfig,

kOTCfgRARPConfig,

kOTCfgBOOTPConfig,

kOTCfgDHCPConfig,

kOTCfgMacIPConfig

};

Constant descriptions

kOTCfgManualConfig Use the IP address that is stored in the fIPAddress field.

kOTCfgRARPConfig Obtain an address from a RARP server.

162Protocol Constants and Other Data Types

Page 162
Image 162
Apple Network Setup manual OTCfgTCPConfigMethod