llc_pdu_init_as_disc_cmd(9)
π 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 au8, 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:
llc_pdu_set_pf_bit(9)llc_pdu_decode_pf_bit(9)llc_pdu_init_as_i_cmd(9)llc_pdu_init_as_rej_cmd(9)llc_pdu_init_as_rnr_cmd(9)llc_pdu_init_as_rr_cmd(9)llc_pdu_init_as_sabme_cmd(9)llc_pdu_init_as_dm_rsp(9)llc_pdu_init_as_frmr_rsp(9)llc_pdu_init_as_rr_rsp(9)llc_pdu_init_as_rej_rsp(9)llc_pdu_init_as_rnr_rsp(9)llc_pdu_init_as_ua_rsp(9)llc_pdu_decode_pdu_type(9)llc_pdu_get_pf_bit(9)
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 β thePbit gets set to whateverp_bityou hand over, andskbis 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
- 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