|
|
#include <sys/stream.h> #include <sys/mdi.h> #include <sys/scoisdn.h>typedef struct isdn_register_params { isdnU16_t ApplId; isdnU32_t level3cnt; isdnU32_t datablkcnt; isdnU32_t datablklen; } isdn_register_params_t;
level3cnt, datablkcnt, and datablklen.
Failure to allocate enough resources may cause
connection establishment failures or data messages to be lost.
The structure members are:
ApplIdlevel3cntdatablkcntdatablklendatablklen is too
small, messages may be lost.
ApplId field of the
isdn_register_params structure. The ISDN
driver should use this application identifier in the ApplId
field of the
isdn_msg_hdr(D4isdn)
header for all ISDN messages pertaining to this application.
The application need not specify the ApplId field of the
isdn_msg_hdr for ISDN
messages to the ISDN device; the
DLPI in HDK Technical Reference
module performs this function.
The data is one of the following:
ioc_rval set to zero and return the
associated ApplId in the
isdn_register_params structure.
ioc_count to zero,
ioc_rval to -1,
and ioc_error to an appropriate value from
errnos(D5).