RTE_FLOW_MODIFY_CONNTRACK(3)

πŸ’– NAME πŸ’–

rte_flow_modify_conntrack β€” bestie, it's the little wrapper struct that lets you poke at a conntrack context, except plot twist: most ports won't let you, so you gotta go the dramatic route instead ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <rte_flow.h>

🌸 Data Fields 🌸

  • struct rte_flow_action_conntrack new_ct β€” the fresh connection-tracking params you wanna install πŸ‘‘
  • uint32_t direction:1 β€” one lil bit, says "hey, update the direction field" 🧭
  • uint32_t state:1 β€” one lil bit, says "hey, update literally everything except direction" πŸ”„
  • uint32_t reserved:30 β€” thirty bits of pure potential, sitting there for future use, no thoughts head empty πŸ¦‹

✨ Detailed Description ✨

RTE_FLOW_ACTION_TYPE_CONNTRACK

Okay so here's the tea β˜• β€” this is a wrapper structure for the context update interface. It's giving "gentle envelope around your update request."

But now the sad part 😭: ports cannot support updating. Like, it's not a "some ports" situation, it's a cannot. And the only valid solution β€” the only one, periodt β€” is to destroy the old context and create a new one instead. Rip to the old context, you had a good run πŸ™ˆ

Definition at line 4087 of file rte_flow.h.


πŸ’… Field Documentation πŸ’…

🩷 struct rte_flow_action_conntrack new_ct

New connection tracking parameters to be updated. That's it, that's the field, it's carrying the new stuff in 🫢

Definition at line 4089 of file rte_flow.h.

🩡 uint32_t direction

The direction field will be updated. Just that one. Very targeted. Very main character energy ✨

Definition at line 4091 of file rte_flow.h.

πŸ’œ uint32_t state

All the other fields except direction will be updated. So basically: everything-but-direction, the field πŸŽ€

Definition at line 4093 of file rte_flow.h.

🀍 uint32_t reserved

Reserved bits for the future usage. They're not doing anything right now, they're just vibing, waiting for their moment 🌈

Definition at line 4095 of file rte_flow.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. Not a human, just a robot with a dream πŸ’€


Real talk bestie: remember that whole "ports cannot support updating" thing. If you're out here planning an in-place conntrack update, the docs fr fr said no β€” destroy the old context and build a new one. Don't make me say it twice πŸ’…

okay that's the whole page, slay, you're a conntrack girlie now πŸ¦‹πŸ’–βœ¨

DPDK Β· Version 25.11.3 Β· rte_flow_modify_conntrack(3) β€” mwah, kissing this manpage goodbye, hope it helped, ily πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from