API Reference Manual  1.45.1
odp_pktio_stats_capability_t Struct Reference

Packet IO statistics capabilities. More...

#include <packet_io_stats.h>

Data Fields

struct {
   union {
      struct {
         uint64_t   in_octets: 1
 See odp_pktio_stats_t::in_octets.
 
         uint64_t   in_packets: 1
 See odp_pktio_stats_t::in_packets.
 
         uint64_t   in_ucast_pkts: 1
 See odp_pktio_stats_t::in_ucast_pkts.
 
         uint64_t   in_mcast_pkts: 1
 See odp_pktio_stats_t::in_mcast_pkts.
 
         uint64_t   in_bcast_pkts: 1
 See odp_pktio_stats_t::in_bcast_pkts.
 
         uint64_t   in_discards: 1
 See odp_pktio_stats_t::in_discards.
 
         uint64_t   in_errors: 1
 See odp_pktio_stats_t::in_errors.
 
         uint64_t   out_octets: 1
 See odp_pktio_stats_t::out_octets.
 
         uint64_t   out_packets: 1
 See odp_pktio_stats_t::out_packets.
 
         uint64_t   out_ucast_pkts: 1
 See odp_pktio_stats_t::out_ucast_pkts.
 
         uint64_t   out_mcast_pkts: 1
 See odp_pktio_stats_t::out_mcast_pkts.
 
         uint64_t   out_bcast_pkts: 1
 See odp_pktio_stats_t::out_bcast_pkts.
 
         uint64_t   out_discards: 1
 See odp_pktio_stats_t::out_discards.
 
         uint64_t   out_errors: 1
 See odp_pktio_stats_t::out_errors.
 
      }   counter
 Statistics counters in a bit field structure.
 
      uint64_t   all_counters
 All bits of the bit field structure. More...
 
   } 
 Supported counters.
 
pktio
 Interface level capabilities.
 
struct {
   union {
      struct {
         uint64_t   octets: 1
 See odp_pktin_queue_stats_t::octets.
 
         uint64_t   packets: 1
 See odp_pktin_queue_stats_t::packets.
 
         uint64_t   discards: 1
 See odp_pktin_queue_stats_t::discards.
 
         uint64_t   errors: 1
 See odp_pktin_queue_stats_t::errors.
 
      }   counter
 Statistics counters in a bit field structure.
 
      uint64_t   all_counters
 All bits of the bit field structure. More...
 
   } 
 Supported counters.
 
pktin_queue
 Input queue level capabilities.
 
struct {
   union {
      struct {
         uint64_t   octets: 1
 See odp_pktout_queue_stats_t::octets.
 
         uint64_t   packets: 1
 See odp_pktout_queue_stats_t::packets.
 
         uint64_t   discards: 1
 See odp_pktout_queue_stats_t::discards.
 
         uint64_t   errors: 1
 See odp_pktout_queue_stats_t::errors.
 
      }   counter
 Statistics counters in a bit field structure.
 
      uint64_t   all_counters
 All bits of the bit field structure. More...
 
   } 
 Supported counters.
 
pktout_queue
 Output queue level capabilities.
 

Detailed Description

Packet IO statistics capabilities.

Definition at line 140 of file spec/packet_io_stats.h.

Field Documentation

◆ all_counters

uint64_t odp_pktio_stats_capability_t::all_counters

All bits of the bit field structure.

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

Examples
odp_sysinfo.c.

Definition at line 194 of file spec/packet_io_stats.h.

◆ octets

uint64_t odp_pktio_stats_capability_t::octets

◆ packets

uint64_t odp_pktio_stats_capability_t::packets

◆ discards

uint64_t odp_pktio_stats_capability_t::discards

◆ errors

uint64_t odp_pktio_stats_capability_t::errors

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