blob: b00205046893a88311e787043d0a7fe3d0373f5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef __QUICKTUN_H
#define __QUICKTUN_H
#define QUICKTUN_MODE_ETHERNET 0x0001
#define QUICKTUN_MODE_IP 0x0002
enum {
QUICKTUN_CMD_UNSPEC,
QUICKTUN_CMD_CREATE_DEVICE,
QUICKTUN_CMD_CHANGE_DEVICE,
QUICKTUN_CMD_DELETE_DEVICE,
QUICKTUN_CMD_GET_DEVICE,
__QUICKTUN_CMD_MAX
};
enum {
QUICKTUN_A_UNSPEC,
QUICKTUN_A_IFNAME,
QUICKTUN_A_MODE,
QUICKTUN_A_LOCAL_ADDRESS,
QUICKTUN_A_LOCAL_PORT,
QUICKTUN_A_REMOTE_ADDRESS,
QUICKTUN_A_REMOTE_PORT,
QUICKTUN_A_REMOTE_FLOAT,
__QUICKTUN_A_MAX
};
#define QUICKTUN_CMD_MAX (__QUICKTUN_CMD_MAX - 1)
#define QUICKTUN_A_MAX (__QUICKTUN_A_MAX - 1)
#define QUICKTUN_DEFAULT_PORT 2998
#endif /* __QUICKTUN_H */
|