llc_pdu_init_as_xid_cmd(9)
π llc_pdu_init_as_xid_cmd β from the Kernel API Manual (section 9, bestie)
okay so picture this: you're deep in kernel-land, right, and there's this little function called llc_pdu_init_as_xid_cmd and honestly? it has one job and it does it immaculately. It's the "sets bytes 3, 4 & 5 of LLC header as XID" girlie. That's the whole name, that's the whole vibe. π
β¨ SYNOPSIS β¨
void llc_pdu_init_as_xid_cmd (struct sk_buff *skb , u8 svcs_supported ,
u8 rx_window );
notice how it's void? yeah, it gives you nothing back. no return value, no little treat, it just does its thing to the skb and dips. main character behavior honestly π
πΈ ARGUMENTS πΈ
skbβ the input skb, aka the packet whose header needs to get set up. it's giving "put the header in here please." π«Άsvcs_supportedβ the class of the LLC. your options are I or II, and that's it, that's the menu. πrx_windowβ the size of the receive window of the LLC. just a number letting everyone know how much room there is to work with. β¨
π¦ DESCRIPTION π¦
so what does it actually do? bestie, it sets the third, fourth, fifth and sixth bytes of the LLC header as a XID PDU. that's it. that's the whole function. no cap, no plot twist, no drama β just bytes getting placed exactly where they belong and looking iconic while doing it. π
quick heads up: the NAME up top says bytes 3, 4 & 5, and the DESCRIPTION says third, fourth, fifth and sixth. both of those are straight from the source, so I'm not gonna gaslight you by picking one β that's just how it's written, periodt. π
π SEE ALSO π
okay the friend group is large and they all showed up to support:
- the kernel file
./include/net/llc_pdu.hβ the mothership, the home base, the address book π llc_pdu_header_init(9)llc_pdu_decode_sa(9)llc_pdu_decode_da(9)llc_pdu_decode_ssap(9)llc_pdu_decode_dsap(9)llc_pdu_init_as_ui_cmd(9)llc_pdu_init_as_test_cmd(9)llc_pdu_init_as_test_rsp(9)llc_pdu_init_as_xid_rsp(9)β yes, there's a response one too, she has a sibling, they're both slaying π
and that's the page, bestie!! sourced from ./include/net, dated October 2026, and filed under llc_pdu_init_as_xid_cmd(9) in the Kernel API Manual. go forth and set those header bytes, ily, don't forget to vibe check your skb first ππ§β
π¦ 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