STRUCT NFP_FL_CT_MAP_ENTRY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct nfp_fl_ct_map_entry(9) πŸ’–

okay bestie, so this is a page straight out of the Kernel API Manual and it's about one very specific little struct. it's not the main character of the conntrack story, but the whole plot falls apart without it, iykyk 🌸


✨ NAME ✨

struct nfp_fl_ct_map_entry β€” the lil map between a flow cookie and a specific ct_flow, no cap πŸ“


πŸ¦‹ SYNOPSIS πŸ¦‹

struct nfp_fl_ct_map_entry {
    unsigned long cookie;
    struct rhash_head hash_node;
    struct nfp_fl_ct_flow_entry *ct_entry;
 };

that's the whole vibe. three fields, zero drama πŸ’…


πŸŽ€ Members πŸŽ€

  • cookie β€” the flow cookie, same as the original TC flow, and it's used as the key. literally the ID badge for the lookup πŸ”‘
  • hash_node β€” used by the hashtable. it's the struct's little handshake with the hash table so it can get found again 🧚
  • ct_entry β€” pointer to the corresponding ct_entry. it's giving "here's your actual conntrack entry, bestie" πŸ‘‘

🌈 SEE ALSO 🌈

the kernel file is right here:

./drivers/net/ethernet/netronome/nfp/flower/conntrack.h

and the whole friend group, all of them, don't skip a single one:


fr fr, go read the ones above if you wanna actually understand the conntrack pipeline β€” this struct is just the map, the rest is the journey 🫢

and that's the page, mwah πŸ’‹ β€” big kiss goodbye from ./drivers/net/ethernet/netrono..., dated October 2026, serving you struct nfp_fl_ct_map_entry(9) one last time ⭐πŸ”₯

πŸ“¦ where this page comes from