ieee80211_new_mesh_header(9)
π ieee80211_new_mesh_header(9) β like, the mesh header maker β¨
okay so bestie, welcome to the Kernel API Manual π this one's a kernel function β ieee80211_new_mesh_header β and it's literally just here to spin up a brand new mesh header for you. no cap. π¦
β¨ NAME β¨
ieee80211_new_mesh_header β create a new mesh header πΈ
π«Ά SYNOPSIS π«Ά
unsigned int ieee80211_new_mesh_header (struct ieee80211_sub_if_data
*sdata , struct ieee80211s_hdr *meshhdr , const char *addr4or5 , const
char *addr6 );
that's the whole vibe check right there π
π ARGUMENTS π
sdataβ the mesh interface you're gonna use π§ she's the main character here, fr frmeshhdrβ an uninitialized mesh header. yep, uninitialized β she hasn't been born yet, you're giving her life πβ¨addr4or5β the 1st address in the ae header. so like, she may correspond to address 4 (ifaddr6isNULL) or address 5 (ifaddr6is present). also she may beNULLβ no pressure bestie πaddr6β the 2nd address in the ae header, and she corresponds to addr6 of the mesh frame π lowkey iconic
π RETURN π
the header length π that's it, that's the answer. slay.
β SEE ALSO β
- Kernel file
./net/mac80211/mesh.c mesh_matches_local(9)mesh_peer_accepts_plinks(9)mesh_accept_plinks_update(9)mesh_rmc_check(9)ieee80211_fill_mesh_addresses(9)
go read those too, they're all in the same friend group π«Άπ₯
ngl this whole page lives under./net/mac80211and it's dated October 2026 in the Kernel API Manual, pageieee80211_new_mesh_header(9)β mwah, bye bestie, go build some mesh headers ππ¦
π¦ 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