github.com/xraypb/Xray-core@v1.8.1/common/net/network.proto (about)

     1  syntax = "proto3";
     2  
     3  package xray.common.net;
     4  option csharp_namespace = "Xray.Common.Net";
     5  option go_package = "github.com/xraypb/Xray-core/common/net";
     6  option java_package = "com.xray.common.net";
     7  option java_multiple_files = true;
     8  
     9  enum Network {
    10    Unknown = 0;
    11  
    12    RawTCP = 1 [deprecated = true];
    13    TCP = 2;
    14    UDP = 3;
    15    UNIX = 4;
    16  }
    17  
    18  // NetworkList is a list of Networks.
    19  message NetworkList { repeated Network network = 1; }