Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hios(7) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ioctl(2)

open(2)

hdlcio(7)

sih(7)

hios(7)                         (RM400 only)                        hios(7)

NAME
     hios - HDLC-ioctl for the reading in of statistical data

SYNOPSIS
     #include <hios.h>

     int ioctl(fildes, command, arg)
     int fildes, command;

     struct HdlcIOState *arg;

DESCRIPTION
     The ioctl command HIOSGET can be used to output statistical data.

     The individual statistics parameters are defined in the structure
     HdlcIOState.

     struct HdlcIOState {              /* HDLC status structure */
            unsigned int   HIOTime    /* HDLC send-receive time (ms) */
            unsigned int   HIOCONE    /* HDLC line connection error */
            unsigned int   HOSIFrame  /* HDLC send Information frame */
            unsigned int   HOSSFrame  /* HDLC send Supervisory frame */
            unsigned int   HOSUFrame  /* HDLC send Unnumbered frame */
            unsigned int   HOSCount   /* HDLC send count */
            unsigned int   HOSRetry   /* HDLC send retry count */
            unsigned int   HISIFrame  /* HDLC receive Information frame */
            unsigned int   HISSFrame  /* HDLC receive Supervisory frame */
            unsigned int   HISUFrame  /* HDLC receive Unnumbered frame */
            unsigned int   HISCount   /* HDLC receive count */
            unsigned int   HISCRCE    /* HDLC receive CRC error */
            unsigned int   HISTimeE   /* HDLC receive timeout error */
            unsigned int   HISSizeE   /* HDLC receive size error */
     };

     HIOTime   Time in ms, during which the driver for the line (send,
                receive) was active.

     HIOCONE   Counter to determine how often the line was started and the
                connection had to be set up again.

     HOSIFrame Number of I frames sent.

     HOSSFrame Number of S frames sent.

     HOSUFrame Number of U frames sent.

     HOSCount  Number of data bytes sent.

     HOSRetry  Number of retries.

     HISIFrame Number of I frames received.




Page 1                       Reliant UNIX 5.44                Printed 11/98

hios(7)                         (RM400 only)                        hios(7)

     HISSFrame Number of S frames received.

     HISUFrame Number of U frames received.

     HISCount  NUmber of data bytes received.

     HISCRCE   Number of CRC errors.

     HISTimeE  Number of timeout errors for a response.

     HISSizeE  Number of size errors.

NOTES
     The counters are set to the link during the first open(2), and reset
     to 0 on selection. In order to ensure accurate results, the statisti-
     cal data should only be output by one application at a time.

FILES
     /usr/include/sys/io/hios.h

SEE ALSO
     ioctl(2), open(2), hdlcio(7), sih(7).
































Page 2                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026