aboutsummaryrefslogtreecommitdiffstats
path: root/include/rxrpc/packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rxrpc/packet.h')
-rw-r--r--include/rxrpc/packet.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/rxrpc/packet.h b/include/rxrpc/packet.h
index b69e6e173ea1..9b2c30897e50 100644
--- a/include/rxrpc/packet.h
+++ b/include/rxrpc/packet.h
@@ -65,7 +65,7 @@ struct rxrpc_header {
65 }; 65 };
66 __be16 serviceId; /* service ID */ 66 __be16 serviceId; /* service ID */
67 67
68} __attribute__((packed)); 68} __packed;
69 69
70#define __rxrpc_header_off(X) offsetof(struct rxrpc_header,X) 70#define __rxrpc_header_off(X) offsetof(struct rxrpc_header,X)
71 71
@@ -120,7 +120,7 @@ struct rxrpc_ackpacket {
120#define RXRPC_ACK_TYPE_NACK 0 120#define RXRPC_ACK_TYPE_NACK 0
121#define RXRPC_ACK_TYPE_ACK 1 121#define RXRPC_ACK_TYPE_ACK 1
122 122
123} __attribute__((packed)); 123} __packed;
124 124
125/* 125/*
126 * ACK packets can have a further piece of information tagged on the end 126 * ACK packets can have a further piece of information tagged on the end
@@ -141,7 +141,7 @@ struct rxkad_challenge {
141 __be32 nonce; /* encrypted random number */ 141 __be32 nonce; /* encrypted random number */
142 __be32 min_level; /* minimum security level */ 142 __be32 min_level; /* minimum security level */
143 __be32 __padding; /* padding to 8-byte boundary */ 143 __be32 __padding; /* padding to 8-byte boundary */
144} __attribute__((packed)); 144} __packed;
145 145
146/*****************************************************************************/ 146/*****************************************************************************/
147/* 147/*
@@ -164,7 +164,7 @@ struct rxkad_response {
164 164
165 __be32 kvno; /* Kerberos key version number */ 165 __be32 kvno; /* Kerberos key version number */
166 __be32 ticket_len; /* Kerberos ticket length */ 166 __be32 ticket_len; /* Kerberos ticket length */
167} __attribute__((packed)); 167} __packed;
168 168
169/*****************************************************************************/ 169/*****************************************************************************/
170/* 170/*