isdnNCPI(D4isdn)
isdnNCPI --
ISDN Network Control Protocol Information structure
Synopsis
#include <sys/types.h>
#include <sys/scoisdn.h>
typedef struct isdnNCPI
{
struct
{
isdnByte_t conf;
isdnByte_t chanGroup;
isdnByte_t chanNumb;
isdnByte_t packet_bytes[MAX_PACKET_BYTES]; /* X.25 PLP packet */
} P123; /* bytes after type */
struct
{
isdnWord_t rate;
isdnWord_t resolution;
isdnWord_t format;
isdnWord_t pages;
struct
{
void *dummy;
} recvdID; /* ID of remote side */
} FAX;
} isdnNCPI_t;
Description
The isdnNCPI structure provides additional
protocol-specific information.
This structure is used by:
ISDN_CONNECT_B3.ISDN_REQ(D7isdn)
ISDN_CONNECT_B3.ISDN_IND(D7isdn)
ISDN_CONNECT_B3.ISDN_RESP(D7isdn)
ISDN_CONNECT_B3_ACTIVE.ISDN_IND(D7isdn)
ISDN_CONNECT_B3_T90_ACTIVE.ISDN_IND(D7isdn)
ISDN_DISCONNECT_B3.ISDN_REQ(D7isdn)
ISDN_DISCONNECT_B3.ISDN_IND(D7isdn)
ISDN_RESET_B3.ISDN_REQ(D7isdn)
ISDN_RESET_B3.ISDN_IND(D7isdn)
Parameters
For the layer 3 protocols ISO 8028 and X.25, the parameter data
are coded:
conf
-
Bit field:
0-
enable the usage of the delivery confirmation procedure in call
set-up and data packets (D-Bit)
1..7-
reserved
chanGroup
-
logical channel group number of the permanent virtual circuit
(PVC to be used. In the case of virtual calls (VC), this number
must be set to 0.
chanNumb
-
logical channel group number of the permanent virtual circuit
(PVC to be used. In the case of virtual calls (VC), this number
must be set to 0.
packet_bytes
-
bytes following the packet type identifier field in the X.25 PLP
packets
For layer 3 protocol T.30 (fax group 3), the parameter data are
valid only for
ISDN_DISCONNECT_B3.ISDN_IND(D7isdn)
(for other messages, the structure is empty)
and are coded:
rate
-
actual bit rate used, coded as an unsigned integer value
resolution
-
0-
standard
1-
high
format
-
0-
SFF (Structured Fax File); default
1-
plain fax format (modified Huffman coding)
2-
PCX
3-
DCX
4-
TIFF (Tagged Image File Format)
5-
ASCII
6-
Extended ANSI
7-
binary file transfer
recvdID-
ID of the remote side
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