mesh_matches_local(9)
β¨ mesh_matches_local(9) β¨
okay so bestie, welcome to the kernel API manual π
today we're talking about mesh_matches_local(9) β yes it's a mouthful, yes it's iconic, no you don't need to panic π«Ά
πΈ NAME πΈ
mesh_matches_local β check if the config of a mesh point matches ours πβ¨
π¦ SYNOPSIS π¦
bool mesh_matches_local (struct ieee80211_sub_if_data *sdata , struct
ieee802_11_elems *ie );
literally just two args, we love a low-maintenance function π and yes it returns a bool, she's giving simple answers only π
π ARGUMENTS π
sdataβ the local mesh subif, aka our own little corner of the mesh πieβ the information elements of a management frame from the mesh peer π iykyk
π§ DESCRIPTION π§
so what does she actually do? this function checks if the mesh configuration of a mesh point matches the local mesh configuration β like, the vibe check of the mesh world π if both nodes belong to the same mesh network, that's a match, periodt β¨
no cap, that's the whole bit: are we the same mesh or not π¦
β RETURN β
true if both nodes belong to the same mesh πΈ β and if they don't? well, you get the other value, and honestly that's its own whole mood π
π SEE ALSO π
- Kernel file
./net/mac80211/mesh.c mesh_peer_accepts_plinks(9)mesh_accept_plinks_update(9)mesh_rmc_check(9)ieee80211_fill_mesh_addresses(9)ieee80211_new_mesh_header(9)
go read those too bestie, they're all part of the same friend group fr fr π«Ά
friendly reminder that this was living in ./net/mac80211 β that's her home directory and we respect it π
and that's the page!! written under the Kernel API Manual label, dated October 2026, from the source at ./net/mac80211 β mwah, go slay your mesh config πππΈ
π¦ 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