'\" t .\" Title: struct w1_netlink_msg .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: W1 API internal to the kernel .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "STRUCT W1_NETLINK_MS" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "W1 API internal to the kernel" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" struct_w1_netlink_msg \- holds w1 message type, id, and result .SH "SYNOPSIS" .sp .nf struct w1_netlink_msg { __u8 type; __u8 status; __u16 len; union id; __u8 data[0]; }; .fi .SH "MEMBERS" .PP type .RS 4 one of enum w1_netlink_message_types .RE .PP status .RS 4 kernel feedback for success 0 or errno failure value .RE .PP len .RS 4 length of data following w1_netlink_msg .RE .PP id .RS 4 union holding master bus id (msg\&.id) and slave device id (id[8])\&. .RE .PP data[0] .RS 4 start address of any following data .RE .SH "DESCRIPTION" .PP 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)\&. .SH "AUTHOR" .PP \fBDavid Fries\fR <\&David@Fries.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br