1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-16 01:17:30 -05:00
v2fly/common/net/network.proto

20 lines
432 B
Protocol Buffer
Raw Normal View History

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";
option go_package = "v2ray.com/core/common/net";
2016-09-26 09:14:16 -04:00
option java_package = "com.v2ray.core.common.net";
2017-02-03 17:15:10 -05:00
option java_multiple_files = true;
2016-09-20 04:44:44 -04:00
enum Network {
Unknown = 0;
2016-10-17 18:12:09 -04:00
RawTCP = 1 [deprecated = true];
2016-09-20 04:44:44 -04:00
TCP = 2;
UDP = 3;
2020-10-29 03:30:38 -04:00
UNIX = 4;
2016-09-22 06:14:50 -04:00
}
2017-02-13 16:39:55 -05:00
// NetworkList is a list of Networks.
2020-10-29 03:30:38 -04:00
message NetworkList { repeated Network network = 1; }