[ifxmips]
[openwrt/svn-archive/archive.git] / package / libtapi / src / tapi-ioctl.h
1
2 #include <linux/ioctl.h>
3
4 #define TAPI_MAGIC 't'
5 #define TAPI_IOCTL(x) _IO(TAPI_MAGIC, (x))
6
7 #define TAPI_CONTROL_IOCTL_LINK_ALLOC TAPI_IOCTL(0)
8 #define TAPI_CONTROL_IOCTL_LINK_FREE TAPI_IOCTL(1)
9 #define TAPI_CONTROL_IOCTL_LINK_ENABLE TAPI_IOCTL(2)
10 #define TAPI_CONTROL_IOCTL_LINK_DISABLE TAPI_IOCTL(3)
11
12 #define TAPI_CONTROL_IOCTL_SYNC TAPI_IOCTL(4)
13
14 #define TAPI_PORT_IOCTL_GET_ENDPOINT TAPI_IOCTL(5)
15 #define TAPI_PORT_IOCTL_SET_RING TAPI_IOCTL(6)
16
17 #define TAPI_STREAM_IOCTL_GET_ENDPOINT TAPI_IOCTL(7)
18 #define TAPI_STREAM_IOCTL_CONFIGURE TAPI_IOCTL(8)
19 #define TAPI_STREAM_IOCTL_START TAPI_IOCTL(9)
20 #define TAPI_STREAM_IOCTL_STOP TAPI_IOCTL(10)