blob: 5d82af41c48bb387c6e5fa0534db7c4ca0809373 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
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 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef SCSI_NETLINK_FC_H
8#define SCSI_NETLINK_FC_H
Christopher Ferris9584fa42019-12-09 15:36:13 -08009#include <linux/types.h>
Ben Cheng655a7c02013-10-16 16:09:24 -070010#include <scsi/scsi_netlink.h>
11#define FC_NL_ASYNC_EVENT 0x0100
Ben Cheng655a7c02013-10-16 16:09:24 -070012#define FC_NL_MSGALIGN(len) (((len) + 7) & ~7)
13struct fc_nl_event {
Tao Baod7db5942015-01-28 10:07:51 -080014 struct scsi_nl_hdr snlh;
Christopher Ferris9584fa42019-12-09 15:36:13 -080015 __u64 seconds;
16 __u64 vendor_id;
17 __u16 host_no;
18 __u16 event_datalen;
19 __u32 event_num;
20 __u32 event_code;
Christopher Ferris6cd53a52022-12-12 23:39:16 +000021 union {
22 __u32 event_data;
23 __DECLARE_FLEX_ARRAY(__u8, event_data_flex);
24 };
Christopher Ferris9584fa42019-12-09 15:36:13 -080025} __attribute__((aligned(sizeof(__u64))));
Nick Kralevicha67e4de2013-01-14 11:28:26 -080026#endif