llc_pdu_init_as_i_cmd(9)
π llc_pdu_init_as_i_cmd β it's giving "builds I pdu" β¨
okay so bestie, this one lives in the Kernel API Manual and it's literally the glow-up routine for an I pdu. no cap, that's the whole NAME section: llc_pdu_init_as_i_cmd β builds I pdu. iconic, short, slays. π
β¨ SYNOPSIS β¨
void llc_pdu_init_as_i_cmd (struct sk_buff *skb , u8 p_bit , u8 ns , u8 nr );
like, that's the whole signature, copy it exactly, don't be weird about it π«Ά
πΈ ARGUMENTS πΈ
skbβ the address of theskbyou're building, bestie. this is the main character of the operation, the thing that gets, y'know, built πp_bitβ the P bit you wanna set in the PDU. just the P bit. that's it. that's the whole job π¦nsβ the sequence number of the data PDU π¨nrβ the seq. number of the expected I PDU from the remote π so like, what you're expecting back from the other side
π DESCRIPTION π
So what does it actually do? It builds a pdu frame as an I command. That's the tea β β no more, no less, and honestly? we respect the focus. one job, done well, main character energy fr fr π₯
lowkey a serve that the entire DESCRIPTION is one line. some functions write essays, this one just shows up, does the thing, and leaves π
π SEE ALSO π
okay this is the friend group, the whole squad, the group chat of related calls β and they're all in the kernel file ./net/llc/llc_pdu.c π§
llc_pdu_set_pf_bit(9)llc_pdu_decode_pf_bit(9)llc_pdu_init_as_disc_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)
not me listing every single one bc the rule is every single one π but genuinely, if you ever need the cmd/rsp siblings, this is your roster. iykyk π
okay that's the page!! signing off from ./net/llc β this one's dated October 2026, so like, from the future, obsessed πβ¨π bye bestie, go build those I pdus π¦π
π¦ 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