DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

isdnCtrlr(D4isdn)


isdnCtrlr -- ISDN controller parameter

Synopsis

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

typedef isdnDword_t isdnCtrlr_t;

Description

The isdnCtrlr parameter provides access to an ISDN hardware unit. An isdnCtrlr supports none, one, or several physical and logical connections. The isdnCtrlr parameter is an isdnDword_t compatible in size with isdnPLCI(D4isdn) and isdnNCCI(D4isdn), and with a range from 1 to 127 (0 reserved). Bit 7 indicates if the message is used for internal or external equipment (such as a handset):

     0           0           0        Ex./Int.   Controller
31 16 8 7 6                   0

 |     0      |      0      |      0      |   Ex./Int.   |      Controller       |
  31                     16             8        7         6                   0

Controllers are numbered sequentially, and can be designed to handle external equipment in addition to internal functionality or exclusively provide access to external equipment. The definition of external equipment behavior (for example, B-channel handling) is not included in ISDN drivers.

ISDN drivers should always identify themselves as controller 1.

This type is used by:

ISDN_CONNECT.ISDN_REQ(D7isdn)
ISDN_LISTEN.ISDN_REQ(D7isdn)
ISDN_LISTEN.ISDN_CONF(D7isdn)
ISDN_MANUFACTURER.ISDN_REQ(D7isdn)
ISDN_MANUFACTURER.ISDN_CONF(D7isdn)
ISDN_MANUFACTURER.ISDN_IND(D7isdn)
ISDN_MANUFACTURER.ISDN_RESP(D7isdn)
ISDN_FACILITY.ISDN_REQ(D7isdn)
ISDN_FACILITY.ISDN_CONF(D7isdn)
ISDN_FACILITY.ISDN_IND(D7isdn)
ISDN_FACILITY.ISDN_RESP(D7isdn)

Bit mask values

The following bit masks are supported:

ISDN_CTLRMSK_UNUSED
0xffffff00: reserved, set to zero

ISDN_CTLRMSK_EXT
0x00000080: 1=External, 0=Internal

ISDN_CTLRMSK_CTLR
0x0000007f: controller

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