stat_example.c
Go to the documentation of this file.
76 * - @ref NT_StatRead() - Read statistics with clear=1 to clear the statistics counters for the current stream.
77 * - @ref NT_StatRead() - Read statistics with clear=0 to obtain new statistics counters after the reset.
103 // Initialize the NTAPI library and thereby check if NTAPI_VERSION can be used together with this library
120 // This is an optional step. If omitted, the adapter will show statistics form the start of ntservice.
148 i, (unsigned long long) hStat.u.query_v3.data.port.aPorts[0].rx.RMON1.pkts, (unsigned long long) hStat.u.query_v3.data.port.aPorts[0].rx.RMON1.octets);