NEW_CT(3)
π rte_flow_modify_conntrack(3) β from the Library Functions Manual, bestie π
okay so this one is a struct, not a function, even though the NAME section is out here lying to us and just saying rte_flow_modify_conntrack with no explanation whatsoever. iconic of it honestly. it's from <rte_flow.h> in DPDK land, and it's all about updating connection tracking contexts. buckle up π¦
β¨ NAME β¨
rte_flow_modify_conntrack β that's it, that's the whole name section, no cap. the manpage gives us zero extra context here so neither will I π
πΈ SYNOPSIS πΈ
drop this include in your file first, bestie:
#include <rte_flow.h>
π Data Fields
here's the whole squad, laid out exactly like this:
struct rte_flow_action_conntrack new_ct
uint32_t direction:1
uint32_t state:1
uint32_t reserved:30
yes the bitfields are real, yes direction and state get exactly one bit each, and reserved is out here hogging 30 of them. main character energy honestly π
π Detailed Description π
so this wrapper struct is tied to RTE_FLOW_ACTION_TYPE_CONNTRACK, and it wraps up the context update interface. it's giving "middle management for your conntrack state" π«Ά
β οΈ big heads up: ports cannot support updating. like, at all. the only valid solution is to destroy the old context and create a brand new one instead. so don't come for the update path, it's not there π
this whole thing lives at Definition at line 4087 of file rte_flow.h. go look, it's literally right there β¨
π Field Documentation π
β struct rte_flow_action_conntrack new_ct
the new connection tracking parameters that are gonna get updated. this is the actual payload, the whole reason we're here π
definition at line 4089 of file rte_flow.h.
β uint32_t direction
flip this and the direction field is the one that gets updated. just direction. that's the whole vibe π§
definition at line 4091 of file rte_flow.h.
β uint32_t state
flip this one and it's the opposite deal: all the other fields except direction get updated. so state = "everything but direction", got it? iykyk π₯
definition at line 4093 of file rte_flow.h.
β uint32_t reserved
reserved bits, saved for future usage. it's literally just sitting there holding space for the future, we love a forward-thinking icon πΈ
definition at line 4095 of file rte_flow.h.
π Author π
this beauty was generated automatically by Doxygen for DPDK from the source code. no human hands typed it, machines did that π
and that's the whole page, bestie! brought to you by DPDK, Version 26.03.0 β see you in the next group chat π¦πβ¨
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms