6. Data Structure Reference
295
Table 31. channel_id Descriptions and Values
Field Description Values
channel Specifies the channel to
be used.
NO_BCHAN – No B channel
ANY_BCHAN – Any
B channel
DCHAN_IND – Non circuit
switched
channel mode Specifies the channel
mode to be used for the
B channel, if a B channel
is specified in the channel
field.
PREFERRED – B channel
preferred
EXCLUSIVE – B channel
exclusive
rfu Reserved for future use Not used
6.3. DCHAN_CFG
The DCHAN_CFG data structure contains D-channel configuration block
information. The D-channel configuration block sets the configuration of the
Digital Subscriber Loop (DSL) for BRI applications. The D-channel is configured
using the cc_SetDChanCfg( ) function.
The structure is defined as follows:
typedef struct {
byte layer2_access; /* Layer 2 or full stack */
byte switch_type; /* Layer 3 switch type */
byte switch_side; /* Network or User side */
byte number_of_endpoints; /* # of logical data links */
byte feature_controlA; /* Firmware feature mask A */
byte feature_controlB; /* Firmware feature mask B */
byte rfu_1; /* Reserved for future use */
byte rfu_2; /* Reserved for future use */
struct {
byte tei_assignment; /* Auto assignment or Fixed TEI terminal */
byte fixed_tei_value; /* TEI value if Fixed TEI terminal */
union {
struct {
byte auto_init_flag; /* Auto initializing term or not */
byte SPID[MAX_SPID_SIZE]; /* SPID for terminal, NULL