struct_w1_netlink_msg(9)

struct_w1_netlink_msg9

Holds w1 message type, id, and result

Usage

struct w1_netlink_msg {
  __u8 type;
  __u8 status;
  __u16 len;
  union id;
  __u8 data[0];
};  

Members

type

one of enum w1_netlink_message_types

status

kernel feedback for success 0 or errno failure value

len

length of data following w1_netlink_msg

id

union holding master bus id (msg.id) and slave device id (id[8]).

data[0]

start address of any following data

Overview

The base message structure for w1 messages over netlink. The netlink connector data sequence is, struct nlmsghdr, struct cn_msg, then one or more struct w1_netlink_msg (each with optional data).

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

Author

David Fries <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.