---
name: "struct_w1_netlink_cmd"
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/struct_w1_netlink_cmd"
---

# struct\_w1\_netlink\_cmd(9)

holds the command and data

## NAME

struct\_w1\_netlink\_cmd - holds the command and data

## SYNOPSIS

```
struct w1_netlink_cmd {
  __u8 cmd;
  __u8 res;
  __u16 len;
  __u8 data[0];
};
```

## MEMBERS

cmd

one of enum w1\_commands

res

reserved

len

length of data following w1\_netlink\_cmd

data\[0\]

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.

## AUTHOR

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

Author.

## COPYRIGHT
