github.com/xmplusdev/xray-core@v1.8.10/transport/internet/config.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.33.0
     4  // 	protoc        v4.23.1
     5  // source: transport/internet/config.proto
     6  
     7  package internet
     8  
     9  import (
    10  	serial "github.com/xmplusdev/xray-core/common/serial"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type TransportProtocol int32
    25  
    26  const (
    27  	TransportProtocol_TCP          TransportProtocol = 0
    28  	TransportProtocol_UDP          TransportProtocol = 1
    29  	TransportProtocol_MKCP         TransportProtocol = 2
    30  	TransportProtocol_WebSocket    TransportProtocol = 3
    31  	TransportProtocol_HTTP         TransportProtocol = 4
    32  	TransportProtocol_DomainSocket TransportProtocol = 5
    33  	TransportProtocol_HTTPUpgrade  TransportProtocol = 6
    34  )
    35  
    36  // Enum value maps for TransportProtocol.
    37  var (
    38  	TransportProtocol_name = map[int32]string{
    39  		0: "TCP",
    40  		1: "UDP",
    41  		2: "MKCP",
    42  		3: "WebSocket",
    43  		4: "HTTP",
    44  		5: "DomainSocket",
    45  		6: "HTTPUpgrade",
    46  	}
    47  	TransportProtocol_value = map[string]int32{
    48  		"TCP":          0,
    49  		"UDP":          1,
    50  		"MKCP":         2,
    51  		"WebSocket":    3,
    52  		"HTTP":         4,
    53  		"DomainSocket": 5,
    54  		"HTTPUpgrade":  6,
    55  	}
    56  )
    57  
    58  func (x TransportProtocol) Enum() *TransportProtocol {
    59  	p := new(TransportProtocol)
    60  	*p = x
    61  	return p
    62  }
    63  
    64  func (x TransportProtocol) String() string {
    65  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    66  }
    67  
    68  func (TransportProtocol) Descriptor() protoreflect.EnumDescriptor {
    69  	return file_transport_internet_config_proto_enumTypes[0].Descriptor()
    70  }
    71  
    72  func (TransportProtocol) Type() protoreflect.EnumType {
    73  	return &file_transport_internet_config_proto_enumTypes[0]
    74  }
    75  
    76  func (x TransportProtocol) Number() protoreflect.EnumNumber {
    77  	return protoreflect.EnumNumber(x)
    78  }
    79  
    80  // Deprecated: Use TransportProtocol.Descriptor instead.
    81  func (TransportProtocol) EnumDescriptor() ([]byte, []int) {
    82  	return file_transport_internet_config_proto_rawDescGZIP(), []int{0}
    83  }
    84  
    85  type DomainStrategy int32
    86  
    87  const (
    88  	DomainStrategy_AS_IS      DomainStrategy = 0
    89  	DomainStrategy_USE_IP     DomainStrategy = 1
    90  	DomainStrategy_USE_IP4    DomainStrategy = 2
    91  	DomainStrategy_USE_IP6    DomainStrategy = 3
    92  	DomainStrategy_USE_IP46   DomainStrategy = 4
    93  	DomainStrategy_USE_IP64   DomainStrategy = 5
    94  	DomainStrategy_FORCE_IP   DomainStrategy = 6
    95  	DomainStrategy_FORCE_IP4  DomainStrategy = 7
    96  	DomainStrategy_FORCE_IP6  DomainStrategy = 8
    97  	DomainStrategy_FORCE_IP46 DomainStrategy = 9
    98  	DomainStrategy_FORCE_IP64 DomainStrategy = 10
    99  )
   100  
   101  // Enum value maps for DomainStrategy.
   102  var (
   103  	DomainStrategy_name = map[int32]string{
   104  		0:  "AS_IS",
   105  		1:  "USE_IP",
   106  		2:  "USE_IP4",
   107  		3:  "USE_IP6",
   108  		4:  "USE_IP46",
   109  		5:  "USE_IP64",
   110  		6:  "FORCE_IP",
   111  		7:  "FORCE_IP4",
   112  		8:  "FORCE_IP6",
   113  		9:  "FORCE_IP46",
   114  		10: "FORCE_IP64",
   115  	}
   116  	DomainStrategy_value = map[string]int32{
   117  		"AS_IS":      0,
   118  		"USE_IP":     1,
   119  		"USE_IP4":    2,
   120  		"USE_IP6":    3,
   121  		"USE_IP46":   4,
   122  		"USE_IP64":   5,
   123  		"FORCE_IP":   6,
   124  		"FORCE_IP4":  7,
   125  		"FORCE_IP6":  8,
   126  		"FORCE_IP46": 9,
   127  		"FORCE_IP64": 10,
   128  	}
   129  )
   130  
   131  func (x DomainStrategy) Enum() *DomainStrategy {
   132  	p := new(DomainStrategy)
   133  	*p = x
   134  	return p
   135  }
   136  
   137  func (x DomainStrategy) String() string {
   138  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   139  }
   140  
   141  func (DomainStrategy) Descriptor() protoreflect.EnumDescriptor {
   142  	return file_transport_internet_config_proto_enumTypes[1].Descriptor()
   143  }
   144  
   145  func (DomainStrategy) Type() protoreflect.EnumType {
   146  	return &file_transport_internet_config_proto_enumTypes[1]
   147  }
   148  
   149  func (x DomainStrategy) Number() protoreflect.EnumNumber {
   150  	return protoreflect.EnumNumber(x)
   151  }
   152  
   153  // Deprecated: Use DomainStrategy.Descriptor instead.
   154  func (DomainStrategy) EnumDescriptor() ([]byte, []int) {
   155  	return file_transport_internet_config_proto_rawDescGZIP(), []int{1}
   156  }
   157  
   158  type SocketConfig_TProxyMode int32
   159  
   160  const (
   161  	// TProxy is off.
   162  	SocketConfig_Off SocketConfig_TProxyMode = 0
   163  	// TProxy mode.
   164  	SocketConfig_TProxy SocketConfig_TProxyMode = 1
   165  	// Redirect mode.
   166  	SocketConfig_Redirect SocketConfig_TProxyMode = 2
   167  )
   168  
   169  // Enum value maps for SocketConfig_TProxyMode.
   170  var (
   171  	SocketConfig_TProxyMode_name = map[int32]string{
   172  		0: "Off",
   173  		1: "TProxy",
   174  		2: "Redirect",
   175  	}
   176  	SocketConfig_TProxyMode_value = map[string]int32{
   177  		"Off":      0,
   178  		"TProxy":   1,
   179  		"Redirect": 2,
   180  	}
   181  )
   182  
   183  func (x SocketConfig_TProxyMode) Enum() *SocketConfig_TProxyMode {
   184  	p := new(SocketConfig_TProxyMode)
   185  	*p = x
   186  	return p
   187  }
   188  
   189  func (x SocketConfig_TProxyMode) String() string {
   190  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   191  }
   192  
   193  func (SocketConfig_TProxyMode) Descriptor() protoreflect.EnumDescriptor {
   194  	return file_transport_internet_config_proto_enumTypes[2].Descriptor()
   195  }
   196  
   197  func (SocketConfig_TProxyMode) Type() protoreflect.EnumType {
   198  	return &file_transport_internet_config_proto_enumTypes[2]
   199  }
   200  
   201  func (x SocketConfig_TProxyMode) Number() protoreflect.EnumNumber {
   202  	return protoreflect.EnumNumber(x)
   203  }
   204  
   205  // Deprecated: Use SocketConfig_TProxyMode.Descriptor instead.
   206  func (SocketConfig_TProxyMode) EnumDescriptor() ([]byte, []int) {
   207  	return file_transport_internet_config_proto_rawDescGZIP(), []int{3, 0}
   208  }
   209  
   210  type TransportConfig struct {
   211  	state         protoimpl.MessageState
   212  	sizeCache     protoimpl.SizeCache
   213  	unknownFields protoimpl.UnknownFields
   214  
   215  	// Type of network that this settings supports.
   216  	// Deprecated. Use the string form below.
   217  	//
   218  	// Deprecated: Marked as deprecated in transport/internet/config.proto.
   219  	Protocol TransportProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=xray.transport.internet.TransportProtocol" json:"protocol,omitempty"`
   220  	// Type of network that this settings supports.
   221  	ProtocolName string `protobuf:"bytes,3,opt,name=protocol_name,json=protocolName,proto3" json:"protocol_name,omitempty"`
   222  	// Specific settings. Must be of the transports.
   223  	Settings *serial.TypedMessage `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"`
   224  }
   225  
   226  func (x *TransportConfig) Reset() {
   227  	*x = TransportConfig{}
   228  	if protoimpl.UnsafeEnabled {
   229  		mi := &file_transport_internet_config_proto_msgTypes[0]
   230  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   231  		ms.StoreMessageInfo(mi)
   232  	}
   233  }
   234  
   235  func (x *TransportConfig) String() string {
   236  	return protoimpl.X.MessageStringOf(x)
   237  }
   238  
   239  func (*TransportConfig) ProtoMessage() {}
   240  
   241  func (x *TransportConfig) ProtoReflect() protoreflect.Message {
   242  	mi := &file_transport_internet_config_proto_msgTypes[0]
   243  	if protoimpl.UnsafeEnabled && x != nil {
   244  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   245  		if ms.LoadMessageInfo() == nil {
   246  			ms.StoreMessageInfo(mi)
   247  		}
   248  		return ms
   249  	}
   250  	return mi.MessageOf(x)
   251  }
   252  
   253  // Deprecated: Use TransportConfig.ProtoReflect.Descriptor instead.
   254  func (*TransportConfig) Descriptor() ([]byte, []int) {
   255  	return file_transport_internet_config_proto_rawDescGZIP(), []int{0}
   256  }
   257  
   258  // Deprecated: Marked as deprecated in transport/internet/config.proto.
   259  func (x *TransportConfig) GetProtocol() TransportProtocol {
   260  	if x != nil {
   261  		return x.Protocol
   262  	}
   263  	return TransportProtocol_TCP
   264  }
   265  
   266  func (x *TransportConfig) GetProtocolName() string {
   267  	if x != nil {
   268  		return x.ProtocolName
   269  	}
   270  	return ""
   271  }
   272  
   273  func (x *TransportConfig) GetSettings() *serial.TypedMessage {
   274  	if x != nil {
   275  		return x.Settings
   276  	}
   277  	return nil
   278  }
   279  
   280  type StreamConfig struct {
   281  	state         protoimpl.MessageState
   282  	sizeCache     protoimpl.SizeCache
   283  	unknownFields protoimpl.UnknownFields
   284  
   285  	// Effective network. Deprecated. Use the string form below.
   286  	//
   287  	// Deprecated: Marked as deprecated in transport/internet/config.proto.
   288  	Protocol TransportProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=xray.transport.internet.TransportProtocol" json:"protocol,omitempty"`
   289  	// Effective network.
   290  	ProtocolName      string             `protobuf:"bytes,5,opt,name=protocol_name,json=protocolName,proto3" json:"protocol_name,omitempty"`
   291  	TransportSettings []*TransportConfig `protobuf:"bytes,2,rep,name=transport_settings,json=transportSettings,proto3" json:"transport_settings,omitempty"`
   292  	// Type of security. Must be a message name of the settings proto.
   293  	SecurityType string `protobuf:"bytes,3,opt,name=security_type,json=securityType,proto3" json:"security_type,omitempty"`
   294  	// Settings for transport security. For now the only choice is TLS.
   295  	SecuritySettings []*serial.TypedMessage `protobuf:"bytes,4,rep,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"`
   296  	SocketSettings   *SocketConfig          `protobuf:"bytes,6,opt,name=socket_settings,json=socketSettings,proto3" json:"socket_settings,omitempty"`
   297  }
   298  
   299  func (x *StreamConfig) Reset() {
   300  	*x = StreamConfig{}
   301  	if protoimpl.UnsafeEnabled {
   302  		mi := &file_transport_internet_config_proto_msgTypes[1]
   303  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   304  		ms.StoreMessageInfo(mi)
   305  	}
   306  }
   307  
   308  func (x *StreamConfig) String() string {
   309  	return protoimpl.X.MessageStringOf(x)
   310  }
   311  
   312  func (*StreamConfig) ProtoMessage() {}
   313  
   314  func (x *StreamConfig) ProtoReflect() protoreflect.Message {
   315  	mi := &file_transport_internet_config_proto_msgTypes[1]
   316  	if protoimpl.UnsafeEnabled && x != nil {
   317  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   318  		if ms.LoadMessageInfo() == nil {
   319  			ms.StoreMessageInfo(mi)
   320  		}
   321  		return ms
   322  	}
   323  	return mi.MessageOf(x)
   324  }
   325  
   326  // Deprecated: Use StreamConfig.ProtoReflect.Descriptor instead.
   327  func (*StreamConfig) Descriptor() ([]byte, []int) {
   328  	return file_transport_internet_config_proto_rawDescGZIP(), []int{1}
   329  }
   330  
   331  // Deprecated: Marked as deprecated in transport/internet/config.proto.
   332  func (x *StreamConfig) GetProtocol() TransportProtocol {
   333  	if x != nil {
   334  		return x.Protocol
   335  	}
   336  	return TransportProtocol_TCP
   337  }
   338  
   339  func (x *StreamConfig) GetProtocolName() string {
   340  	if x != nil {
   341  		return x.ProtocolName
   342  	}
   343  	return ""
   344  }
   345  
   346  func (x *StreamConfig) GetTransportSettings() []*TransportConfig {
   347  	if x != nil {
   348  		return x.TransportSettings
   349  	}
   350  	return nil
   351  }
   352  
   353  func (x *StreamConfig) GetSecurityType() string {
   354  	if x != nil {
   355  		return x.SecurityType
   356  	}
   357  	return ""
   358  }
   359  
   360  func (x *StreamConfig) GetSecuritySettings() []*serial.TypedMessage {
   361  	if x != nil {
   362  		return x.SecuritySettings
   363  	}
   364  	return nil
   365  }
   366  
   367  func (x *StreamConfig) GetSocketSettings() *SocketConfig {
   368  	if x != nil {
   369  		return x.SocketSettings
   370  	}
   371  	return nil
   372  }
   373  
   374  type ProxyConfig struct {
   375  	state         protoimpl.MessageState
   376  	sizeCache     protoimpl.SizeCache
   377  	unknownFields protoimpl.UnknownFields
   378  
   379  	Tag                 string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
   380  	TransportLayerProxy bool   `protobuf:"varint,2,opt,name=transportLayerProxy,proto3" json:"transportLayerProxy,omitempty"`
   381  }
   382  
   383  func (x *ProxyConfig) Reset() {
   384  	*x = ProxyConfig{}
   385  	if protoimpl.UnsafeEnabled {
   386  		mi := &file_transport_internet_config_proto_msgTypes[2]
   387  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   388  		ms.StoreMessageInfo(mi)
   389  	}
   390  }
   391  
   392  func (x *ProxyConfig) String() string {
   393  	return protoimpl.X.MessageStringOf(x)
   394  }
   395  
   396  func (*ProxyConfig) ProtoMessage() {}
   397  
   398  func (x *ProxyConfig) ProtoReflect() protoreflect.Message {
   399  	mi := &file_transport_internet_config_proto_msgTypes[2]
   400  	if protoimpl.UnsafeEnabled && x != nil {
   401  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   402  		if ms.LoadMessageInfo() == nil {
   403  			ms.StoreMessageInfo(mi)
   404  		}
   405  		return ms
   406  	}
   407  	return mi.MessageOf(x)
   408  }
   409  
   410  // Deprecated: Use ProxyConfig.ProtoReflect.Descriptor instead.
   411  func (*ProxyConfig) Descriptor() ([]byte, []int) {
   412  	return file_transport_internet_config_proto_rawDescGZIP(), []int{2}
   413  }
   414  
   415  func (x *ProxyConfig) GetTag() string {
   416  	if x != nil {
   417  		return x.Tag
   418  	}
   419  	return ""
   420  }
   421  
   422  func (x *ProxyConfig) GetTransportLayerProxy() bool {
   423  	if x != nil {
   424  		return x.TransportLayerProxy
   425  	}
   426  	return false
   427  }
   428  
   429  // SocketConfig is options to be applied on network sockets.
   430  type SocketConfig struct {
   431  	state         protoimpl.MessageState
   432  	sizeCache     protoimpl.SizeCache
   433  	unknownFields protoimpl.UnknownFields
   434  
   435  	// Mark of the connection. If non-zero, the value will be set to SO_MARK.
   436  	Mark int32 `protobuf:"varint,1,opt,name=mark,proto3" json:"mark,omitempty"`
   437  	// TFO is the state of TFO settings.
   438  	Tfo int32 `protobuf:"varint,2,opt,name=tfo,proto3" json:"tfo,omitempty"`
   439  	// TProxy is for enabling TProxy socket option.
   440  	Tproxy SocketConfig_TProxyMode `protobuf:"varint,3,opt,name=tproxy,proto3,enum=xray.transport.internet.SocketConfig_TProxyMode" json:"tproxy,omitempty"`
   441  	// ReceiveOriginalDestAddress is for enabling IP_RECVORIGDSTADDR socket
   442  	// option. This option is for UDP only.
   443  	ReceiveOriginalDestAddress bool           `protobuf:"varint,4,opt,name=receive_original_dest_address,json=receiveOriginalDestAddress,proto3" json:"receive_original_dest_address,omitempty"`
   444  	BindAddress                []byte         `protobuf:"bytes,5,opt,name=bind_address,json=bindAddress,proto3" json:"bind_address,omitempty"`
   445  	BindPort                   uint32         `protobuf:"varint,6,opt,name=bind_port,json=bindPort,proto3" json:"bind_port,omitempty"`
   446  	AcceptProxyProtocol        bool           `protobuf:"varint,7,opt,name=accept_proxy_protocol,json=acceptProxyProtocol,proto3" json:"accept_proxy_protocol,omitempty"`
   447  	DomainStrategy             DomainStrategy `protobuf:"varint,8,opt,name=domain_strategy,json=domainStrategy,proto3,enum=xray.transport.internet.DomainStrategy" json:"domain_strategy,omitempty"`
   448  	DialerProxy                string         `protobuf:"bytes,9,opt,name=dialer_proxy,json=dialerProxy,proto3" json:"dialer_proxy,omitempty"`
   449  	TcpKeepAliveInterval       int32          `protobuf:"varint,10,opt,name=tcp_keep_alive_interval,json=tcpKeepAliveInterval,proto3" json:"tcp_keep_alive_interval,omitempty"`
   450  	TcpKeepAliveIdle           int32          `protobuf:"varint,11,opt,name=tcp_keep_alive_idle,json=tcpKeepAliveIdle,proto3" json:"tcp_keep_alive_idle,omitempty"`
   451  	TcpCongestion              string         `protobuf:"bytes,12,opt,name=tcp_congestion,json=tcpCongestion,proto3" json:"tcp_congestion,omitempty"`
   452  	Interface                  string         `protobuf:"bytes,13,opt,name=interface,proto3" json:"interface,omitempty"`
   453  	V6Only                     bool           `protobuf:"varint,14,opt,name=v6only,proto3" json:"v6only,omitempty"`
   454  	TcpWindowClamp             int32          `protobuf:"varint,15,opt,name=tcp_window_clamp,json=tcpWindowClamp,proto3" json:"tcp_window_clamp,omitempty"`
   455  	TcpUserTimeout             int32          `protobuf:"varint,16,opt,name=tcp_user_timeout,json=tcpUserTimeout,proto3" json:"tcp_user_timeout,omitempty"`
   456  	TcpMaxSeg                  int32          `protobuf:"varint,17,opt,name=tcp_max_seg,json=tcpMaxSeg,proto3" json:"tcp_max_seg,omitempty"`
   457  	TcpNoDelay                 bool           `protobuf:"varint,18,opt,name=tcp_no_delay,json=tcpNoDelay,proto3" json:"tcp_no_delay,omitempty"`
   458  	TcpMptcp                   bool           `protobuf:"varint,19,opt,name=tcp_mptcp,json=tcpMptcp,proto3" json:"tcp_mptcp,omitempty"`
   459  }
   460  
   461  func (x *SocketConfig) Reset() {
   462  	*x = SocketConfig{}
   463  	if protoimpl.UnsafeEnabled {
   464  		mi := &file_transport_internet_config_proto_msgTypes[3]
   465  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   466  		ms.StoreMessageInfo(mi)
   467  	}
   468  }
   469  
   470  func (x *SocketConfig) String() string {
   471  	return protoimpl.X.MessageStringOf(x)
   472  }
   473  
   474  func (*SocketConfig) ProtoMessage() {}
   475  
   476  func (x *SocketConfig) ProtoReflect() protoreflect.Message {
   477  	mi := &file_transport_internet_config_proto_msgTypes[3]
   478  	if protoimpl.UnsafeEnabled && x != nil {
   479  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   480  		if ms.LoadMessageInfo() == nil {
   481  			ms.StoreMessageInfo(mi)
   482  		}
   483  		return ms
   484  	}
   485  	return mi.MessageOf(x)
   486  }
   487  
   488  // Deprecated: Use SocketConfig.ProtoReflect.Descriptor instead.
   489  func (*SocketConfig) Descriptor() ([]byte, []int) {
   490  	return file_transport_internet_config_proto_rawDescGZIP(), []int{3}
   491  }
   492  
   493  func (x *SocketConfig) GetMark() int32 {
   494  	if x != nil {
   495  		return x.Mark
   496  	}
   497  	return 0
   498  }
   499  
   500  func (x *SocketConfig) GetTfo() int32 {
   501  	if x != nil {
   502  		return x.Tfo
   503  	}
   504  	return 0
   505  }
   506  
   507  func (x *SocketConfig) GetTproxy() SocketConfig_TProxyMode {
   508  	if x != nil {
   509  		return x.Tproxy
   510  	}
   511  	return SocketConfig_Off
   512  }
   513  
   514  func (x *SocketConfig) GetReceiveOriginalDestAddress() bool {
   515  	if x != nil {
   516  		return x.ReceiveOriginalDestAddress
   517  	}
   518  	return false
   519  }
   520  
   521  func (x *SocketConfig) GetBindAddress() []byte {
   522  	if x != nil {
   523  		return x.BindAddress
   524  	}
   525  	return nil
   526  }
   527  
   528  func (x *SocketConfig) GetBindPort() uint32 {
   529  	if x != nil {
   530  		return x.BindPort
   531  	}
   532  	return 0
   533  }
   534  
   535  func (x *SocketConfig) GetAcceptProxyProtocol() bool {
   536  	if x != nil {
   537  		return x.AcceptProxyProtocol
   538  	}
   539  	return false
   540  }
   541  
   542  func (x *SocketConfig) GetDomainStrategy() DomainStrategy {
   543  	if x != nil {
   544  		return x.DomainStrategy
   545  	}
   546  	return DomainStrategy_AS_IS
   547  }
   548  
   549  func (x *SocketConfig) GetDialerProxy() string {
   550  	if x != nil {
   551  		return x.DialerProxy
   552  	}
   553  	return ""
   554  }
   555  
   556  func (x *SocketConfig) GetTcpKeepAliveInterval() int32 {
   557  	if x != nil {
   558  		return x.TcpKeepAliveInterval
   559  	}
   560  	return 0
   561  }
   562  
   563  func (x *SocketConfig) GetTcpKeepAliveIdle() int32 {
   564  	if x != nil {
   565  		return x.TcpKeepAliveIdle
   566  	}
   567  	return 0
   568  }
   569  
   570  func (x *SocketConfig) GetTcpCongestion() string {
   571  	if x != nil {
   572  		return x.TcpCongestion
   573  	}
   574  	return ""
   575  }
   576  
   577  func (x *SocketConfig) GetInterface() string {
   578  	if x != nil {
   579  		return x.Interface
   580  	}
   581  	return ""
   582  }
   583  
   584  func (x *SocketConfig) GetV6Only() bool {
   585  	if x != nil {
   586  		return x.V6Only
   587  	}
   588  	return false
   589  }
   590  
   591  func (x *SocketConfig) GetTcpWindowClamp() int32 {
   592  	if x != nil {
   593  		return x.TcpWindowClamp
   594  	}
   595  	return 0
   596  }
   597  
   598  func (x *SocketConfig) GetTcpUserTimeout() int32 {
   599  	if x != nil {
   600  		return x.TcpUserTimeout
   601  	}
   602  	return 0
   603  }
   604  
   605  func (x *SocketConfig) GetTcpMaxSeg() int32 {
   606  	if x != nil {
   607  		return x.TcpMaxSeg
   608  	}
   609  	return 0
   610  }
   611  
   612  func (x *SocketConfig) GetTcpNoDelay() bool {
   613  	if x != nil {
   614  		return x.TcpNoDelay
   615  	}
   616  	return false
   617  }
   618  
   619  func (x *SocketConfig) GetTcpMptcp() bool {
   620  	if x != nil {
   621  		return x.TcpMptcp
   622  	}
   623  	return false
   624  }
   625  
   626  var File_transport_internet_config_proto protoreflect.FileDescriptor
   627  
   628  var file_transport_internet_config_proto_rawDesc = []byte{
   629  	0x0a, 0x1f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
   630  	0x72, 0x6e, 0x65, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   631  	0x6f, 0x12, 0x17, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
   632  	0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x1a, 0x21, 0x63, 0x6f, 0x6d, 0x6d,
   633  	0x6f, 0x6e, 0x2f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f,
   634  	0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc0, 0x01,
   635  	0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
   636  	0x67, 0x12, 0x4a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20,
   637  	0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
   638  	0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x54, 0x72,
   639  	0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x42,
   640  	0x02, 0x18, 0x01, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x23, 0x0a,
   641  	0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
   642  	0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4e, 0x61,
   643  	0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02,
   644  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
   645  	0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d,
   646  	0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
   647  	0x22, 0x9c, 0x03, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69,
   648  	0x67, 0x12, 0x4a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20,
   649  	0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
   650  	0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x54, 0x72,
   651  	0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x42,
   652  	0x02, 0x18, 0x01, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x23, 0x0a,
   653  	0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05,
   654  	0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4e, 0x61,
   655  	0x6d, 0x65, 0x12, 0x57, 0x0a, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f,
   656  	0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28,
   657  	0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e,
   658  	0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
   659  	0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
   660  	0x6f, 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73,
   661  	0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01,
   662  	0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65,
   663  	0x12, 0x4d, 0x0a, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x74,
   664  	0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x72,
   665  	0x61, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c,
   666  	0x2e, 0x54, 0x79, 0x70, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x10, 0x73,
   667  	0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12,
   668  	0x4e, 0x0a, 0x0f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e,
   669  	0x67, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e,
   670  	0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
   671  	0x65, 0x74, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
   672  	0x0e, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22,
   673  	0x51, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10,
   674  	0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67,
   675  	0x12, 0x30, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x61, 0x79,
   676  	0x65, 0x72, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x74,
   677  	0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x72, 0x6f,
   678  	0x78, 0x79, 0x22, 0xd1, 0x06, 0x0a, 0x0c, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6e,
   679  	0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28,
   680  	0x05, 0x52, 0x04, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x66, 0x6f, 0x18, 0x02,
   681  	0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x66, 0x6f, 0x12, 0x48, 0x0a, 0x06, 0x74, 0x70, 0x72,
   682  	0x6f, 0x78, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x78, 0x72, 0x61, 0x79,
   683  	0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
   684  	0x6e, 0x65, 0x74, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   685  	0x2e, 0x54, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x06, 0x74, 0x70, 0x72,
   686  	0x6f, 0x78, 0x79, 0x12, 0x41, 0x0a, 0x1d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x6f,
   687  	0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x64, 0x64,
   688  	0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x72, 0x65, 0x63, 0x65,
   689  	0x69, 0x76, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x44, 0x65, 0x73, 0x74, 0x41,
   690  	0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x69, 0x6e, 0x64, 0x5f, 0x61,
   691  	0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x62, 0x69,
   692  	0x6e, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x69, 0x6e,
   693  	0x64, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x62, 0x69,
   694  	0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74,
   695  	0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18,
   696  	0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x50, 0x72, 0x6f,
   697  	0x78, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x50, 0x0a, 0x0f, 0x64, 0x6f,
   698  	0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x08, 0x20,
   699  	0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
   700  	0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x44, 0x6f,
   701  	0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0e, 0x64, 0x6f,
   702  	0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x21, 0x0a, 0x0c,
   703  	0x64, 0x69, 0x61, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x18, 0x09, 0x20, 0x01,
   704  	0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x61, 0x6c, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x12,
   705  	0x35, 0x0a, 0x17, 0x74, 0x63, 0x70, 0x5f, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76,
   706  	0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05,
   707  	0x52, 0x14, 0x74, 0x63, 0x70, 0x4b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x49, 0x6e,
   708  	0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x2d, 0x0a, 0x13, 0x74, 0x63, 0x70, 0x5f, 0x6b, 0x65,
   709  	0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x64, 0x6c, 0x65, 0x18, 0x0b, 0x20,
   710  	0x01, 0x28, 0x05, 0x52, 0x10, 0x74, 0x63, 0x70, 0x4b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76,
   711  	0x65, 0x49, 0x64, 0x6c, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x63, 0x70, 0x5f, 0x63, 0x6f, 0x6e,
   712  	0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74,
   713  	0x63, 0x70, 0x43, 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09,
   714  	0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52,
   715  	0x09, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x36,
   716  	0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x76, 0x36, 0x6f, 0x6e,
   717  	0x6c, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x63, 0x70, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77,
   718  	0x5f, 0x63, 0x6c, 0x61, 0x6d, 0x70, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x74, 0x63,
   719  	0x70, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x43, 0x6c, 0x61, 0x6d, 0x70, 0x12, 0x28, 0x0a, 0x10,
   720  	0x74, 0x63, 0x70, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74,
   721  	0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x74, 0x63, 0x70, 0x55, 0x73, 0x65, 0x72, 0x54,
   722  	0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x74, 0x63, 0x70, 0x5f, 0x6d, 0x61,
   723  	0x78, 0x5f, 0x73, 0x65, 0x67, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x63, 0x70,
   724  	0x4d, 0x61, 0x78, 0x53, 0x65, 0x67, 0x12, 0x20, 0x0a, 0x0c, 0x74, 0x63, 0x70, 0x5f, 0x6e, 0x6f,
   725  	0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x74, 0x63,
   726  	0x70, 0x4e, 0x6f, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x63, 0x70, 0x5f,
   727  	0x6d, 0x70, 0x74, 0x63, 0x70, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x74, 0x63, 0x70,
   728  	0x4d, 0x70, 0x74, 0x63, 0x70, 0x22, 0x2f, 0x0a, 0x0a, 0x54, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4d,
   729  	0x6f, 0x64, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x66, 0x66, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06,
   730  	0x54, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x65, 0x64, 0x69,
   731  	0x72, 0x65, 0x63, 0x74, 0x10, 0x02, 0x2a, 0x6b, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70,
   732  	0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x07, 0x0a, 0x03, 0x54,
   733  	0x43, 0x50, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x44, 0x50, 0x10, 0x01, 0x12, 0x08, 0x0a,
   734  	0x04, 0x4d, 0x4b, 0x43, 0x50, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x57, 0x65, 0x62, 0x53, 0x6f,
   735  	0x63, 0x6b, 0x65, 0x74, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10, 0x04,
   736  	0x12, 0x10, 0x0a, 0x0c, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74,
   737  	0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x48, 0x54, 0x54, 0x50, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64,
   738  	0x65, 0x10, 0x06, 0x2a, 0xa9, 0x01, 0x0a, 0x0e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x74,
   739  	0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x53, 0x5f, 0x49, 0x53, 0x10,
   740  	0x00, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x50, 0x10, 0x01, 0x12, 0x0b, 0x0a,
   741  	0x07, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x50, 0x34, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x53,
   742  	0x45, 0x5f, 0x49, 0x50, 0x36, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x53, 0x45, 0x5f, 0x49,
   743  	0x50, 0x34, 0x36, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x50, 0x36,
   744  	0x34, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x5f, 0x49, 0x50, 0x10,
   745  	0x06, 0x12, 0x0d, 0x0a, 0x09, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x5f, 0x49, 0x50, 0x34, 0x10, 0x07,
   746  	0x12, 0x0d, 0x0a, 0x09, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x5f, 0x49, 0x50, 0x36, 0x10, 0x08, 0x12,
   747  	0x0e, 0x0a, 0x0a, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x5f, 0x49, 0x50, 0x34, 0x36, 0x10, 0x09, 0x12,
   748  	0x0e, 0x0a, 0x0a, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x5f, 0x49, 0x50, 0x36, 0x34, 0x10, 0x0a, 0x42,
   749  	0x67, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x74, 0x72, 0x61, 0x6e,
   750  	0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x50, 0x01,
   751  	0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c,
   752  	0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x74, 0x72, 0x61, 0x6e,
   753  	0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0xaa, 0x02,
   754  	0x17, 0x58, 0x72, 0x61, 0x79, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e,
   755  	0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   756  }
   757  
   758  var (
   759  	file_transport_internet_config_proto_rawDescOnce sync.Once
   760  	file_transport_internet_config_proto_rawDescData = file_transport_internet_config_proto_rawDesc
   761  )
   762  
   763  func file_transport_internet_config_proto_rawDescGZIP() []byte {
   764  	file_transport_internet_config_proto_rawDescOnce.Do(func() {
   765  		file_transport_internet_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_config_proto_rawDescData)
   766  	})
   767  	return file_transport_internet_config_proto_rawDescData
   768  }
   769  
   770  var file_transport_internet_config_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
   771  var file_transport_internet_config_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   772  var file_transport_internet_config_proto_goTypes = []interface{}{
   773  	(TransportProtocol)(0),       // 0: xray.transport.internet.TransportProtocol
   774  	(DomainStrategy)(0),          // 1: xray.transport.internet.DomainStrategy
   775  	(SocketConfig_TProxyMode)(0), // 2: xray.transport.internet.SocketConfig.TProxyMode
   776  	(*TransportConfig)(nil),      // 3: xray.transport.internet.TransportConfig
   777  	(*StreamConfig)(nil),         // 4: xray.transport.internet.StreamConfig
   778  	(*ProxyConfig)(nil),          // 5: xray.transport.internet.ProxyConfig
   779  	(*SocketConfig)(nil),         // 6: xray.transport.internet.SocketConfig
   780  	(*serial.TypedMessage)(nil),  // 7: xray.common.serial.TypedMessage
   781  }
   782  var file_transport_internet_config_proto_depIdxs = []int32{
   783  	0, // 0: xray.transport.internet.TransportConfig.protocol:type_name -> xray.transport.internet.TransportProtocol
   784  	7, // 1: xray.transport.internet.TransportConfig.settings:type_name -> xray.common.serial.TypedMessage
   785  	0, // 2: xray.transport.internet.StreamConfig.protocol:type_name -> xray.transport.internet.TransportProtocol
   786  	3, // 3: xray.transport.internet.StreamConfig.transport_settings:type_name -> xray.transport.internet.TransportConfig
   787  	7, // 4: xray.transport.internet.StreamConfig.security_settings:type_name -> xray.common.serial.TypedMessage
   788  	6, // 5: xray.transport.internet.StreamConfig.socket_settings:type_name -> xray.transport.internet.SocketConfig
   789  	2, // 6: xray.transport.internet.SocketConfig.tproxy:type_name -> xray.transport.internet.SocketConfig.TProxyMode
   790  	1, // 7: xray.transport.internet.SocketConfig.domain_strategy:type_name -> xray.transport.internet.DomainStrategy
   791  	8, // [8:8] is the sub-list for method output_type
   792  	8, // [8:8] is the sub-list for method input_type
   793  	8, // [8:8] is the sub-list for extension type_name
   794  	8, // [8:8] is the sub-list for extension extendee
   795  	0, // [0:8] is the sub-list for field type_name
   796  }
   797  
   798  func init() { file_transport_internet_config_proto_init() }
   799  func file_transport_internet_config_proto_init() {
   800  	if File_transport_internet_config_proto != nil {
   801  		return
   802  	}
   803  	if !protoimpl.UnsafeEnabled {
   804  		file_transport_internet_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   805  			switch v := v.(*TransportConfig); i {
   806  			case 0:
   807  				return &v.state
   808  			case 1:
   809  				return &v.sizeCache
   810  			case 2:
   811  				return &v.unknownFields
   812  			default:
   813  				return nil
   814  			}
   815  		}
   816  		file_transport_internet_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   817  			switch v := v.(*StreamConfig); i {
   818  			case 0:
   819  				return &v.state
   820  			case 1:
   821  				return &v.sizeCache
   822  			case 2:
   823  				return &v.unknownFields
   824  			default:
   825  				return nil
   826  			}
   827  		}
   828  		file_transport_internet_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   829  			switch v := v.(*ProxyConfig); i {
   830  			case 0:
   831  				return &v.state
   832  			case 1:
   833  				return &v.sizeCache
   834  			case 2:
   835  				return &v.unknownFields
   836  			default:
   837  				return nil
   838  			}
   839  		}
   840  		file_transport_internet_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   841  			switch v := v.(*SocketConfig); i {
   842  			case 0:
   843  				return &v.state
   844  			case 1:
   845  				return &v.sizeCache
   846  			case 2:
   847  				return &v.unknownFields
   848  			default:
   849  				return nil
   850  			}
   851  		}
   852  	}
   853  	type x struct{}
   854  	out := protoimpl.TypeBuilder{
   855  		File: protoimpl.DescBuilder{
   856  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   857  			RawDescriptor: file_transport_internet_config_proto_rawDesc,
   858  			NumEnums:      3,
   859  			NumMessages:   4,
   860  			NumExtensions: 0,
   861  			NumServices:   0,
   862  		},
   863  		GoTypes:           file_transport_internet_config_proto_goTypes,
   864  		DependencyIndexes: file_transport_internet_config_proto_depIdxs,
   865  		EnumInfos:         file_transport_internet_config_proto_enumTypes,
   866  		MessageInfos:      file_transport_internet_config_proto_msgTypes,
   867  	}.Build()
   868  	File_transport_internet_config_proto = out.File
   869  	file_transport_internet_config_proto_rawDesc = nil
   870  	file_transport_internet_config_proto_goTypes = nil
   871  	file_transport_internet_config_proto_depIdxs = nil
   872  }