diff options
Diffstat (limited to 'include/linux/ncp.h')
| -rw-r--r-- | include/linux/ncp.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/ncp.h b/include/linux/ncp.h index 3ace8370e61e..99f0adeeb3f3 100644 --- a/include/linux/ncp.h +++ b/include/linux/ncp.h | |||
| @@ -27,7 +27,7 @@ struct ncp_request_header { | |||
| 27 | __u8 conn_high; | 27 | __u8 conn_high; |
| 28 | __u8 function; | 28 | __u8 function; |
| 29 | __u8 data[0]; | 29 | __u8 data[0]; |
| 30 | } __packed; | 30 | } __attribute__((packed)); |
| 31 | 31 | ||
| 32 | #define NCP_REPLY (0x3333) | 32 | #define NCP_REPLY (0x3333) |
| 33 | #define NCP_WATCHDOG (0x3E3E) | 33 | #define NCP_WATCHDOG (0x3E3E) |
| @@ -42,7 +42,7 @@ struct ncp_reply_header { | |||
| 42 | __u8 completion_code; | 42 | __u8 completion_code; |
| 43 | __u8 connection_state; | 43 | __u8 connection_state; |
| 44 | __u8 data[0]; | 44 | __u8 data[0]; |
| 45 | } __packed; | 45 | } __attribute__((packed)); |
| 46 | 46 | ||
| 47 | #define NCP_VOLNAME_LEN (16) | 47 | #define NCP_VOLNAME_LEN (16) |
| 48 | #define NCP_NUMBER_OF_VOLUMES (256) | 48 | #define NCP_NUMBER_OF_VOLUMES (256) |
| @@ -158,7 +158,7 @@ struct nw_info_struct { | |||
| 158 | #ifdef __KERNEL__ | 158 | #ifdef __KERNEL__ |
| 159 | struct nw_nfs_info nfs; | 159 | struct nw_nfs_info nfs; |
| 160 | #endif | 160 | #endif |
| 161 | } __packed; | 161 | } __attribute__((packed)); |
| 162 | 162 | ||
| 163 | /* modify mask - use with MODIFY_DOS_INFO structure */ | 163 | /* modify mask - use with MODIFY_DOS_INFO structure */ |
| 164 | #define DM_ATTRIBUTES (cpu_to_le32(0x02)) | 164 | #define DM_ATTRIBUTES (cpu_to_le32(0x02)) |
| @@ -190,12 +190,12 @@ struct nw_modify_dos_info { | |||
| 190 | __u16 inheritanceGrantMask; | 190 | __u16 inheritanceGrantMask; |
| 191 | __u16 inheritanceRevokeMask; | 191 | __u16 inheritanceRevokeMask; |
| 192 | __u32 maximumSpace; | 192 | __u32 maximumSpace; |
| 193 | } __packed; | 193 | } __attribute__((packed)); |
| 194 | 194 | ||
| 195 | struct nw_search_sequence { | 195 | struct nw_search_sequence { |
| 196 | __u8 volNumber; | 196 | __u8 volNumber; |
| 197 | __u32 dirBase; | 197 | __u32 dirBase; |
| 198 | __u32 sequence; | 198 | __u32 sequence; |
| 199 | } __packed; | 199 | } __attribute__((packed)); |
| 200 | 200 | ||
| 201 | #endif /* _LINUX_NCP_H */ | 201 | #endif /* _LINUX_NCP_H */ |
