| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- /******************************************************************************
- 版权所有:
- 文件名称: gprs_proxy.h
- 文件版本: 01.01
- 创建作者: xxxxxx
- 创建日期: 2014.7.11
- 功能说明: GPRS代理驱动头文件.
- 其它说明:
- 修改记录:
- */
- #ifndef _GPRS_PROXY_H
- #define _GPRS_PROXY_H
- #include "gh_vs.h"
- //主设备号
- #ifndef GPRS_PROXY_DEV_MAJOR
- #define GPRS_PROXY_DEV_MAJOR 240
- #endif
-
- //设备节点名
- #ifndef GH_VS_DEV0
- #define GH_VS_DEV0 "/dev/gprs_proxy0"
- #endif
-
- //魔数
- #define CFG_IOCTL_GPRS_PROXY_TYPE 0xF6
- #define GPRS_PROXY_RESET_GPRS _IOW(CFG_IOCTL_GPRS_PROXY_TYPE, 1, int)
- #define GPRS_PROXY_SET_GPRSINFO _IOW(CFG_IOCTL_GPRS_PROXY_TYPE, 2, struct gprs_info)
- #define GPRS_PROXY_ENABLE_GPRS _IOW(CFG_IOCTL_GPRS_PROXY_TYPE, 3, int)
- #define GPRS_PROXY_DISABLE_GPRS _IOW(CFG_IOCTL_GPRS_PROXY_TYPE, 4, int)
- #define GPRS_PROXY_SET_RESET _IOW(CFG_IOCTL_GPRS_PROXY_TYPE, 5, int)
- #define GPRS_PROXY_GET_RESET _IOW(CFG_IOCTL_GPRS_PROXY_TYPE, 6, int)
- #endif /* GOOSE_DRV_H */
|