blob: 225eb38705dc065271938cbd87a0634be4d45948 [file] [log] [blame]
Greg Kroah-Hartmane2be04c2017-11-01 15:09:13 +01001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Bjorn Anderssonc0cdc192017-01-11 06:35:12 -08002/*
3 * Copyright (c) 2016, Linaro Ltd.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 and
7 * only version 2 as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */
14
15#ifndef _UAPI_RPMSG_H_
16#define _UAPI_RPMSG_H_
17
18#include <linux/ioctl.h>
19#include <linux/types.h>
20
21/**
22 * struct rpmsg_endpoint_info - endpoint info representation
23 * @name: name of service
24 * @src: local address
25 * @dst: destination address
26 */
27struct rpmsg_endpoint_info {
28 char name[32];
29 __u32 src;
30 __u32 dst;
31};
32
33#define RPMSG_CREATE_EPT_IOCTL _IOW(0xb5, 0x1, struct rpmsg_endpoint_info)
34#define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2)
35
36#endif