Solstice X.25 9.2 Administration Guide

Setting Parameters

The kernel does not check the parameters, it assumes they are set to reasonable values. Take care when setting them, as wrong parameters can affect the operation of the HDLC link.

Before setting the parameters, it is advisable to get them first with the ioctl call HDLC_GET_PARAM. The HDLC_SET_PARAM and HDLC_GET_PARAM calls have the same parameter format.

After setting the HDLC parameters, start HDLC by making the following call:


int fid;
 error = ioctl (fid, HDLC_INIT, 0);

In Solstice X.25 9.2 this is equivalent to executing hdlcstart in SunNet X.25 7.0.