ENUM W1_NETLINK_MESSAGE_TYPES(9)
π enum w1_netlink_message_types π
okay so bestie, weβre in the Kernel API Manual and this page is literally all about enum w1_netlink_message_types β itβs giving message type energy, no cap. iβm obsessed already. π¦
πΈ NAME πΈ
enum w1_netlink_message_types β message type. thatβs the name, thatβs the vibe, periodt. β¨
β¨ SYNOPSIS β¨
bestie, hereβs the exact enum shape β keep it character for character, donβt be cute with it:
enum w1_netlink_message_types {
W1_SLAVE_ADD ,
W1_SLAVE_REMOVE ,
W1_MASTER_ADD ,
W1_MASTER_REMOVE ,
W1_MASTER_CMD ,
W1_SLAVE_CMD ,
W1_LIST_MASTERS
};
π Constants π
these constants are the whole friend group, and every single one matters:
W1_SLAVE_ADDβ notification that a slave device was added. πW1_SLAVE_REMOVEβ notification that a slave device was removed. π«ΆW1_MASTER_ADDβ notification that a new bus master was added. πW1_MASTER_REMOVEβ notification that a bus master was removed. πW1_MASTER_CMDβ initiate operations on a specific master. π₯W1_SLAVE_CMDβ sends reset, selects the slave, then does a read/write/touch operation. literally the whole lil sequence, iykyk. πW1_LIST_MASTERSβ used to determine the bus master identifiers. π
π SEE ALSO π
Kernel file ./drivers/w1/w1_netlink.h is the one to peek at, and the whole crew is enum w1_cn_msg_flags(9), struct w1_netlink_msg(9), enum w1_commands(9), and struct w1_netlink_cmd(9). go off, bestie. π«Ά
mwah π β source/version: ./drivers/w1, date: October 2026, page: enum w1_net...essage_types(9). byeee π§
π¦ 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