HP UX 11i v1 I/O Cards manual Data.setportsc.iftno, Data.setportsc.portno, Data.setportsc.subchno

Models: UX 11i v1 I/O Cards

1 298
Download 298 pages 31.75 Kb
Page 199
Image 199

ZCOM C I/F Library Routines

ZCONFIG (3X)

header.tag1,

header.tag2

Any values.

data.setportsc.iftno

Interface card number (0, 1,...).

data.setportsc.portno

Port number in E1/T1 interface card (0...3).

data.setportsc.subchno

Subchannel number within the port (0...31).

data.setportsc.rcode

This field is used for actions ZcDSC_ALL_PARMS, ZcDSC_CFG_MODE, ZcDSC_BAUD_RATE, ZcDSC_PORT_MODE, ZcDSC_SET_TIMESLOTS and ZcDSC_SET_SUBC_SPECS only. Values are:

1 - Use configuration in interface table

2 - Use data in field data.setportsc.ptcfg

data.setportsc.ptcfg

Pointer to the port and subchannel configuration data of which the data structure zptcfg_t is defined in /opt/acc/include/zcom/zcomsys.h.

data.setportsc.ptcfg->ptcnfg

Port configuration data (32 bits) which is used for actions

ZcDSC_ALL_PARMS, ZcDSC_CFG_MODE, ZcDSC_BAUD_RATE and ZcDSC_PORT_MODE only. See the Port Configuration section for the format of the configuration data (data.setport.cnfg field).

Chapter 4

199

Page 199
Image 199
HP UX 11i v1 I/O Cards manual Data.setportsc.iftno, Data.setportsc.portno, Data.setportsc.subchno, Data.setportsc.rcode