Solstice X.25 9.2 Developer's Guide

12.7.2.16 Expedited Data Negotiation

This facility is set as follows:

u_char expedited = 1;/* 0 indicates non-use of expedited data */
 f.type = T_EXPEDITED;
 f.f_expedited = expedited;
 error = ioctl(s, X25_SET_FACILITY, &f);

It is read as follows:

f.type = T_EXPEDITED;
 error = ioctl(s, X25_GET_FACILITY, &f);
 expedited = f.f_expedited;