llc_pdu_header_init(9)
π llc_pdu_header_init β bestie's guide to the kernel API manual (section 9) π
Okay so like, hi, welcome to the Kernel API Manual, section 9, and today's main character is llc_pdu_header_init(9). Buckle up, it's giving "tiny function, huge slay" β¨
πΈ NAME πΈ
llc_pdu_header_init β literally initializes the pdu header. That's it, that's the whole job, and she does it beautifully π
β¨ SYNOPSIS β¨
void llc_pdu_header_init (struct sk_buff *skb , u8 type , u8 ssap , u8
dsap , u8 cr );
No cap, that's the exact signature β copy it character for character or the compiler will simply end you π
π¦ ARGUMENTS π¦
skbβ the inputskbthat the header must be set into. She's the canvas, the moment, the whole vibe check π«Άtypeβ type of PDU, and it's one ofU,IorS. Only those three, bestie, don't get creative πssapβ source sap. Yes bb, source πdsapβ destination sap. The destination, obviously, we love a journey π§crβ command/response bit, and it's0or1. Binary queen, no in-between π
π₯ DESCRIPTION π₯
So what does she actually do? The way that this function sets DSAP, SSAP and the command/Response bit in the LLC header. That's the whole glow-up: three little fields, one iconic function call πβ¨
It's not deep, it's not dramatic, but it is essential β the LLC header does not become itself without her, iykyk π
π SEE ALSO π
- Kernel file
./include/net/llc_pdu.hβ the home base, go look at her π llc_pdu_decode_sa(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)
That's the whole friend group, fr fr β decode squad on one side, init squad on the other π«Άπ
π‘ reminder bb: all those (9) refs are their own manual pages, so if you're lost, that's literally where you go next β
And that's a wrap, bestie! πΈ Signing off from ./include/net, dated October 2026, in the Kernel API Manual β llc_pdu_header_init(9) out π
ππ
π¦ 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