DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

isdnBproto(D4isdn)


isdnBproto -- ISDN protocol selection and configuration structures

Synopsis

   #include <sys/types.h>
   #include <sys/scoisdn.h>
   

typedef struct isdnBproto { isdnB1proto_t B1proto; isdnB2proto_t B2proto; isdnB3proto_t B3proto;

struct isdnB1config { isdnWord_t rate; isdnWord_t dataBits; isdnWord_t parity; isdnWord_t stopBits; } B1config;

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;

union isdnB3config { struct /* Used for protocols 1, 2, 3 */ { isdnWord_t lic; isdnWord_t hic; isdnWord_t ltc; isdnWord_t htc; isdnWord_t loc; isdnWord_t hoc; isdnWord_t moduloMode; isdnWord_t windowSize; } P123;

       struct          /* Used for protocol 4 */
       {
           isdnWord_t  resolution;
           isdnWord_t  format;
           struct
           {
               void    *dummy; /* ID of the calling station */
           } station_id;
           struct
           {
               void    *dummy; /* headline sent on each fax page */
           } headline;
       } FAX;
       } B3config;
   

} isdnBproto_t;

Description

The isdnBproto structure and substructures are used to select and define the physical link and framing, data link layer, and network layer protocols. There is a protocol identifier and configuration information for each layer. If this structure is empty, the default values are assumed.

These structures are used by:

ISDN_CONNECT.ISDN_REQ(D7isdn)
ISDN_CONNECT.ISDN_RESP(D7isdn)
ISDN_SELECT_B_PROTOCOL.ISDN_REQ(D7isdn)

Parameters


B1proto
physical layer and framing protocol; see isdnB1proto(D4isdn).

B2proto
data link layer protocol; see isdnB2proto(D4isdn).

B3proto
network layer protocol; see isdnB3proto(D4isdn).

B1config
physical layer and framing parameters; see isdnB1config(D4isdn).

B2config
data link layer parameters; see isdnB2config(D4isdn).

B3config
network layer parameters; see isdnB3config(D4isdn).

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