isdnB2config(D4isdn)
isdnB2config --
ISDN data link layer parameters configuration structure
Synopsis
#include <sys/types.h>
#include <sys/scoisdn.h>
typedef struct isdnBproto {
...
struct isdnB2config {
isdnByte_t addrA;
isdnByte_t addrB;
isdnModMode_t moduloMode;
isdnByte_t windowSize;
struct
{
void *dummy; /* only with protocol 2, XID response */
} xid;
} B2config;
...
} isdnBproto_t;
Description
The isdnB2config structure offers offers additional
configuration information for the B2 protocol specified in
isdnB2proto(D4isdn).
isdnB2config is only used for B2 protocols 0, 2, and 3.
The complete B-channel protocol information is defined by
isdnBproto(D4isdn).
Parameters
The addrA
, addrB
, and xid
parameters
have different meanings and default values depending on the
selected B2 protocol:
addrA
-
B2 protocol 0: -
link Address A, default is 0x03
B2 protocol 2: -
link Address, default is 0xC1
B2 protocol 3: -
bit 0. '0' = automatic TEI (Terminal Endpoint Identifier)
assignment procedure; '1' = fixed TEI. In this case, Bit7 -
Bit1: TEI value.
addrB
-
B2 protocol 0: -
link Address B, default is 0x01
B2 protocol 2: -
not applicable
B2 protocol 3: -
not applicable
moduloMode
-
mode of operation
typedef isdnByte_t isdnModMode_t;
Valid values are:
BPROTO_MODE_NORM-
normal operation (default)
BPROTO_MODE_EXTENDED-
extended operation
windowSize
-
window size; default is 7
xid
-
B2 protocol 0: -
not applicable
B2 protocol 2: -
the content of the XID response that is sent when an XID command
is received
B2 protocol 3: -
not applicable
References
Intro(D4isdn),
Intro(D7isdn)
``SCO ISDN adapter drivers'' in Developing MDI network adapter drivers
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005