llc_pdu_init_as_rr_cmd(9)
π llc_pdu_init_as_rr_cmd β bestie, let's build an RR pdu π
Ok so this page is from the Kernel API Manual, and it's literally all about llc_pdu_init_as_rr_cmd β a function that builds an RR pdu. That's it. That's the vibe. Let's get into it π
β¨ SYNOPSIS β¨
void llc_pdu_init_as_rr_cmd (struct sk_buff *skb , u8 p_bit , u8 nr );
No cap, that's the whole signature. Three parameters, zero drama π
πΈ ARGUMENTS πΈ
skbβ the address of the skb you wanna build, bestie. Like, that's the thing getting its glow-up β¨p_bitβ the P bit you're setting in the PDU. Yep, that exact one π«Άnrβ the seq. number of the expected I PDU from the remote. Not me being precise about sequence numbers, but fr fr π¦
π DESCRIPTION π
So what does it do? It builds a pdu frame as an RR command. Periodt. That's the whole assignment, and it ate π₯
No extra lore here β the original keeps it short and iconic. Respect. π
π SEE ALSO π
Kernel file ./net/llc/llc_pdu.c β and honestly the whole friend group is here:
llc_pdu_set_pf_bit(9)llc_pdu_decode_pf_bit(9)llc_pdu_init_as_disc_cmd(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_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)
Like, the whole squad. Go read them if you're curious, iykyk πβ¨
Cute lil sign-off bestie: this page lives under ./net/llc, and it's dated October 2026 (yes, future energy π). Manual name on the header? Kernel API Manual. And the footer still points back to llc_pdu_init_as_rr_cmd(9) β main character energy forever ππ
π¦ 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