cfg80211_send_layer2_update(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… NAME ๐Ÿ’…

cfg80211_send_layer2_update โ€” bestie, this is the one that sends a layer 2 update frame โœจ

Oh and hey, welcome to the Kernel API Manual ๐ŸŽ€ โ€” that's the vibe we're in today, kernel-land, but make it cute.


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

void cfg80211_send_layer2_update(struct net_device *dev, const u8 *addr);

That's the whole signature, no cap. void return, two args, she's lowkey simple ๐Ÿ’…


๐ŸŒธ ARGUMENTS ๐ŸŒธ

  • dev โ€” the network device ๐Ÿซถ like, the actual netdev you're working with.
  • addr โ€” the STA MAC address โญ that's the station's MAC, fr fr.

โœจ DESCRIPTION โœจ

Okay so here's the tea โ˜• โ€” wireless drivers can use this function to update forwarding tables in bridge devices upon STA association. That's it, that's the whole job ๐Ÿ’–

So when a STA associates, and you've got a bridge in the mix, the forwarding tables in those bridge devices need to know what's up ๐Ÿ‘€ โ€” and this function is the little messenger that handles it. Iconic behaviour honestly ๐Ÿ‘‘

โœจ SEE ALSO โœจ

Okay bestie, this is the part where the page just dumps the entire friend group on you ๐Ÿ’… โ€” like, it's the whole cfg80211 extended universe and they're all tagging along. Don't panic, nobody expects you to memorise all of it. It's basically a "you may also like" list, and yes, it is long. Scroll with confidence ๐Ÿซถ

Bestie note ๐Ÿซถ โ€” that's the whole list, every single name, no skips. It's giving phonebook. If you only chase one lead, chase the header file.

And there's still more of this page coming, so keep scrolling, we're not done yet ๐Ÿ˜ญ

...and the list keeps going, bestie, because this corner of the kernel knows everybody ๐Ÿ’… last stretch, let's go:


okay that's genuinely the whole friend group, every single one accounted for, nothing skipped, no notes ๐Ÿ’œ

and with that, bestie, we're done โ€” this little masterpiece lives in ./include/net, it's tagged as the October 2026 vintage, and the whole thing is the cfg80211_send_layer2_update(9) page. go forth and ship it ๐ŸŒธโœจ๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from