]>
Commit | Line | Data |
---|---|---|
644fb8c8 JM |
1 | /* |
2 | * wlantest control interface | |
3 | * Copyright (c) 2010, Jouni Malinen <j@w1.fi> | |
4 | * | |
5 | * This program is free software; you can redistribute it and/or modify | |
6 | * it under the terms of the GNU General Public License version 2 as | |
7 | * published by the Free Software Foundation. | |
8 | * | |
9 | * Alternatively, this software may be distributed under the terms of BSD | |
10 | * license. | |
11 | * | |
12 | * See README and COPYING for more details. | |
13 | */ | |
14 | ||
15 | #ifndef WLANTEST_CTRL_H | |
16 | #define WLANTEST_CTRL_H | |
17 | ||
18 | #define WLANTEST_SOCK_NAME "w1.fi.wlantest" | |
19 | #define WLANTEST_CTRL_MAX_CMD_LEN 1000 | |
20 | #define WLANTEST_CTRL_MAX_RESP_LEN 1000 | |
21 | ||
22 | enum wlantest_ctrl_cmd { | |
23 | WLANTEST_CTRL_SUCCESS, | |
24 | WLANTEST_CTRL_FAILURE, | |
25 | WLANTEST_CTRL_UNKNOWN_CMD, | |
26 | WLANTEST_CTRL_PING, | |
27 | WLANTEST_CTRL_TERMINATE, | |
28 | }; | |
29 | ||
30 | #endif /* WLANTEST_CTRL_H */ |