The L2_BLK structure is used to send and receive layer 2 information to an ISDN interface using the cc_GetFrame( ) and cc_SndFrame( ) functions.
The structure is defined as follows:
#define MAXLEN_IEDATA 254
typedef struct
{
char sapi;
char ces;
short length;
char data[MAXLEN_DATA];
} L2_BLK, *L2_BLK_PTR;
Table 36. L2_BLK Field Descriptions
Field |
Description |
sapi |
The Service Access Point Identifier (applies to BRI only, set to 0 for PRI). |
ces |
The Connection Endpoint Suffix (applies to BRI only, set to 0 for PRI). |
length |
The total bytes of the following data field. |
data |
This field contains the received frame. |
Click here to contact Dialogic Customer Engineering
Copyright 2001, Dialogic Corporation