rte_meter_trtcm(3)
β¨ NAME β¨
rte_meter_trtcm β bestie, this is the lil' struct that holds the trTCM runtime vibe for one metered traffic flow π
(also hi, this is a page from the Library Functions Manual, section 3, so you already know it's a C thing π«Ά)
πΈ SYNOPSIS πΈ
#include <rte_meter.h>
Data Fields
uint64_t time_tcuint64_t time_tpuint64_t tcuint64_t tp
π DETAILED DESCRIPTION π
okay so. rte_meter_trtcm is an internal data structure, and what it does is store the trTCM run-time context β per metered traffic flow, one each, no sharing, we don't do that here π
ngl that's the whole glow-up. it's a bookkeeping queen and it knows it.
Definition at line 354 of file rte_meter.h.
π FIELD DOCUMENTATION π
uint64_t time_tc
the timestamp of the latest update of the C token bucket β like, when did we last touch her β°
Definition at line 355 of file rte_meter.h.
uint64_t time_tp
same energy, different bucket: the timestamp of the latest update of the P token bucket β¨
Definition at line 357 of file rte_meter.h.
uint64_t tc
how many bytes are currently available in the committed (C) token bucket β that's the C, bestie, committed, as in "I'm committed to you" π₯Ί
Definition at line 359 of file rte_meter.h.
uint64_t tp
and this one is how many bytes are currently available in the peak (P) token bucket β P for peak, the ceiling, the main character of rate limiting π
Definition at line 361 of file rte_meter.h.
π¦ AUTHOR π¦
Generated automatically by Doxygen for DPDK from the source code. not a human author, just a robot doing its lil' documentation chores π€β¨
okay that's the whole page, go forth and meter those flows responsibly π
signing off: this was the DPDK crew, Version 25.11.3, and yes the robot wrote it, no cap π bye bestie π«Ά
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms