Scroll to navigation

STRUCT W1_NETLINK_MS(9) W1 API internal to the kernel STRUCT W1_NETLINK_MS(9)

NAME

struct_w1_netlink_msg - holds w1 message type, id, and result

SYNOPSIS

struct w1_netlink_msg {

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

MEMBERS

__u8 type

one of enum w1_netlink_message_types

__u8 status

kernel feedback for success 0 or errno failure value

__u16 len

length of data following w1_netlink_msg

union id

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

__u8 data[0]

start address of any following data

DESCRIPTION

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).

AUTHOR

David Fries <David@Fries.net>

Author.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11