DPDK  24.07.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 681 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 683 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 686 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 689 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 692 of file rte_table_action.h.


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