STRUCT W1_NETLINK_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 of enum w1_commands
  • res β€” reserved
  • len β€” length of data following w1_netlink_cmd
  • data β€” 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