STRUCT MESH_TX_CACHE(9)
π 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 holdingstruct ieee80211_mesh_fast_txobjects, and it's keyed on the skb DA. yep, destination address as the key, iykyk πwalk_headβ a linked list that contains all theieee80211_mesh_fast_txobjects. every single one. she keeps track of everybody π«Άwalk_lockβ the lock protectingwalk_headandrht. 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.henum 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms