arpc.h (976e3645923bdd2fe7893aae33fd7a21098bfb28) arpc.h (84c1e51d7df85332705ffebc40ef135205492036)
1/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2/*
3 * Copyright(c) 2016 Google Inc. All rights reserved.
4 * Copyright(c) 2016 Linaro Ltd. All rights reserved.
5 */
6
7#ifndef __ARPC_H
8#define __ARPC_H

--- 7 unchanged lines hidden (view full) ---

16 ARPC_TIMEOUT = 0x03,
17 ARPC_UNKNOWN_ERROR = 0xff,
18};
19
20struct arpc_request_message {
21 __le16 id; /* RPC unique id */
22 __le16 size; /* Size in bytes of header + payload */
23 __u8 type; /* RPC type */
1/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2/*
3 * Copyright(c) 2016 Google Inc. All rights reserved.
4 * Copyright(c) 2016 Linaro Ltd. All rights reserved.
5 */
6
7#ifndef __ARPC_H
8#define __ARPC_H

--- 7 unchanged lines hidden (view full) ---

16 ARPC_TIMEOUT = 0x03,
17 ARPC_UNKNOWN_ERROR = 0xff,
18};
19
20struct arpc_request_message {
21 __le16 id; /* RPC unique id */
22 __le16 size; /* Size in bytes of header + payload */
23 __u8 type; /* RPC type */
24 __u8 data[0]; /* ARPC data */
24 __u8 data[]; /* ARPC data */
25} __packed;
26
27struct arpc_response_message {
28 __le16 id; /* RPC unique id */
29 __u8 result; /* Result of RPC */
30} __packed;
31
32/* ARPC requests */

--- 31 unchanged lines hidden ---
25} __packed;
26
27struct arpc_response_message {
28 __le16 id; /* RPC unique id */
29 __u8 result; /* Result of RPC */
30} __packed;
31
32/* ARPC requests */

--- 31 unchanged lines hidden ---