1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-04-19 20:19:10 -04:00
This commit is contained in:
Darien Raymond
2016-10-18 00:12:09 +02:00
parent b81d091fb8
commit f049b3cc2b
3 changed files with 12 additions and 0 deletions

View File

@@ -7,7 +7,10 @@ option java_outer_classname = "AddressProto";
message IPOrDomain {
oneof address {
// IP address. Must by either 4 or 16 bytes.
bytes ip = 1;
// Domain address.
string domain = 2;
}
}

View File

@@ -7,10 +7,17 @@ option java_outer_classname = "NetworkProto";
enum Network {
Unknown = 0;
// Native TCP provided by system.
RawTCP = 1;
// V2Ray specific TCP.
TCP = 2;
UDP = 3;
KCP = 4;
WebSocket = 5;
}