GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / staging / dream / include / linux / msm_rpcrouter.h
blob64845fb481f1ab6e86a2acbb2265f218f87c5ecc
1 /* drivers/staging/dream/include/linux/msm_rpcrouter.h
3 * Copyright (c) QUALCOMM Incorporated
4 * Copyright (C) 2007 Google, Inc.
5 * Author: San Mehat <san@android.com>
7 * This software is licensed under the terms of the GNU General Public
8 * License version 2, as published by the Free Software Foundation, and
9 * may be copied, distributed, and modified under those terms.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
17 #ifndef __LINUX_MSM_RPCROUTER_H
18 #define __LINUX_MSM_RPCROUTER_H
20 #include <linux/types.h>
21 #include <linux/ioctl.h>
23 #define RPC_ROUTER_VERSION_V1 0x00010000
25 struct rpcrouter_ioctl_server_args {
26 uint32_t prog;
27 uint32_t vers;
30 #define RPC_ROUTER_IOCTL_MAGIC (0xC1)
32 #define RPC_ROUTER_IOCTL_GET_VERSION \
33 _IOR(RPC_ROUTER_IOCTL_MAGIC, 0, unsigned int)
35 #define RPC_ROUTER_IOCTL_GET_MTU \
36 _IOR(RPC_ROUTER_IOCTL_MAGIC, 1, unsigned int)
38 #define RPC_ROUTER_IOCTL_REGISTER_SERVER \
39 _IOWR(RPC_ROUTER_IOCTL_MAGIC, 2, unsigned int)
41 #define RPC_ROUTER_IOCTL_UNREGISTER_SERVER \
42 _IOWR(RPC_ROUTER_IOCTL_MAGIC, 3, unsigned int)
44 #define RPC_ROUTER_IOCTL_GET_MINOR_VERSION \
45 _IOW(RPC_ROUTER_IOCTL_MAGIC, 4, unsigned int)
47 #endif