DPDK  21.02.0
Data Fields
rte_table_action_stats_counters Struct Reference

#include <rte_table_action.h>

Data Fields

uint64_t n_packets
 
uint64_t n_bytes
 
int n_packets_valid
 
int n_bytes_valid
 

Detailed Description

Stats action counters (per table rule).

Examples:
examples/ip_pipeline/cli.c, and examples/ip_pipeline/thread.c.

Definition at line 685 of file rte_table_action.h.

Field Documentation

uint64_t n_packets

Number of packets. Valid only when n_packets_valid is non-zero.

Definition at line 687 of file rte_table_action.h.

uint64_t n_bytes

Number of bytes. Valid only when n_bytes_valid is non-zero.

Definition at line 690 of file rte_table_action.h.

int n_packets_valid

When non-zero, the n_packets field is valid, otherwise invalid.

Definition at line 693 of file rte_table_action.h.

int n_bytes_valid

When non-zero, the n_bytes field is valid, otherwise invalid.

Definition at line 696 of file rte_table_action.h.


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