Lines Matching +full:0 +full:x02
10 #define SOCKS5_PKT_MAGIC 0x05
11 #define SOCKS5_PKT_RSV 0x00
13 #define SOCKS5_AUTH_METHOD_NOAUTH 0x00
14 #define SOCKS5_AUTH_METHOD_GSSAPI 0x01
15 #define SOCKS5_AUTH_METHOD_USERPASS 0x02
16 #define SOCKS5_AUTH_METHOD_NONEG 0xFF
18 #define SOCKS5_CMD_CONNECT 0x01
19 #define SOCKS5_CMD_BIND 0x02
20 #define SOCKS5_CMD_UDP_ASSOCIATE 0x03
22 #define SOCKS5_ATYP_IPV4 0x01
23 #define SOCKS5_ATYP_DOMAINNAME 0x03
24 #define SOCKS5_ATYP_IPV6 0x04
26 #define SOCKS5_CMD_RESP_SUCCESS 0x00
27 #define SOCKS5_CMD_RESP_FAILURE 0x01
28 #define SOCKS5_CMD_RESP_NOT_ALLOWED 0x02
29 #define SOCKS5_CMD_RESP_NET_UNREACHABLE 0x03
30 #define SOCKS5_CMD_RESP_HOST_UNREACHABLE 0x04
31 #define SOCKS5_CMD_RESP_REFUSED 0x05
32 #define SOCKS5_CMD_RESP_TTL_EXPIRED 0x06
33 #define SOCKS5_CMD_RESP_CMD_NOT_SUPPORTED 0x07
34 #define SOCKS5_CMD_RESP_ATYP_NOT_SUPPORTED 0x08