Annotation of coherent/a/usr/include/sys/tnioctl.h, revision 1.1.1.1

1.1       root        1: /* $Header: /src386/usr/include/sys/RCS/tnioctl.h,v 1.1 92/07/31 16:07:28 root Exp $ */
                      2: #ifndef        TNIOCTL_H
                      3: #define        TNIOCTL_H
                      4: 
                      5: #define        TNIOC   ('N' << 8)
                      6: #define        TNGETA  (TNIOC|1)       /* Get node attributes */
                      7: #define        TNGETAF (TNIOC|2)       /* Get node attributes, clear node stats */
                      8: 
                      9: #define        NTNST   8               /* Number of network statistics */
                     10: 
                     11: /*
                     12:  * Network node attributes.
                     13:  * Maintained on a per node id basis.
                     14:  * NOTE: Node id 0 is used for totals.
                     15:  */
                     16: typedef struct tnattr {
                     17:        unsigned char   host[6];        /* host id - node id in host[5] */
                     18:        unsigned char   bad;            /* non-zero if node is down */
                     19:        unsigned char   fill;           /* reserved, also for alignment */
                     20:        unsigned long   recons;         /* network reconfigurations */
                     21:        unsigned long   stats[NTNST];   /* statistics */
                     22: } tnattr_t ;
                     23: 
                     24: /*
                     25:  * Statistics maintained per node.
                     26:  */
                     27: #define        TnRxBYTES       0       /* # bytes received from node */
                     28: #define        TnTxBYTES       1       /* # bytes transmitted to node */
                     29: #define        TnRxPACKS       2       /* # packets received from node */
                     30: #define        TnTxPACKS       3       /* # packets transmitted to node */
                     31: #define        TnDISCARD       4       /* # packets discarded [to node] */
                     32: #define        TnSTATMOD       5       /* # status transitions on node */
                     33: #define        TnWRTDLYS       6       /* # delayed writes */
                     34: #define        TnELAPSED       7       /* elapsed time for stats in ticks */
                     35: 
                     36: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.