.. | .. |
---|
3 | 3 | * FC Transport Netlink Interface |
---|
4 | 4 | * |
---|
5 | 5 | * 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 | | - * |
---|
21 | 6 | */ |
---|
22 | 7 | #ifndef SCSI_NETLINK_FC_H |
---|
23 | 8 | #define SCSI_NETLINK_FC_H |
---|
24 | 9 | |
---|
| 10 | +#include <linux/types.h> |
---|
25 | 11 | #include <scsi/scsi_netlink.h> |
---|
26 | 12 | |
---|
27 | 13 | /* |
---|
.. | .. |
---|
58 | 44 | */ |
---|
59 | 45 | struct fc_nl_event { |
---|
60 | 46 | 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)))); |
---|
69 | 55 | |
---|
70 | 56 | |
---|
71 | 57 | #endif /* SCSI_NETLINK_FC_H */ |
---|