llc_pdu_header_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 input skb that the header must be set into. She's the canvas, the moment, the whole vibe check 🫢
  • type β€” type of PDU, and it's one of U, I or S. 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's 0 or 1. 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 🌈

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