Otcfgremotelcp – Apple Network Setup User Manual

Page 133

Advertising
background image

C H A P T E R 4

Network Setup Protocol Structures and Data Types

Protocol Structures

133

allowAddressNegotiation

Must be 1.

idleTimerEnabled

Set

idleTimerEnabled

to 1 to cause a connection that has

been idle for the number of milliseconds specified by the

idletTimerMilliseconds

field to be disconnected. Set

idleTimerEnabled

to zero to disable the idle timer.

compressTCPHeaders

Set

compressTCPHeaders

to 1 to allow Van Jacobsen header

compression. Set

compressTCPHeaders

to zero to disallow

header compression.

idleTimerMilliseconds

The number of milliseconds to wait before disconnecting a
connection that is idle.

The preference type for this preference is

kOTCfgRemoteIPCPPref

, which is

defined as

'ipcp'

.

OTCfgRemoteLCP

4

The

OTCfgRemoteLCP

structure stores information for configuring the Link

Control Protocol (LCP) layer of PPP. The information in this structure is used
for PPP connections and is ignored for ARAP connections. This information is
also used as part of a Remote Access server configuration.

struct OTCfgRemoteLCP {

UInt32

version;

UInt32

reserved[2];

char

lowerLayerName[36];

UInt32

maxConfig;

UInt32

maxTerminate;

UInt32

maxFailureLocal;

UInt32

maxFailureRemote;

UInt32

timerPeriod;

UInt32

echoTrigger;

UInt32

echoTimeout;

UInt32

echoRetries;

UInt32

compressionType;

UInt32

mruSize;

UInt32

upperMRULimit;

UInt32

lowerMRULimit;

Advertising