llc_pdu_decode_sa(9)
π 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 π
llc_pdu_header_init(9)llc_pdu_decode_da(9)llc_pdu_decode_ssap(9)llc_pdu_decode_dsap(9)llc_pdu_init_as_ui_cmd(9)llc_pdu_init_as_test_cmd(9)llc_pdu_init_as_test_rsp(9)llc_pdu_init_as_xid_cmd(9)llc_pdu_init_as_xid_rsp(9)
ngl the wholedecode+initsquad 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
- 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