STRUCT HDLC_PAYLOAD(9)
β¨ 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:
- the kernel file
./drivers/greybus/gb-beagleplay.candstruct gb_beagleplay(9) struct hdlc_greybus_frame(9)enum cc1352_bootloader_cmd(9)enum cc1352_bootloader_status(9)struct cc1352_bootloader_packet(9)struct cc1352_bootloader_download_cmd_data(9)struct cc1352_bootloader_crc32_cmd_data(9)hdlc_write(9)hdlc_append(9)hdlc_encoded_length(9)hdlc_tx_frames(9)csum8(9)cc1352_bootloader_pkt_rx(9)gb_message_send(9)cc1352_bootloader_empty_pkt(9)
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
- 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