API Reference Manual 1.51.0
Loading...
Searching...
No Matches
api/spec/proto_stats_types.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (c) 2021 Marvell
3 * Copyright (c) 2021 Nokia
4 */
5
12#ifndef ODP_API_SPEC_PROTO_STATS_TYPES_H_
13#define ODP_API_SPEC_PROTO_STATS_TYPES_H_
14#include <odp/visibility_begin.h>
15
16#include <odp/api/std_types.h>
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
53 struct {
55 uint64_t tx_pkts : 1;
56
58 uint64_t tx_pkt_drops : 1;
59
61 uint64_t tx_oct_count0 : 1;
62
64 uint64_t tx_oct_count0_drops : 1;
65
67 uint64_t tx_oct_count1 : 1;
68
70 uint64_t tx_oct_count1_drops : 1;
71 } bit;
72
78 uint64_t all_bits;
80
86
103
107 uint64_t tx_pkts;
108
110 uint64_t tx_pkt_drops;
111
114
117
120
124
129#ifdef __cplusplus
130}
131#endif
132
133#include <odp/visibility_end.h>
134#endif
Standard C language types and definitions for ODP.
bool odp_bool_t
Boolean type.
odp_proto_stats_counters_t counters
Stats counters supported.
odp_bool_t oct_count1_adj
Packet adjust support for Octet counter 1.
odp_bool_t oct_count0_adj
Packet adjust support for Octet counter 0.
struct odp_proto_stats_capability_t::@153 tx
Tx capabilities.
ODP proto stats counters.
uint64_t tx_oct_count0
Packet sent Octet counter 0.
uint64_t tx_oct_count1
Packet sent octet counter 1.
uint64_t tx_pkts
Packet sent count.
uint64_t tx_oct_count1_drops
Packet drop octet counter 1.
uint64_t tx_oct_count0_drops
Packet drop Octet counter 0.
uint64_t tx_pkt_drops
Packet drop count.
odp_proto_stats_counters_t counters
Stats counters to enable.
uint64_t all_bits
All bits of the bit field structure.
uint64_t tx_pkt_drops
Tx packet drop count.
uint64_t tx_oct_count0
Tx packet sent Octet counter 0.
struct odp_proto_stats_counters_t::@152 bit
Option flags.
uint64_t tx_oct_count1
Tx packet sent octet counter 1.
uint64_t tx_oct_count0_drops
Tx packet drop Octet counter 0.
uint64_t tx_pkts
Tx packet sent count.
uint64_t tx_oct_count1_drops
Tx packet drop octet counter 1.