PREV TOC HOME INDEX NEXT


1.9.7. Set/Retrieve Logical Data Link State

Parameter Input
target_type GCTGT_GCLIB_CHAN
target_id line device handle (linedev) of the board device
parmblkp the pstruct member of parmblkp should point to the DLINK (Data Link Information Block) data structure followed by int. See Section4.5, DLINK, for a definition of the DLINK structure; see the example code for details.

set_id - GCIS_SET_DLINK

parm_id - GCIS_PARM_DLINK_CES

 

values -

    • 1-8 for BRI when used as a network-side terminal.

 

value_type - char


parm_id - GCIS_PARM_DLINK_SAPI

values -

    • 0 for BRI and PRI
    • 16 for X.25 packets over D-channel

value_type - char


parm_id - GCIS_PARM_DLINKCFG_STATE

values -

    • DATA_LINK_UP
    • DATA_LINK_DOWN
    • DATA_LINK_DISABLED

value_type - int

retblkp pointer to the buffer containing the requested data link state value.

parm_id - GCIS_PARM_DLINKCFG_STATE

values -

    • DATA_LINK_UP
    • DATA_LINK_DOWN
    • DATA_LINK_DISABLED

value_type - int

mode EV_ASYNC, EV_SYNC


PREV TOC HOME INDEX NEXT

Click here to contact Dialogic Customer Engineering

Copyright 2001, Dialogic Corporation
All rights reserved
This page generated October, 2001