---
name: "enum_w1_netlink_message_types"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/enum_w1_netlink_message_types"
---

# enum\_w1\_netlink\_message\_types(9)

message type

## NAME

enum\_w1\_netlink\_message\_types - message type

## SYNOPSIS

```
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

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 masterwas 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

W1\_LIST\_MASTERS

used to determine the bus master identifiers

## AUTHOR

**David Fries** \<David@Fries.net\>

Author.

## COPYRIGHT
