Otcfgtcpconfigmethod – Apple Network Setup User Manual

Page 162

Advertising
background image

C H A P T E R 4

Network Setup Protocol Structures and Data Types

162

Protocol Constants and Other 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

4

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.

Advertising