/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* bos720 src/bos/usr/include/netiso/clnp_stat.h 1.5 */ /* */ /* Licensed Materials - Property of IBM */ /* */ /* COPYRIGHT International Business Machines Corp. 1988,1991 */ /* All Rights Reserved */ /* */ /* US Government Users Restricted Rights - Use, duplication or */ /* disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ /* */ /* IBM_PROLOG_END_TAG */ /* @(#)43 1.5 src/bos/usr/include/netiso/clnp_stat.h, sockinc, bos720 3/5/94 12:40:52 */ /* * * COMPONENT_NAME: (SOCKET) Socket services * * FUNCTIONS: * * ORIGINS: 26 27 * * (C) COPYRIGHT International Business Machines Corp. 1988, 1989, 1991 * All Rights Reserved * Licensed Materials - Property of IBM * * US Government Users Restricted Rights - Use, duplication or * disclosure restricted by GSA ADP Schedule Contract with IBM Corp. *****************************************************************/ /* * ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison */ /* $Header: /var/src/sys/netiso/RCS/clnp_stat.h,v 5.1 89/02/09 16:20:42 hagens Exp $ */ /* $Source: /var/src/sys/netiso/RCS/clnp_stat.h,v $ */ #ifndef __CLNP_STAT__ #define __CLNP_STAT__ struct clnp_stat { int cns_total; /* total pkts received */ int cns_toosmall; /* fixed part of header too small */ int cns_badhlen; /* header length is not reasonable */ int cns_badcsum; /* checksum on packet failed */ int cns_badaddr; /* address fields were not reasonable */ int cns_badvers; /* incorrect version */ int cns_noseg; /* segment information forgotten */ int cns_noproto; /* incorrect protocol id */ int cns_delivered; /* packets consumed by protocol */ int cns_ttlexpired; /* ttl has expired */ int cns_forward; /* forwarded packets */ int cns_sent; /* total packets sent */ int cns_odropped; /* o.k. packets discarded, e.g. ENOBUFS */ int cns_cantforward; /* non-forwarded packets */ int cns_fragmented; /* packets fragmented */ int cns_fragments; /* fragments received */ int cns_fragdropped; /* fragments discarded */ int cns_fragtimeout; /* fragments timed out */ int cns_ofragments; /* fragments generated */ int cns_cantfrag; /* fragmentation prohibited */ int cns_reassembled; /* packets reconstructed */ int cns_cachemiss; /* cache misses */ int cns_congest_set; /* congestion experienced bit set */ int cns_congest_rcvd; /* congestion experienced bit received */ int cns_er_inhist[CLNP_ERRORS + 1]; int cns_er_outhist[CLNP_ERRORS + 1]; } clnp_stat ; #ifdef INCSTAT #undef INCSTAT #endif /* INCSTAT */ #define INCSTAT(x) clnp_stat./**/x/**/++ #endif /* __CLNP_STAT__ */