2016-09-20 04:44:44 -04:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2016-09-26 09:14:16 -04:00
|
|
|
package v2ray.core.common.net;
|
2016-12-22 18:24:28 -05:00
|
|
|
option csharp_namespace = "V2Ray.Core.Common.Net";
|
2016-09-20 04:44:44 -04:00
|
|
|
option go_package = "net";
|
2016-09-26 09:14:16 -04:00
|
|
|
option java_package = "com.v2ray.core.common.net";
|
|
|
|
option java_outer_classname = "NetworkProto";
|
2016-09-20 04:44:44 -04:00
|
|
|
|
|
|
|
enum Network {
|
|
|
|
Unknown = 0;
|
2016-10-17 18:12:09 -04:00
|
|
|
|
|
|
|
// Native TCP provided by system.
|
2016-09-20 04:44:44 -04:00
|
|
|
RawTCP = 1;
|
2016-10-17 18:12:09 -04:00
|
|
|
|
|
|
|
// V2Ray specific TCP.
|
2016-09-20 04:44:44 -04:00
|
|
|
TCP = 2;
|
2016-10-17 18:12:09 -04:00
|
|
|
|
2016-09-20 04:44:44 -04:00
|
|
|
UDP = 3;
|
2016-10-17 18:12:09 -04:00
|
|
|
|
2016-09-20 04:44:44 -04:00
|
|
|
KCP = 4;
|
2016-10-17 18:12:09 -04:00
|
|
|
|
2016-09-20 04:44:44 -04:00
|
|
|
WebSocket = 5;
|
2016-09-22 06:14:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
message NetworkList {
|
|
|
|
repeated Network network = 1;
|
2016-09-20 04:44:44 -04:00
|
|
|
}
|