STRUCT W1_NETLINK_CMD(9)
π
struct w1_netlink_cmd(9) π
okay bestie, welcome to the Kernel API Manual page for struct w1_netlink_cmd π this one is short, sweet, and honestly iconic for what it does.
πΈ NAME πΈ
struct w1_netlink_cmd β holds the command and data β¨
β¨ SYNOPSIS β¨
struct w1_netlink_cmd {
__u8 cmd;
__u8 res;
__u16 len;
__u8 data[];
};
π Members π
cmdβ one ofenum w1_commandsresβ reservedlenβ length of data followingw1_netlink_cmddataβ start address of any following data
π Description π
One or more struct w1_netlink_cmd is placed starting at w1_netlink_msg.data, each with optional data. no cap, that's the whole vibe: more than one can show up, and each one carries its own optional data along for the ride π¦
π₯ SEE ALSO π₯
Kernel file ./drivers/w1/w1_netlink.h, enum w1_cn_msg_flags(9), enum w1_netlink_message_types(9), struct w1_netlink_msg(9), enum w1_commands(9) π
that's the page, bestie π«Ά from the source path ./drivers/w1, dated October 2026 β struct w1_netlink_cmd(9) signing off ππ
π¦ 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