STRUCT CANFD_FRAME(9)
πΈ NAME πΈ
okay so bestie, this is struct canfd_frame(9) from the Kernel API Manual β the CAN flexible data rate frame structure. like, the whole vibe is CAN FD frame energy, and we are not skipping a single field π
β¨
π¦ SYNOPSIS π¦
struct canfd_frame {
canid_t can_id;
__u8 len;
__u8 flags;
__u8 __res0;
__u8 __res1;
__u8 data[CANFD_MAX_DLEN];
};
π Members π
can_idβ the CAN ID of the frame plus theCAN_*_FLAGflags, see thecanid_tdefinition. iconic little combo, honestly πlenβ frame payload length in byte (0 .. CANFD_MAX_DLEN). yes, that exact range, no cap πflagsβ extra flags for CAN FD. little extra seasoning π__res0β reserved / padding π«Ά__res1β reserved / padding π«Άdataβ the CAN FD frame payload, up toCANFD_MAX_DLENbyte. the main character payload, periodt π₯
π SEE ALSO π
Kernel file ./include/uapi/linux/can.h struct can_frame(9), struct canxl_frame(9), struct sockaddr_can(9), struct can_filter(9)
mwah π this little cutie lives in ./include/uapi/linux, and the date on the vibe is October 2026 β slay, thatβs the whole sign-off, bestie πβ¨
π¦ 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