STRUCT HDLC_PAYLOAD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct hdlc_payload(9) ✨

okay so bestie, welcome to the struct hdlc_payload(9) page πŸŽ€ this one lives in the Kernel API Manual and it's literally the tiniest little cutie β€” but it's a main character in the HDLC universe, iykyk πŸ’…


🌸 NAME 🌸

struct hdlc_payload β€” the structure that represents part of the HDCL frame payload data. that's it, that's the whole vibe πŸ¦‹


✨ SYNOPSIS ✨

struct hdlc_payload {
    u16 len;
    void *buf;
 };

two members. that's the whole struct. she's minimal, she's iconic, she ate πŸ’–


🫢 Members 🫢

  • len β€” the buffer length, in bytes. yes bestie, bytes, the units are right there πŸ“
  • buf β€” the payload buffer itself. the actual goods, no cap πŸ”₯

πŸ’œ SEE ALSO πŸ’œ

the whole friend group, fr fr β€” go read these next:


ngl bestie, that's a lot of cross-references. drink some water before you start clicking through all of them πŸ’€πŸ’§

okay so this page ships out of ./drivers/greybus, dated October 2026, and it's struct hdlc_payload(9) all the way down. go forth and encode some frames, queen πŸ‘‘πŸ’…βœ¨

πŸ“¦ where this page comes from