ieee80211_mle_get_link_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the kernel API manual for ieee80211_mle_get_link_id(9) β€” yes that's the whole title, it's giving "long function name because kernel devs fear brevity" and honestly? iconic. this is from the Kernel API Manual and we're about to get into it πŸŽ€


✨ NAME ✨

ieee80211_mle_get_link_id β€” literally just returns the link ID. that's it. that's the whole job. no cap 🫢


🌸 SYNOPSIS 🌸

int ieee80211_mle_get_link_id (const u8 *data );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • data β€” the basic multi link element πŸ’– that's the whole parameter, she's a const u8 * and she's carrying your basic MLE.

⭐ RETURN ⭐

the link ID 😌 β€” or -1 if it's not present. so like, if it's giving nothing, you get -1. simple as that fr fr.


πŸ’œ DESCRIPTION πŸ’œ

so here's the tea πŸ“ β€” this element is assumed to be of the correct type (BASIC) and big enough. assumed!! the function is not out here doing vibe checks on your data, she trusts you completely πŸ™ˆ

lowkey important: you have to check that yourself using ieee80211_mle_type_ok. the function will not do it for you, bestie. no safety net, no seatbelt, just vibes. don't come crying to me if you skip the check πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

like, that's the whole friend group right there πŸ’… go say hi. ieee80211_mle_type_ok(9) especially β€” she's the one you actually need, remember?


and that's the page!! mwah 🫢 this came out of ./include/linux and it's dated October 2026 β€” yes, the future, don't ask, the kernel works in mysterious ways ✨ bye bestie, go check your types πŸ’–

πŸ“¦ where this page comes from