llc_pdu_init_as_disc_cmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… llc_pdu_init_as_disc_cmd β€” like, the kernel API manual, bestie

okay so real talk, this one lives in the Kernel API Manual section (9), and it's called llc_pdu_init_as_disc_cmd. Say that five times fast, I dare you 🫢


✨ NAME ✨

llc_pdu_init_as_disc_cmd β€” bestie, it Builds DISC PDU. that's the whole job. iconic, lowkey.


🌸 SYNOPSIS 🌸

void llc_pdu_init_as_disc_cmd (struct sk_buff *skb , u8 p_bit );

notice it returns void β€” like, no tea, no results, it just does the thing and leaves πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” the Address of the skb to build πŸ’– this is the lil frame you're about to glow up.
  • p_bit β€” The P bit to set in the PDU, fr fr. it's a u8, you pass it in, it gets set. no cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

so what it actually does: Builds a pdu frame as a DISC command. πŸŽ€ that's it. that's the vibe. one function, one purpose, main character energy honestly.

no extra lore, no secret options, no side quests. it builds the DISC command PDU and dips. periodt. ✨


🌈 SEE ALSO 🌈

okay this is the friend group, and it's huge, so buckle up bestie 😭

first off, the source file itself β€” go read the actual lore:

Kernel file ./net/llc/llc_pdu.c

and then the whole squad of siblings, in the order the page gives them:

that's fifteen besties plus a file path. the way they all showed up for this page 😭🫢


πŸ’€ gentle reminder: everything above is exactly what the page says β€” the P bit gets set to whatever p_bit you hand over, and skb is the address of the skb to build. don't invent extra behaviour, the manpage didn't. iykyk ⭐

and that's the whole page, bestie β€” sourced from ./net/llc, dated October 2026, and titled llc_pdu_init_as_disc_cmd(9) ✨ go build your DISC PDU, you absolute icon πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from