mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
04e554807c
Change-Id: Ibead64ce2e901dede2ddd1b86088b88f2350ce92 Signed-off-by: Duy Truong <dtruong@codeaurora.org>
50 lines
1.4 KiB
C
50 lines
1.4 KiB
C
/* include/linux/msm_rpcrouter.h
|
|
*
|
|
* Copyright (c) 2009, The Linux Foundation. All rights reserved.
|
|
* Copyright (C) 2007 Google, Inc.
|
|
* Author: San Mehat <san@android.com>
|
|
*
|
|
* This software is licensed under the terms of the GNU General Public
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
* may be copied, distributed, and modified under those terms.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
#ifndef __LINUX_MSM_RPCROUTER_H
|
|
#define __LINUX_MSM_RPCROUTER_H
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/ioctl.h>
|
|
|
|
#define RPC_ROUTER_VERSION_V1 0x00010000
|
|
|
|
struct rpcrouter_ioctl_server_args {
|
|
uint32_t prog;
|
|
uint32_t vers;
|
|
};
|
|
|
|
#define RPC_ROUTER_IOCTL_MAGIC (0xC1)
|
|
|
|
#define RPC_ROUTER_IOCTL_GET_VERSION \
|
|
_IOR(RPC_ROUTER_IOCTL_MAGIC, 0, unsigned int)
|
|
|
|
#define RPC_ROUTER_IOCTL_GET_MTU \
|
|
_IOR(RPC_ROUTER_IOCTL_MAGIC, 1, unsigned int)
|
|
|
|
#define RPC_ROUTER_IOCTL_REGISTER_SERVER \
|
|
_IOWR(RPC_ROUTER_IOCTL_MAGIC, 2, unsigned int)
|
|
|
|
#define RPC_ROUTER_IOCTL_UNREGISTER_SERVER \
|
|
_IOWR(RPC_ROUTER_IOCTL_MAGIC, 3, unsigned int)
|
|
|
|
#define RPC_ROUTER_IOCTL_CLEAR_NETRESET \
|
|
_IOWR(RPC_ROUTER_IOCTL_MAGIC, 4, unsigned int)
|
|
|
|
#define RPC_ROUTER_IOCTL_GET_CURR_PKT_SIZE \
|
|
_IOR(RPC_ROUTER_IOCTL_MAGIC, 5, unsigned int)
|
|
|
|
#endif
|