es58x_fd_sizeof_rx_tx_msg(9)
β¨ es58x_fd_sizeof_rx_tx_msg β¨
okay bestie, welcome to the Kernel API Manual entry for es58x_fd_sizeof_rx_tx_msg β yes that's a mouthful, yes it's iconic, we move π
πΈ NAME πΈ
es58x_fd_sizeof_rx_tx_msg β literally just calculates the actual length of the structure of a rx or tx message. that's it. that's the whole job π
π¦ SYNOPSIS π¦
es58x_fd_sizeof_rx_tx_msg (msg );
π ARGUMENTS π
msgβ a message of variable length, and ngl it must have adlcand alenfield. nodlc/len, no vibe check passed, periodt π«Ά
π DESCRIPTION π
okay so here's the tea β β even though RTR frames actually have, like, no payload whatsoever, the ES58X devices still expect it. yes really. they want the length anyway. main character energy honestly π
and because of that, this thing must be a macro β not a function, a macro β so it can accept several types as an input, specifically struct es58x_fd_tx_can_msg and struct es58x_fd_rx_can_msg. flexible? we love to see it πβ¨
β RETURN β
the length of the message. that's the return value, bestie. go off π
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/can/usb/etas_es58x/es58x_fd.cβ go read it, iykyk π§
and that's the whole page!! tysm for reading, this was ./drivers/net/can/usb/etas_es58x, dated October 2026, straight from the Kernel API Manual ππ¦ mwah, slay, bye π
π¦ 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