Otcfgremoteipcp – Apple Network Setup User Manual

Page 132

Advertising
background image

C H A P T E R 4

Network Setup Protocol Structures and Data Types

132

Protocol Structures

OTCfgRemoteIPCP

4

The

OTCfgRemoteIPCP

structure stores information for configuring the Internet

Protocol Control Protocol (IPCP) layer of PPP. This information is also used as
part of a Remote Access server configuration. This structure is not used for
ARAP connections.

struct OTCfgRemoteIPCP {

UInt32

version;

UInt32

reserved[2];

UInt32

maxConfig;

UInt32

maxTerminate;

UInt32

maxFailureLocal;

UInt32

maxFailureRemote;

UInt32

timerPeriod;

UInt32

localIPAddress;

UInt32

remoteIPAddress;

UInt32

allowAddressNegotiation;

UInt16

idleTimerEnabled;

UInt16

compressTCPHeaders;

UInt32

idleTimerMilliseconds;

};

typedef struct OTCfgRemoteIPCP OTCfgRemoteIPCP;

Field descriptions

version

Depending how the preference was constructed,

version

may be

kOTCfgRemoteDefaultVersion

or

kOTCfgRemoteAcceptedVersion

. When reading the

version

field, accept either value. When writing the

version

field,

set it to

kOTCfgRemoteDefaultVersion

.

reserved

Must be zero.

maxConfig

Must be 10.

maxTerminate

Must be 10.

maxFailureLocal

Must be 10.

maxFailureRemote

Must be 10.

timerPeriod

In milliseconds. Must be 10000.

localIPAddress

Must be zero.

remoteIPAddress

Must be zero.

Advertising