Apple Network Setup manual OTCfgRemoteLCP, lowerLayerName36

Models: Network Setup

1 184
Download 184 pages 5.56 Kb
Page 133
Image 133
OTCfgRemoteLCP

C H A P T E R 4

Network Setup Protocol Structures and Data Types

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

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;

Protocol Structures

133

Page 133
Image 133
Apple Network Setup manual OTCfgRemoteLCP, lowerLayerName36