API Reference Manual  1.45.0
odp_proto_stats_counters_t Union Reference

ODP proto stats counters. More...

#include <proto_stats_types.h>

Data Fields

struct {
   uint64_t   tx_pkts: 1
 Tx packet sent count.
 
   uint64_t   tx_pkt_drops: 1
 Tx packet drop count.
 
   uint64_t   tx_oct_count0: 1
 Tx packet sent Octet counter 0.
 
   uint64_t   tx_oct_count0_drops: 1
 Tx packet drop Octet counter 0.
 
   uint64_t   tx_oct_count1: 1
 Tx packet sent octet counter 1.
 
   uint64_t   tx_oct_count1_drops: 1
 Tx packet drop octet counter 1.
 
bit
 Option flags.
 
uint64_t all_bits
 All bits of the bit field structure. More...
 

Detailed Description

ODP proto stats counters.

Statistics that can be enabled in proto stats object. For Tx stats counters, Pktout config odp_pktout_config_opt_t::bit::proto_stats_ena needs to be enabled.

Tx packet and octet sent/drop statistics might include packets sent/dropped via Traffic Manager or Tx packet Aging or due to any other Tx errors. It is implementation specific as to what all Tx sent/drop events are accounted for.

Definition at line 51 of file api/spec/proto_stats_types.h.

Field Documentation

◆ all_bits

uint64_t odp_proto_stats_counters_t::all_bits

All bits of the bit field structure.

This field can be used to set/clear all flags, or bitwise operations over the entire structure.

Examples
odp_sysinfo.c.

Definition at line 78 of file api/spec/proto_stats_types.h.


The documentation for this union was generated from the following file: