Tcp/ip constants and other data types, In the section “tcp/ip, Tcp/ip constants and other data types 4 – Apple Network Setup User Manual

Page 160

Advertising
background image

C H A P T E R 4

Network Setup Protocol Structures and Data Types

160

Protocol Constants and Other Data Types

■

“AppleTalk Constants and Other Data Types” (page 172)

■

“Infrared Constants and Other Data Types” (page 173)

TCP/IP Constants and Other Data Types

4

The following enumeration defines type codes for the TCP/IP preferences.

enum {

kOTCfgTCPInterfacesPref = 'iitf',

kOTCfgTCPDeviceTypePref = 'dtyp',

kOTCfgTCPRoutersListPref = 'irte',

kOTCfgTCPSearchListPref = 'ihst',

kOTCfgTCPDNSServersListPref = 'idns',

kOTCfgTCPSearchDomainsPref = 'isdm',

kOTCfgTCPDHCPLeaseInfoPref = 'dclt',

kOTCfgTCPDHCPClientIDPref = 'dcid',

kOTCfgTCPUnloadAttrPref = 'unld',

kOTCfgTCPLocksPref = 'stng',

kOTCfgTCPPushBelowIPPref = 'crpt',

kOTCfgTCPPushBelowIPListPref= 'blip',

};

Constant descriptions

kOTCfgTCPInterfacesPref

Preference type for the

OTCfgTCPInterfacesUnpacked

(page 112) structure.

kOTCfgTCPDeviceTypePref

Preference type for the TCP device type. Constants are
defined in Inside Macintosh: Networking with Open Transport
available at

http://developer.apple.com/techpubs/mac/

NetworkingOT/NetworkingWOT-2.html

.

kOTCfgTCPRoutersListPref

Preference type for the

OTCfgTCPRoutersList

(page 119)

structure.

kOTCfgTCPSearchListPref

Preference type for the

OTCfgTCPSearchList

(page 120)

structure.

Advertising