DPDK  24.11.0-rc3
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 682 of file rte_table_action.h.

Field Documentation

◆ n_packets

uint64_t n_packets

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

Examples:
examples/ip_pipeline/cli.c.

Definition at line 684 of file rte_table_action.h.

◆ n_bytes

uint64_t n_bytes

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

Examples:
examples/ip_pipeline/cli.c.

Definition at line 687 of file rte_table_action.h.

◆ n_packets_valid

int n_packets_valid

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

Examples:
examples/ip_pipeline/cli.c.

Definition at line 690 of file rte_table_action.h.

◆ n_bytes_valid

int n_bytes_valid

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

Examples:
examples/ip_pipeline/cli.c.

Definition at line 693 of file rte_table_action.h.


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