ES58X_SIZEOF_URB_CMD(9)
π NAME π
ES58X_SIZEOF_URB_CMD is giving βcalculate the maximum length of an urb command for a given message field name.β This is the Kernel API Manual page, and the macro is lowkey the main character. π
β¨ SYNOPSIS β¨
Hereβs the exact summons, bestie β donβt mess with the spacing, the spacing is iconic:
ES58X_SIZEOF_URB_CMD (es58x_urb_cmd_type , msg_field );
π ARGUMENTS π
es58x_urb_cmd_typeβ this is the type, and it has exactly two acceptable moods: either"struct es581_4_urb_cmd"or"struct es58x_fd_urb_cmd". Pick your fighter. π¦msg_fieldβ the name of the message field. Thatβs the whole assignment, no notes. β¨
π¦ DESCRIPTION π¦
It must be a macro in order to accept the different command types as an input. Not me pointing out that the macro-ness is load-bearing β itβs literally required, periodt. π
πΈ RETURN πΈ
The return value is the length of the urb command. Short, sweet, and it ate. π₯
π SEE ALSO π
Kernel file: ./drivers/net/can/usb/etas_es58x/es58x_core.h
The rest of the friend group is right here β enums, structs, functions, the whole iconic lineup, iykyk:
enum es58x_driver_info(9)enum es58x_physical_layer(9)enum es58x_sync_edge(9)enum es58x_flag(9)enum es58x_err(9)enum es58x_event(9)struct es58x_priv(9)struct es58x_parameters(9)struct es58x_operators(9)struct es58x_sw_version(9)struct es58x_hw_revision(9)struct es58x_device(9)es58x_sizeof_es58x_device(9)es58x_check_msg_len(9)es58x_check_msg_max_len(9)es58x_msg_num_element(9)es58x_priv(9)es58x_get_urb_cmd_len(9)es58x_get_netdev(9)es58x_get_raw_can_id(9)es58x_get_flags(9)
Okay thatβs the whole scroll, bestie. Source is ./drivers/net/can/usb/etas_es58x, date is October 2026, and this is ES58X_SIZEOF_URB_CMD(9) from the Kernel API Manual. Love you, bye, hydrate. ππ§
π¦ 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