… | |
… | |
58 | PROT_IPv4 = 0x02, // generic ip protocol |
58 | PROT_IPv4 = 0x02, // generic ip protocol |
59 | PROT_TCPv4 = 0x04, // tcp over ipv4 (server) |
59 | PROT_TCPv4 = 0x04, // tcp over ipv4 (server) |
60 | PROT_ICMPv4 = 0x08, // icmp over ipv4 |
60 | PROT_ICMPv4 = 0x08, // icmp over ipv4 |
61 | PROT_DNSv4 = 0x10, // dns tunnel ipv4 (server) |
61 | PROT_DNSv4 = 0x10, // dns tunnel ipv4 (server) |
62 | PROT_IPv42 = 0x20, // temporary hack to invetsigate packet loss |
62 | PROT_IPv42 = 0x20, // temporary hack to invetsigate packet loss |
63 | PROT_EMPTY = 0x00 // not used |
63 | PROT_ALL = 0x3f |
64 | }; |
64 | }; |
65 | |
65 | |
66 | #define PROT_RELIABLE (PROT_TCPv4 | PROT_DNSv4) |
66 | #define PROT_RELIABLE (PROT_TCPv4 | PROT_DNSv4) |
67 | #define PROT_SLOW PROT_DNSv4 |
67 | #define PROT_SLOW PROT_DNSv4 |
68 | |
68 | |