Retrieve statistics for a particular link.
The following structure is associated with this ioctl:
struct perlinkstats { uint32_t linkid; /* link id (ppa) */ int network_state; /* Network State */ uint32_t mon_array[link_mon_size]; /* L3perlinkmonarray */ };
The members of the perlinkstats structure are:
Table 7-7 perlinkstats fields
Member |
Description |
---|---|
linkid |
the number of the link. |
network_state |
a code defining the network state. The codes are as follows: 1 Connecting to DXE 2 Connected resolving DXE 3 Random wait started 4 Connected and resolved DXE 5 DTE RESTART REQUEST 6 Waiting link disc reply 7 Buffer to enter WtgRES 8 Buffer to enter L3restarting 9 Buffer to enter L_disconnect 10 Registration request |
mon_array |
the array containing the statistics. mon_array is defined in the file x25_control.h. |
read current NLI version Read which version of the Network Layer Interface is supported by the X.25 multiplexor. Solstice X.25 supports version 3. |
The following structure is associated with this ioctl:
struct nliformat { unsigned char version; /* NLI version number */ };
The members of the nliformat structure are:
Table 7-8 nliformat fields
Member |
Description |
---|---|
version |
the version of NLI supported by the X.25 multiplexor. |