mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-09 19:58:45 -05:00
26 lines
396 B
Protocol Buffer
26 lines
396 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package 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;
|
|
|
|
// V2Ray specific TCP.
|
|
TCP = 2;
|
|
|
|
UDP = 3;
|
|
|
|
KCP = 4;
|
|
|
|
WebSocket = 5;
|
|
}
|
|
|
|
message NetworkList {
|
|
repeated Network network = 1;
|
|
} |