mirror of https://github.com/v2ray/v2ray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
434 B
24 lines
434 B
syntax = "proto3";
|
|
|
|
package v2ray.core.common.net;
|
|
option csharp_namespace = "V2Ray.Core.Common.Net";
|
|
option go_package = "net";
|
|
option java_package = "com.v2ray.core.common.net";
|
|
option java_outer_classname = "NetworkProto";
|
|
|
|
enum Network {
|
|
Unknown = 0;
|
|
|
|
// Native TCP provided by system.
|
|
RawTCP = 1 [deprecated=true];
|
|
|
|
// V2Ray specific TCP.
|
|
TCP = 2;
|
|
|
|
UDP = 3;
|
|
}
|
|
|
|
message NetworkList {
|
|
repeated Network network = 1;
|
|
}
|