You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
544 B
C
28 lines
544 B
C
4 years ago
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
||
|
/*
|
||
|
* Copyright (c) 2016, Linaro Ltd.
|
||
|
*/
|
||
|
|
||
|
#ifndef _RPMSG_H_
|
||
|
#define _RPMSG_H_
|
||
|
|
||
|
#include <linux/ioctl.h>
|
||
|
#include <linux/types.h>
|
||
|
|
||
|
/**
|
||
|
* struct rpmsg_endpoint_info - endpoint info representation
|
||
|
* @name: name of service
|
||
|
* @src: local address
|
||
|
* @dst: destination address
|
||
|
*/
|
||
|
struct rpmsg_endpoint_info {
|
||
|
char name[32];
|
||
|
__u32 src;
|
||
|
__u32 dst;
|
||
|
};
|
||
|
|
||
|
#define RPMSG_CREATE_EPT_IOCTL _IOW(0xb5, 0x1, struct rpmsg_endpoint_info)
|
||
|
#define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2)
|
||
|
|
||
|
#endif
|