• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef SCSI_NETLINK_FC_H
7 #define SCSI_NETLINK_FC_H
8 #include <scsi/scsi_netlink.h>
9 
10 #define FC_NL_ASYNC_EVENT			0x0100
11 
12 #define FC_NL_MSGALIGN(len)		(((len) + 7) & ~7)
13 struct fc_nl_event {
14 	struct scsi_nl_hdr snlh;
15 	uint64_t seconds;
16 	uint64_t vendor_id;
17 	uint16_t host_no;
18 	uint16_t event_datalen;
19 	uint32_t event_num;
20 	uint32_t event_code;
21 	uint32_t event_data;
22 } __attribute__((aligned(sizeof(uint64_t))));
23 #endif
24