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