hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
....@@ -3,25 +3,11 @@
33 * FC Transport Netlink Interface
44 *
55 * Copyright (C) 2006 James Smart, Emulex Corporation
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License as published by
9
- * the Free Software Foundation; either version 2 of the License, or
10
- * (at your option) any later version.
11
- *
12
- * This program is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU General Public License for more details.
16
- *
17
- * You should have received a copy of the GNU General Public License
18
- * along with this program; if not, write to the Free Software
19
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
- *
216 */
227 #ifndef SCSI_NETLINK_FC_H
238 #define SCSI_NETLINK_FC_H
249
10
+#include <linux/types.h>
2511 #include <scsi/scsi_netlink.h>
2612
2713 /*
....@@ -58,14 +44,14 @@
5844 */
5945 struct fc_nl_event {
6046 struct scsi_nl_hdr snlh; /* must be 1st element ! */
61
- uint64_t seconds;
62
- uint64_t vendor_id;
63
- uint16_t host_no;
64
- uint16_t event_datalen;
65
- uint32_t event_num;
66
- uint32_t event_code;
67
- uint32_t event_data;
68
-} __attribute__((aligned(sizeof(uint64_t))));
47
+ __u64 seconds;
48
+ __u64 vendor_id;
49
+ __u16 host_no;
50
+ __u16 event_datalen;
51
+ __u32 event_num;
52
+ __u32 event_code;
53
+ __u32 event_data;
54
+} __attribute__((aligned(sizeof(__u64))));
6955
7056
7157 #endif /* SCSI_NETLINK_FC_H */