2016-09-20 08:44:44 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2016-09-26 13:14:16 +00:00
|
|
|
package v2ray.core.common.net;
|
2016-12-22 23:24:28 +00:00
|
|
|
option csharp_namespace = "V2Ray.Core.Common.Net";
|
2016-09-20 08:44:44 +00:00
|
|
|
option go_package = "net";
|
2016-09-26 13:14:16 +00:00
|
|
|
option java_package = "com.v2ray.core.common.net";
|
2017-02-03 22:15:10 +00:00
|
|
|
option java_multiple_files = true;
|
2016-09-20 08:44:44 +00:00
|
|
|
|
|
|
|
enum Network {
|
|
|
|
Unknown = 0;
|
2016-10-17 22:12:09 +00:00
|
|
|
|
2017-01-03 13:53:59 +00:00
|
|
|
RawTCP = 1 [deprecated=true];
|
2016-09-20 08:44:44 +00:00
|
|
|
TCP = 2;
|
|
|
|
UDP = 3;
|
2016-09-22 10:14:50 +00:00
|
|
|
}
|
|
|
|
|
2017-02-13 21:39:55 +00:00
|
|
|
// NetworkList is a list of Networks.
|
2016-09-22 10:14:50 +00:00
|
|
|
message NetworkList {
|
|
|
|
repeated Network network = 1;
|
2017-01-12 11:54:34 +00:00
|
|
|
}
|