1 /* 2 * This file is auto-generated. Modifications will be lost. 3 * 4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5 * for more information. 6 */ 7 #ifndef SCSI_NETLINK_FC_H 8 #define SCSI_NETLINK_FC_H 9 #include <linux/types.h> 10 #include <scsi/scsi_netlink.h> 11 #define FC_NL_ASYNC_EVENT 0x0100 12 #define FC_NL_MSGALIGN(len) (((len) + 7) & ~7) 13 struct fc_nl_event { 14 struct scsi_nl_hdr snlh; 15 __u64 seconds; 16 __u64 vendor_id; 17 __u16 host_no; 18 __u16 event_datalen; 19 __u32 event_num; 20 __u32 event_code; 21 union { 22 __u32 event_data; 23 __DECLARE_FLEX_ARRAY(__u8, event_data_flex); 24 }; 25 } __attribute__((aligned(sizeof(__u64)))); 26 #endif 27