1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-02-20 23:47:21 -05:00
v2fly/common/net/network.proto

20 lines
448 B
Protocol Buffer
Raw Normal View History

2016-09-20 10:44:44 +02:00
syntax = "proto3";
2016-09-26 15:14:16 +02:00
package v2ray.core.common.net;
2016-12-23 00:24:28 +01:00
option csharp_namespace = "V2Ray.Core.Common.Net";
2021-02-17 04:31:50 +08:00
option go_package = "github.com/v2fly/v2ray-core/v4/common/net";
2016-09-26 15:14:16 +02:00
option java_package = "com.v2ray.core.common.net";
2017-02-03 23:15:10 +01:00
option java_multiple_files = true;
2016-09-20 10:44:44 +02:00
enum Network {
Unknown = 0;
2016-10-18 00:12:09 +02:00
RawTCP = 1 [deprecated = true];
2016-09-20 10:44:44 +02:00
TCP = 2;
UDP = 3;
2020-10-29 15:30:38 +08:00
UNIX = 4;
2016-09-22 12:14:50 +02:00
}
2017-02-13 22:39:55 +01:00
// NetworkList is a list of Networks.
2020-10-29 15:30:38 +08:00
message NetworkList { repeated Network network = 1; }