llc_pdu_decode_sa(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– llc_pdu_decode_sa(9) β€” the Kernel API Manual era ✨

okay so bestie, welcome to the llc_pdu_decode_sa(9) page of the Kernel API Manual, and honestly? it's giving "small function, big main character energy" πŸŽ€ no cap, this is the little helper that looks at a frame and pulls the source MAC address right out of it. let's get into it πŸ’…


🌸 NAME 🌸

llc_pdu_decode_sa β€” extracts, source address (MAC) of input frame πŸ¦‹

like, literally its whole job. it extracts the source address (that's the MAC, iykyk) of the input frame. periodt.


✨ SYNOPSIS ✨

void llc_pdu_decode_sa (struct sk_buff *skb , u8 *sa );

that's it. that's the whole signature 🫢 no return value, it just does the thing.


πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” the input skb, aka the frame you're pulling the source address out of 😌 this is the "from it" part, bestie, the address gets extracted from this.
  • sa β€” a pointer to the source address, which is a 6 byte array πŸ“ six bytes, no more no less, that's the MAC-sized slot right there.

πŸ’… DESCRIPTION πŸ’…

so what does it do? it extracts the source address (MAC) of the input frame. 🌈 that's the vibe. you hand it the skb and a 6-byte array to point at, and it fills in the source address for you. iconic behaviour, honestly, no notes πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

bestie please go read the neighbors too, they're all in the kernel file ./include/net/llc_pdu.h and they're all obsessed with each other πŸ’–


ngl the whole decode + init squad is right there in ./include/net/llc_pdu.h, so go say hi 🫢

and that's the page!! πŸ’œ this one lives under ./include/net, dated October 2026, and it's filed as llc_pdu_decode_sa(9) β€” slay, bye bestie!! πŸ“πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from