STRUCT HIDI2C_REPORT_PACKET(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct hidi2c_report_packet(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” no cap, this is the page for struct hidi2c_report_packet, and it's literally the report packet definition in the HIDI2C protocol. she's small, she's iconic, she's a flexible array member situation, let's get into it ✨


🌸 SYNOPSIS 🌸

struct hidi2c_report_packet {
    __le16 len;
    u8 data[];
};

like… that's the whole thing. five lines. main character energy fr fr πŸ’…


πŸŽ€ Members πŸŽ€

  • len β€” the length of the data field. that's it, that's her job 🫢
  • data β€” the HIDI2C report packet data itself. the payload. the moment. the girlies πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

  • the kernel file ./include/linux/hid-over-i2c.h β€” go read the source, iykyk 😌
  • struct hidi2c_dev_descriptor(9) β€” her sister struct, equally slay, go say hi πŸ‘‘

✨ friendly reminder: everything above is literally just the definition, so like… don't come for me, i only report packet what's on the page πŸŽ€

and that's the vibe check, bestie 🌈 this page lives at ./include/linux, dated October 2026, and yes it's still called struct hidi2c_report_packet(9) β€” obsessed, no notes, periodt πŸ’œπŸ§š

πŸ“¦ where this page comes from