Greg Kroah-Hartman | e2be04c | 2017-11-01 15:09:13 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
Bjorn Andersson | c0cdc19 | 2017-01-11 06:35:12 -0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2016, Linaro Ltd. |
Bjorn Andersson | c0cdc19 | 2017-01-11 06:35:12 -0800 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef _UAPI_RPMSG_H_ |
| 7 | #define _UAPI_RPMSG_H_ |
| 8 | |
| 9 | #include <linux/ioctl.h> |
| 10 | #include <linux/types.h> |
| 11 | |
| 12 | /** |
| 13 | * struct rpmsg_endpoint_info - endpoint info representation |
| 14 | * @name: name of service |
| 15 | * @src: local address |
| 16 | * @dst: destination address |
| 17 | */ |
| 18 | struct rpmsg_endpoint_info { |
| 19 | char name[32]; |
| 20 | __u32 src; |
| 21 | __u32 dst; |
| 22 | }; |
| 23 | |
| 24 | #define RPMSG_CREATE_EPT_IOCTL _IOW(0xb5, 0x1, struct rpmsg_endpoint_info) |
| 25 | #define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2) |
| 26 | |
| 27 | #endif |