|
|
1.1 root 1: /***********************************************************
2: Copyright IBM Corporation 1987
3:
4: All Rights Reserved
5:
6: Permission to use, copy, modify, and distribute this software and its
7: documentation for any purpose and without fee is hereby granted,
8: provided that the above copyright notice appear in all copies and that
9: both that copyright notice and this permission notice appear in
10: supporting documentation, and that the name of IBM not be
11: used in advertising or publicity pertaining to distribution of the
12: software without specific, written prior permission.
13:
14: IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
15: ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
16: IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
17: ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
18: WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
19: ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
20: SOFTWARE.
21:
22: ******************************************************************/
23:
24: /*
25: * ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
26: */
27: /* $Header: /var/src/sys/netiso/RCS/clnp_stat.h,v 5.1 89/02/09 16:20:42 hagens Exp $ */
28: /* $Source: /var/src/sys/netiso/RCS/clnp_stat.h,v $ */
29:
30:
31: #ifndef __CLNP_STAT__
32: #define __CLNP_STAT__
33:
34: struct clnp_stat {
35: int cns_total; /* total pkts received */
36: int cns_toosmall; /* fixed part of header too small */
37: int cns_badhlen; /* header length is not reasonable */
38: int cns_badcsum; /* checksum on packet failed */
39: int cns_badaddr; /* address fields were not reasonable */
40: int cns_badvers; /* incorrect version */
41: int cns_noseg; /* segment information forgotten */
42: int cns_noproto; /* incorrect protocol id */
43: int cns_delivered; /* packets consumed by protocol */
44: int cns_ttlexpired; /* ttl has expired */
45: int cns_forward; /* forwarded packets */
46: int cns_sent; /* total packets sent */
47: int cns_odropped; /* o.k. packets discarded, e.g. ENOBUFS */
48: int cns_cantforward; /* non-forwarded packets */
49: int cns_fragmented; /* packets fragmented */
50: int cns_fragments; /* fragments received */
51: int cns_fragdropped; /* fragments discarded */
52: int cns_fragtimeout; /* fragments timed out */
53: int cns_ofragments; /* fragments generated */
54: int cns_cantfrag; /* fragmentation prohibited */
55: int cns_reassembled; /* packets reconstructed */
56: int cns_cachemiss; /* cache misses */
57: int cns_congest_set; /* congestion experienced bit set */
58: int cns_congest_rcvd; /* congestion experienced bit received */
59: int cns_er_inhist[CLNP_ERRORS + 1];
60: int cns_er_outhist[CLNP_ERRORS + 1];
61: } clnp_stat ;
62:
63: #ifdef INCSTAT
64: #undef INCSTAT
65: #endif INCSTAT
66: #define INCSTAT(x) clnp_stat./**/x/**/++
67:
68: #endif __CLNP_STAT__
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.