STRUCT MESH_TX_CACHE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct mesh_tx_cache(9)

okay bestie, welcome to the Kernel API Manual, section 9 β€” we're doing a little tour of struct mesh_tx_cache today and honestly? it's giving "small struct, big job" energy ✨


🌸 NAME 🌸

struct mesh_tx_cache β€” the mesh fast xmit header cache πŸš€

like, it literally caches headers so mesh transmission can go zoom. no cap.


πŸŽ€ SYNOPSIS πŸŽ€

struct mesh_tx_cache {
    struct rhashtable rht;
    struct hlist_head walk_head;
    spinlock_t walk_lock;
 };

three fields. that's it. she's compact and she knows it πŸ’…


πŸ¦‹ Members πŸ¦‹

  • rht β€” the hash table holding struct ieee80211_mesh_fast_tx objects, and it's keyed on the skb DA. yep, destination address as the key, iykyk πŸ”‘
  • walk_head β€” a linked list that contains all the ieee80211_mesh_fast_tx objects. every single one. she keeps track of everybody 🫢
  • walk_lock β€” the lock protecting walk_head and rht. both of them. do not touch either one without her, fr fr πŸ”’
ok so quick vibe check: walk_lock guards two things at once, so if you're poking at the list or the table, that's the lock you need. no skipping πŸ’€

🌈 SEE ALSO 🌈

the whole friend group, in order:

  • Kernel file ./net/mac80211/ieee80211_i.h enum
  • ieee80211_bss_corrupt_data_flags(9)
  • enum ieee80211_bss_valid_data_flags(9)
  • enum ieee80211_packet_rx_flags(9)
  • enum ieee80211_rx_flags(9)
  • struct ieee80211_if_ocb(9)
  • struct ieee80211_mesh_sync_ops(9)
  • struct mesh_table(9)
  • enum ieee80211_sub_if_data_flags(9)
  • enum ieee80211_sdata_state_bits(9)
  • enum ieee80211_chanctx_mode(9)
  • enum ieee80211_chanctx_replace_state(9)
  • struct txq_info(9)
  • struct ieee80211_if_nan(9)
  • struct ieee80211_if_nan_data(9)
  • enum mac80211_scan_flags(9)
  • enum mac80211_scan_state(9)
  • ieee80211_parse_ch_switch_ie(9)
  • struct ieee80211_elems_parse_params(9)

go read them all bestie, they're all main characters in their own way πŸ‘‘


anyway that's the whole page, you ate that πŸ“ this little icon lives over in ./net/mac80211, and she was documented in October 2026 under the title struct mesh_tx_cache(9) β€” mwah, see you in the next manpage πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from