NEW_CT(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… 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