config.pb.go 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.27.1
  4. // protoc v3.17.3
  5. // source: transport/internet/config.proto
  6. package internet
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. anypb "google.golang.org/protobuf/types/known/anypb"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type TransportProtocol int32
  21. const (
  22. TransportProtocol_TCP TransportProtocol = 0
  23. TransportProtocol_UDP TransportProtocol = 1
  24. TransportProtocol_MKCP TransportProtocol = 2
  25. TransportProtocol_WebSocket TransportProtocol = 3
  26. TransportProtocol_HTTP TransportProtocol = 4
  27. TransportProtocol_DomainSocket TransportProtocol = 5
  28. )
  29. // Enum value maps for TransportProtocol.
  30. var (
  31. TransportProtocol_name = map[int32]string{
  32. 0: "TCP",
  33. 1: "UDP",
  34. 2: "MKCP",
  35. 3: "WebSocket",
  36. 4: "HTTP",
  37. 5: "DomainSocket",
  38. }
  39. TransportProtocol_value = map[string]int32{
  40. "TCP": 0,
  41. "UDP": 1,
  42. "MKCP": 2,
  43. "WebSocket": 3,
  44. "HTTP": 4,
  45. "DomainSocket": 5,
  46. }
  47. )
  48. func (x TransportProtocol) Enum() *TransportProtocol {
  49. p := new(TransportProtocol)
  50. *p = x
  51. return p
  52. }
  53. func (x TransportProtocol) String() string {
  54. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  55. }
  56. func (TransportProtocol) Descriptor() protoreflect.EnumDescriptor {
  57. return file_transport_internet_config_proto_enumTypes[0].Descriptor()
  58. }
  59. func (TransportProtocol) Type() protoreflect.EnumType {
  60. return &file_transport_internet_config_proto_enumTypes[0]
  61. }
  62. func (x TransportProtocol) Number() protoreflect.EnumNumber {
  63. return protoreflect.EnumNumber(x)
  64. }
  65. // Deprecated: Use TransportProtocol.Descriptor instead.
  66. func (TransportProtocol) EnumDescriptor() ([]byte, []int) {
  67. return file_transport_internet_config_proto_rawDescGZIP(), []int{0}
  68. }
  69. type SocketConfig_TCPFastOpenState int32
  70. const (
  71. // AsIs is to leave the current TFO state as is, unmodified.
  72. SocketConfig_AsIs SocketConfig_TCPFastOpenState = 0
  73. // Enable is for enabling TFO explictly.
  74. SocketConfig_Enable SocketConfig_TCPFastOpenState = 1
  75. // Disable is for disabling TFO explictly.
  76. SocketConfig_Disable SocketConfig_TCPFastOpenState = 2
  77. )
  78. // Enum value maps for SocketConfig_TCPFastOpenState.
  79. var (
  80. SocketConfig_TCPFastOpenState_name = map[int32]string{
  81. 0: "AsIs",
  82. 1: "Enable",
  83. 2: "Disable",
  84. }
  85. SocketConfig_TCPFastOpenState_value = map[string]int32{
  86. "AsIs": 0,
  87. "Enable": 1,
  88. "Disable": 2,
  89. }
  90. )
  91. func (x SocketConfig_TCPFastOpenState) Enum() *SocketConfig_TCPFastOpenState {
  92. p := new(SocketConfig_TCPFastOpenState)
  93. *p = x
  94. return p
  95. }
  96. func (x SocketConfig_TCPFastOpenState) String() string {
  97. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  98. }
  99. func (SocketConfig_TCPFastOpenState) Descriptor() protoreflect.EnumDescriptor {
  100. return file_transport_internet_config_proto_enumTypes[1].Descriptor()
  101. }
  102. func (SocketConfig_TCPFastOpenState) Type() protoreflect.EnumType {
  103. return &file_transport_internet_config_proto_enumTypes[1]
  104. }
  105. func (x SocketConfig_TCPFastOpenState) Number() protoreflect.EnumNumber {
  106. return protoreflect.EnumNumber(x)
  107. }
  108. // Deprecated: Use SocketConfig_TCPFastOpenState.Descriptor instead.
  109. func (SocketConfig_TCPFastOpenState) EnumDescriptor() ([]byte, []int) {
  110. return file_transport_internet_config_proto_rawDescGZIP(), []int{3, 0}
  111. }
  112. type SocketConfig_TProxyMode int32
  113. const (
  114. // TProxy is off.
  115. SocketConfig_Off SocketConfig_TProxyMode = 0
  116. // TProxy mode.
  117. SocketConfig_TProxy SocketConfig_TProxyMode = 1
  118. // Redirect mode.
  119. SocketConfig_Redirect SocketConfig_TProxyMode = 2
  120. )
  121. // Enum value maps for SocketConfig_TProxyMode.
  122. var (
  123. SocketConfig_TProxyMode_name = map[int32]string{
  124. 0: "Off",
  125. 1: "TProxy",
  126. 2: "Redirect",
  127. }
  128. SocketConfig_TProxyMode_value = map[string]int32{
  129. "Off": 0,
  130. "TProxy": 1,
  131. "Redirect": 2,
  132. }
  133. )
  134. func (x SocketConfig_TProxyMode) Enum() *SocketConfig_TProxyMode {
  135. p := new(SocketConfig_TProxyMode)
  136. *p = x
  137. return p
  138. }
  139. func (x SocketConfig_TProxyMode) String() string {
  140. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  141. }
  142. func (SocketConfig_TProxyMode) Descriptor() protoreflect.EnumDescriptor {
  143. return file_transport_internet_config_proto_enumTypes[2].Descriptor()
  144. }
  145. func (SocketConfig_TProxyMode) Type() protoreflect.EnumType {
  146. return &file_transport_internet_config_proto_enumTypes[2]
  147. }
  148. func (x SocketConfig_TProxyMode) Number() protoreflect.EnumNumber {
  149. return protoreflect.EnumNumber(x)
  150. }
  151. // Deprecated: Use SocketConfig_TProxyMode.Descriptor instead.
  152. func (SocketConfig_TProxyMode) EnumDescriptor() ([]byte, []int) {
  153. return file_transport_internet_config_proto_rawDescGZIP(), []int{3, 1}
  154. }
  155. type TransportConfig struct {
  156. state protoimpl.MessageState
  157. sizeCache protoimpl.SizeCache
  158. unknownFields protoimpl.UnknownFields
  159. // Type of network that this settings supports.
  160. // Deprecated. Use the string form below.
  161. //
  162. // Deprecated: Do not use.
  163. Protocol TransportProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=v2ray.core.transport.internet.TransportProtocol" json:"protocol,omitempty"`
  164. // Type of network that this settings supports.
  165. ProtocolName string `protobuf:"bytes,3,opt,name=protocol_name,json=protocolName,proto3" json:"protocol_name,omitempty"`
  166. // Specific settings. Must be of the transports.
  167. Settings *anypb.Any `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"`
  168. }
  169. func (x *TransportConfig) Reset() {
  170. *x = TransportConfig{}
  171. if protoimpl.UnsafeEnabled {
  172. mi := &file_transport_internet_config_proto_msgTypes[0]
  173. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  174. ms.StoreMessageInfo(mi)
  175. }
  176. }
  177. func (x *TransportConfig) String() string {
  178. return protoimpl.X.MessageStringOf(x)
  179. }
  180. func (*TransportConfig) ProtoMessage() {}
  181. func (x *TransportConfig) ProtoReflect() protoreflect.Message {
  182. mi := &file_transport_internet_config_proto_msgTypes[0]
  183. if protoimpl.UnsafeEnabled && x != nil {
  184. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  185. if ms.LoadMessageInfo() == nil {
  186. ms.StoreMessageInfo(mi)
  187. }
  188. return ms
  189. }
  190. return mi.MessageOf(x)
  191. }
  192. // Deprecated: Use TransportConfig.ProtoReflect.Descriptor instead.
  193. func (*TransportConfig) Descriptor() ([]byte, []int) {
  194. return file_transport_internet_config_proto_rawDescGZIP(), []int{0}
  195. }
  196. // Deprecated: Do not use.
  197. func (x *TransportConfig) GetProtocol() TransportProtocol {
  198. if x != nil {
  199. return x.Protocol
  200. }
  201. return TransportProtocol_TCP
  202. }
  203. func (x *TransportConfig) GetProtocolName() string {
  204. if x != nil {
  205. return x.ProtocolName
  206. }
  207. return ""
  208. }
  209. func (x *TransportConfig) GetSettings() *anypb.Any {
  210. if x != nil {
  211. return x.Settings
  212. }
  213. return nil
  214. }
  215. type StreamConfig struct {
  216. state protoimpl.MessageState
  217. sizeCache protoimpl.SizeCache
  218. unknownFields protoimpl.UnknownFields
  219. // Effective network. Deprecated. Use the string form below.
  220. //
  221. // Deprecated: Do not use.
  222. Protocol TransportProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=v2ray.core.transport.internet.TransportProtocol" json:"protocol,omitempty"`
  223. // Effective network.
  224. ProtocolName string `protobuf:"bytes,5,opt,name=protocol_name,json=protocolName,proto3" json:"protocol_name,omitempty"`
  225. TransportSettings []*TransportConfig `protobuf:"bytes,2,rep,name=transport_settings,json=transportSettings,proto3" json:"transport_settings,omitempty"`
  226. // Type of security. Must be a message name of the settings proto.
  227. SecurityType string `protobuf:"bytes,3,opt,name=security_type,json=securityType,proto3" json:"security_type,omitempty"`
  228. // Settings for transport security. For now the only choice is TLS.
  229. SecuritySettings []*anypb.Any `protobuf:"bytes,4,rep,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"`
  230. SocketSettings *SocketConfig `protobuf:"bytes,6,opt,name=socket_settings,json=socketSettings,proto3" json:"socket_settings,omitempty"`
  231. }
  232. func (x *StreamConfig) Reset() {
  233. *x = StreamConfig{}
  234. if protoimpl.UnsafeEnabled {
  235. mi := &file_transport_internet_config_proto_msgTypes[1]
  236. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  237. ms.StoreMessageInfo(mi)
  238. }
  239. }
  240. func (x *StreamConfig) String() string {
  241. return protoimpl.X.MessageStringOf(x)
  242. }
  243. func (*StreamConfig) ProtoMessage() {}
  244. func (x *StreamConfig) ProtoReflect() protoreflect.Message {
  245. mi := &file_transport_internet_config_proto_msgTypes[1]
  246. if protoimpl.UnsafeEnabled && x != nil {
  247. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  248. if ms.LoadMessageInfo() == nil {
  249. ms.StoreMessageInfo(mi)
  250. }
  251. return ms
  252. }
  253. return mi.MessageOf(x)
  254. }
  255. // Deprecated: Use StreamConfig.ProtoReflect.Descriptor instead.
  256. func (*StreamConfig) Descriptor() ([]byte, []int) {
  257. return file_transport_internet_config_proto_rawDescGZIP(), []int{1}
  258. }
  259. // Deprecated: Do not use.
  260. func (x *StreamConfig) GetProtocol() TransportProtocol {
  261. if x != nil {
  262. return x.Protocol
  263. }
  264. return TransportProtocol_TCP
  265. }
  266. func (x *StreamConfig) GetProtocolName() string {
  267. if x != nil {
  268. return x.ProtocolName
  269. }
  270. return ""
  271. }
  272. func (x *StreamConfig) GetTransportSettings() []*TransportConfig {
  273. if x != nil {
  274. return x.TransportSettings
  275. }
  276. return nil
  277. }
  278. func (x *StreamConfig) GetSecurityType() string {
  279. if x != nil {
  280. return x.SecurityType
  281. }
  282. return ""
  283. }
  284. func (x *StreamConfig) GetSecuritySettings() []*anypb.Any {
  285. if x != nil {
  286. return x.SecuritySettings
  287. }
  288. return nil
  289. }
  290. func (x *StreamConfig) GetSocketSettings() *SocketConfig {
  291. if x != nil {
  292. return x.SocketSettings
  293. }
  294. return nil
  295. }
  296. type ProxyConfig struct {
  297. state protoimpl.MessageState
  298. sizeCache protoimpl.SizeCache
  299. unknownFields protoimpl.UnknownFields
  300. Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
  301. TransportLayerProxy bool `protobuf:"varint,2,opt,name=transportLayerProxy,proto3" json:"transportLayerProxy,omitempty"`
  302. }
  303. func (x *ProxyConfig) Reset() {
  304. *x = ProxyConfig{}
  305. if protoimpl.UnsafeEnabled {
  306. mi := &file_transport_internet_config_proto_msgTypes[2]
  307. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  308. ms.StoreMessageInfo(mi)
  309. }
  310. }
  311. func (x *ProxyConfig) String() string {
  312. return protoimpl.X.MessageStringOf(x)
  313. }
  314. func (*ProxyConfig) ProtoMessage() {}
  315. func (x *ProxyConfig) ProtoReflect() protoreflect.Message {
  316. mi := &file_transport_internet_config_proto_msgTypes[2]
  317. if protoimpl.UnsafeEnabled && x != nil {
  318. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  319. if ms.LoadMessageInfo() == nil {
  320. ms.StoreMessageInfo(mi)
  321. }
  322. return ms
  323. }
  324. return mi.MessageOf(x)
  325. }
  326. // Deprecated: Use ProxyConfig.ProtoReflect.Descriptor instead.
  327. func (*ProxyConfig) Descriptor() ([]byte, []int) {
  328. return file_transport_internet_config_proto_rawDescGZIP(), []int{2}
  329. }
  330. func (x *ProxyConfig) GetTag() string {
  331. if x != nil {
  332. return x.Tag
  333. }
  334. return ""
  335. }
  336. func (x *ProxyConfig) GetTransportLayerProxy() bool {
  337. if x != nil {
  338. return x.TransportLayerProxy
  339. }
  340. return false
  341. }
  342. // SocketConfig is options to be applied on network sockets.
  343. type SocketConfig struct {
  344. state protoimpl.MessageState
  345. sizeCache protoimpl.SizeCache
  346. unknownFields protoimpl.UnknownFields
  347. // Mark of the connection. If non-zero, the value will be set to SO_MARK.
  348. Mark uint32 `protobuf:"varint,1,opt,name=mark,proto3" json:"mark,omitempty"`
  349. // TFO is the state of TFO settings.
  350. Tfo SocketConfig_TCPFastOpenState `protobuf:"varint,2,opt,name=tfo,proto3,enum=v2ray.core.transport.internet.SocketConfig_TCPFastOpenState" json:"tfo,omitempty"`
  351. // TProxy is for enabling TProxy socket option.
  352. Tproxy SocketConfig_TProxyMode `protobuf:"varint,3,opt,name=tproxy,proto3,enum=v2ray.core.transport.internet.SocketConfig_TProxyMode" json:"tproxy,omitempty"`
  353. // ReceiveOriginalDestAddress is for enabling IP_RECVORIGDSTADDR socket
  354. // option. This option is for UDP only.
  355. ReceiveOriginalDestAddress bool `protobuf:"varint,4,opt,name=receive_original_dest_address,json=receiveOriginalDestAddress,proto3" json:"receive_original_dest_address,omitempty"`
  356. BindAddress []byte `protobuf:"bytes,5,opt,name=bind_address,json=bindAddress,proto3" json:"bind_address,omitempty"`
  357. BindPort uint32 `protobuf:"varint,6,opt,name=bind_port,json=bindPort,proto3" json:"bind_port,omitempty"`
  358. AcceptProxyProtocol bool `protobuf:"varint,7,opt,name=accept_proxy_protocol,json=acceptProxyProtocol,proto3" json:"accept_proxy_protocol,omitempty"`
  359. TcpKeepAliveInterval int32 `protobuf:"varint,8,opt,name=tcp_keep_alive_interval,json=tcpKeepAliveInterval,proto3" json:"tcp_keep_alive_interval,omitempty"`
  360. TfoQueueLength uint32 `protobuf:"varint,9,opt,name=tfo_queue_length,json=tfoQueueLength,proto3" json:"tfo_queue_length,omitempty"`
  361. TcpKeepAliveIdle int32 `protobuf:"varint,10,opt,name=tcp_keep_alive_idle,json=tcpKeepAliveIdle,proto3" json:"tcp_keep_alive_idle,omitempty"`
  362. BindToDevice string `protobuf:"bytes,11,opt,name=bind_to_device,json=bindToDevice,proto3" json:"bind_to_device,omitempty"`
  363. SocketRxBufSize int64 `protobuf:"varint,12,opt,name=socket_rx_buf_size,json=socketRxBufSize,proto3" json:"socket_rx_buf_size,omitempty"`
  364. SocketTxBufSize int64 `protobuf:"varint,13,opt,name=socket_tx_buf_size,json=socketTxBufSize,proto3" json:"socket_tx_buf_size,omitempty"`
  365. }
  366. func (x *SocketConfig) Reset() {
  367. *x = SocketConfig{}
  368. if protoimpl.UnsafeEnabled {
  369. mi := &file_transport_internet_config_proto_msgTypes[3]
  370. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  371. ms.StoreMessageInfo(mi)
  372. }
  373. }
  374. func (x *SocketConfig) String() string {
  375. return protoimpl.X.MessageStringOf(x)
  376. }
  377. func (*SocketConfig) ProtoMessage() {}
  378. func (x *SocketConfig) ProtoReflect() protoreflect.Message {
  379. mi := &file_transport_internet_config_proto_msgTypes[3]
  380. if protoimpl.UnsafeEnabled && x != nil {
  381. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  382. if ms.LoadMessageInfo() == nil {
  383. ms.StoreMessageInfo(mi)
  384. }
  385. return ms
  386. }
  387. return mi.MessageOf(x)
  388. }
  389. // Deprecated: Use SocketConfig.ProtoReflect.Descriptor instead.
  390. func (*SocketConfig) Descriptor() ([]byte, []int) {
  391. return file_transport_internet_config_proto_rawDescGZIP(), []int{3}
  392. }
  393. func (x *SocketConfig) GetMark() uint32 {
  394. if x != nil {
  395. return x.Mark
  396. }
  397. return 0
  398. }
  399. func (x *SocketConfig) GetTfo() SocketConfig_TCPFastOpenState {
  400. if x != nil {
  401. return x.Tfo
  402. }
  403. return SocketConfig_AsIs
  404. }
  405. func (x *SocketConfig) GetTproxy() SocketConfig_TProxyMode {
  406. if x != nil {
  407. return x.Tproxy
  408. }
  409. return SocketConfig_Off
  410. }
  411. func (x *SocketConfig) GetReceiveOriginalDestAddress() bool {
  412. if x != nil {
  413. return x.ReceiveOriginalDestAddress
  414. }
  415. return false
  416. }
  417. func (x *SocketConfig) GetBindAddress() []byte {
  418. if x != nil {
  419. return x.BindAddress
  420. }
  421. return nil
  422. }
  423. func (x *SocketConfig) GetBindPort() uint32 {
  424. if x != nil {
  425. return x.BindPort
  426. }
  427. return 0
  428. }
  429. func (x *SocketConfig) GetAcceptProxyProtocol() bool {
  430. if x != nil {
  431. return x.AcceptProxyProtocol
  432. }
  433. return false
  434. }
  435. func (x *SocketConfig) GetTcpKeepAliveInterval() int32 {
  436. if x != nil {
  437. return x.TcpKeepAliveInterval
  438. }
  439. return 0
  440. }
  441. func (x *SocketConfig) GetTfoQueueLength() uint32 {
  442. if x != nil {
  443. return x.TfoQueueLength
  444. }
  445. return 0
  446. }
  447. func (x *SocketConfig) GetTcpKeepAliveIdle() int32 {
  448. if x != nil {
  449. return x.TcpKeepAliveIdle
  450. }
  451. return 0
  452. }
  453. func (x *SocketConfig) GetBindToDevice() string {
  454. if x != nil {
  455. return x.BindToDevice
  456. }
  457. return ""
  458. }
  459. func (x *SocketConfig) GetSocketRxBufSize() int64 {
  460. if x != nil {
  461. return x.SocketRxBufSize
  462. }
  463. return 0
  464. }
  465. func (x *SocketConfig) GetSocketTxBufSize() int64 {
  466. if x != nil {
  467. return x.SocketTxBufSize
  468. }
  469. return 0
  470. }
  471. var File_transport_internet_config_proto protoreflect.FileDescriptor
  472. var file_transport_internet_config_proto_rawDesc = []byte{
  473. 0x0a, 0x1f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
  474. 0x72, 0x6e, 0x65, 0x74, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  475. 0x6f, 0x12, 0x1d, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72,
  476. 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74,
  477. 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  478. 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xba, 0x01, 0x0a, 0x0f,
  479. 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
  480. 0x50, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
  481. 0x0e, 0x32, 0x30, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74,
  482. 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65,
  483. 0x74, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
  484. 0x63, 0x6f, 0x6c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
  485. 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5f, 0x6e, 0x61,
  486. 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
  487. 0x6f, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e,
  488. 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  489. 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x08,
  490. 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0xa2, 0x03, 0x0a, 0x0c, 0x53, 0x74, 0x72,
  491. 0x65, 0x61, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x50, 0x0a, 0x08, 0x70, 0x72, 0x6f,
  492. 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x76, 0x32,
  493. 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f,
  494. 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x54, 0x72, 0x61, 0x6e,
  495. 0x73, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x42, 0x02, 0x18,
  496. 0x01, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x70,
  497. 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
  498. 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4e, 0x61, 0x6d, 0x65,
  499. 0x12, 0x5d, 0x0a, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x65,
  500. 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76,
  501. 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
  502. 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x54, 0x72, 0x61,
  503. 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, 0x74, 0x72,
  504. 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12,
  505. 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65,
  506. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
  507. 0x54, 0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x11, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
  508. 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
  509. 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  510. 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53,
  511. 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x54, 0x0a, 0x0f, 0x73, 0x6f, 0x63, 0x6b, 0x65,
  512. 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
  513. 0x32, 0x2b, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72,
  514. 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74,
  515. 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x73,
  516. 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x51, 0x0a,
  517. 0x0b, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a, 0x03,
  518. 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x30,
  519. 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x61, 0x79, 0x65, 0x72,
  520. 0x50, 0x72, 0x6f, 0x78, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x74, 0x72, 0x61,
  521. 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x78, 0x79,
  522. 0x22, 0xf1, 0x05, 0x0a, 0x0c, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69,
  523. 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
  524. 0x04, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x4e, 0x0a, 0x03, 0x74, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01,
  525. 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
  526. 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
  527. 0x65, 0x74, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
  528. 0x54, 0x43, 0x50, 0x46, 0x61, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65,
  529. 0x52, 0x03, 0x74, 0x66, 0x6f, 0x12, 0x4e, 0x0a, 0x06, 0x74, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x18,
  530. 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  531. 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74,
  532. 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66,
  533. 0x69, 0x67, 0x2e, 0x54, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x06, 0x74,
  534. 0x70, 0x72, 0x6f, 0x78, 0x79, 0x12, 0x41, 0x0a, 0x1d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
  535. 0x5f, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x61,
  536. 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x72, 0x65,
  537. 0x63, 0x65, 0x69, 0x76, 0x65, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x44, 0x65, 0x73,
  538. 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x69, 0x6e, 0x64,
  539. 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b,
  540. 0x62, 0x69, 0x6e, 0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62,
  541. 0x69, 0x6e, 0x64, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08,
  542. 0x62, 0x69, 0x6e, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x61, 0x63, 0x63, 0x65,
  543. 0x70, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
  544. 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x50,
  545. 0x72, 0x6f, 0x78, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x35, 0x0a, 0x17,
  546. 0x74, 0x63, 0x70, 0x5f, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x5f, 0x69,
  547. 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x74,
  548. 0x63, 0x70, 0x4b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72,
  549. 0x76, 0x61, 0x6c, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x66, 0x6f, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65,
  550. 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74,
  551. 0x66, 0x6f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x2d, 0x0a,
  552. 0x13, 0x74, 0x63, 0x70, 0x5f, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x5f,
  553. 0x69, 0x64, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x74, 0x63, 0x70, 0x4b,
  554. 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x49, 0x64, 0x6c, 0x65, 0x12, 0x24, 0x0a, 0x0e,
  555. 0x62, 0x69, 0x6e, 0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x0b,
  556. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x69, 0x6e, 0x64, 0x54, 0x6f, 0x44, 0x65, 0x76, 0x69,
  557. 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x12, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x72, 0x78, 0x5f,
  558. 0x62, 0x75, 0x66, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f,
  559. 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x78, 0x42, 0x75, 0x66, 0x53, 0x69, 0x7a, 0x65, 0x12,
  560. 0x2b, 0x0a, 0x12, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x74, 0x78, 0x5f, 0x62, 0x75, 0x66,
  561. 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x73, 0x6f, 0x63,
  562. 0x6b, 0x65, 0x74, 0x54, 0x78, 0x42, 0x75, 0x66, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x35, 0x0a, 0x10,
  563. 0x54, 0x43, 0x50, 0x46, 0x61, 0x73, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65,
  564. 0x12, 0x08, 0x0a, 0x04, 0x41, 0x73, 0x49, 0x73, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x6e,
  565. 0x61, 0x62, 0x6c, 0x65, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c,
  566. 0x65, 0x10, 0x02, 0x22, 0x2f, 0x0a, 0x0a, 0x54, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x4d, 0x6f, 0x64,
  567. 0x65, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x66, 0x66, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x50,
  568. 0x72, 0x6f, 0x78, 0x79, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65,
  569. 0x63, 0x74, 0x10, 0x02, 0x2a, 0x5a, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
  570. 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x43, 0x50,
  571. 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x44, 0x50, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4d,
  572. 0x4b, 0x43, 0x50, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x57, 0x65, 0x62, 0x53, 0x6f, 0x63, 0x6b,
  573. 0x65, 0x74, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10, 0x04, 0x12, 0x10,
  574. 0x0a, 0x0c, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x10, 0x05,
  575. 0x42, 0x78, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  576. 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74,
  577. 0x65, 0x72, 0x6e, 0x65, 0x74, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
  578. 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d,
  579. 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
  580. 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0xaa, 0x02, 0x1d, 0x56, 0x32, 0x52,
  581. 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72,
  582. 0x74, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
  583. 0x6f, 0x33,
  584. }
  585. var (
  586. file_transport_internet_config_proto_rawDescOnce sync.Once
  587. file_transport_internet_config_proto_rawDescData = file_transport_internet_config_proto_rawDesc
  588. )
  589. func file_transport_internet_config_proto_rawDescGZIP() []byte {
  590. file_transport_internet_config_proto_rawDescOnce.Do(func() {
  591. file_transport_internet_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_config_proto_rawDescData)
  592. })
  593. return file_transport_internet_config_proto_rawDescData
  594. }
  595. var file_transport_internet_config_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
  596. var file_transport_internet_config_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  597. var file_transport_internet_config_proto_goTypes = []interface{}{
  598. (TransportProtocol)(0), // 0: v2ray.core.transport.internet.TransportProtocol
  599. (SocketConfig_TCPFastOpenState)(0), // 1: v2ray.core.transport.internet.SocketConfig.TCPFastOpenState
  600. (SocketConfig_TProxyMode)(0), // 2: v2ray.core.transport.internet.SocketConfig.TProxyMode
  601. (*TransportConfig)(nil), // 3: v2ray.core.transport.internet.TransportConfig
  602. (*StreamConfig)(nil), // 4: v2ray.core.transport.internet.StreamConfig
  603. (*ProxyConfig)(nil), // 5: v2ray.core.transport.internet.ProxyConfig
  604. (*SocketConfig)(nil), // 6: v2ray.core.transport.internet.SocketConfig
  605. (*anypb.Any)(nil), // 7: google.protobuf.Any
  606. }
  607. var file_transport_internet_config_proto_depIdxs = []int32{
  608. 0, // 0: v2ray.core.transport.internet.TransportConfig.protocol:type_name -> v2ray.core.transport.internet.TransportProtocol
  609. 7, // 1: v2ray.core.transport.internet.TransportConfig.settings:type_name -> google.protobuf.Any
  610. 0, // 2: v2ray.core.transport.internet.StreamConfig.protocol:type_name -> v2ray.core.transport.internet.TransportProtocol
  611. 3, // 3: v2ray.core.transport.internet.StreamConfig.transport_settings:type_name -> v2ray.core.transport.internet.TransportConfig
  612. 7, // 4: v2ray.core.transport.internet.StreamConfig.security_settings:type_name -> google.protobuf.Any
  613. 6, // 5: v2ray.core.transport.internet.StreamConfig.socket_settings:type_name -> v2ray.core.transport.internet.SocketConfig
  614. 1, // 6: v2ray.core.transport.internet.SocketConfig.tfo:type_name -> v2ray.core.transport.internet.SocketConfig.TCPFastOpenState
  615. 2, // 7: v2ray.core.transport.internet.SocketConfig.tproxy:type_name -> v2ray.core.transport.internet.SocketConfig.TProxyMode
  616. 8, // [8:8] is the sub-list for method output_type
  617. 8, // [8:8] is the sub-list for method input_type
  618. 8, // [8:8] is the sub-list for extension type_name
  619. 8, // [8:8] is the sub-list for extension extendee
  620. 0, // [0:8] is the sub-list for field type_name
  621. }
  622. func init() { file_transport_internet_config_proto_init() }
  623. func file_transport_internet_config_proto_init() {
  624. if File_transport_internet_config_proto != nil {
  625. return
  626. }
  627. if !protoimpl.UnsafeEnabled {
  628. file_transport_internet_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  629. switch v := v.(*TransportConfig); i {
  630. case 0:
  631. return &v.state
  632. case 1:
  633. return &v.sizeCache
  634. case 2:
  635. return &v.unknownFields
  636. default:
  637. return nil
  638. }
  639. }
  640. file_transport_internet_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  641. switch v := v.(*StreamConfig); i {
  642. case 0:
  643. return &v.state
  644. case 1:
  645. return &v.sizeCache
  646. case 2:
  647. return &v.unknownFields
  648. default:
  649. return nil
  650. }
  651. }
  652. file_transport_internet_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  653. switch v := v.(*ProxyConfig); i {
  654. case 0:
  655. return &v.state
  656. case 1:
  657. return &v.sizeCache
  658. case 2:
  659. return &v.unknownFields
  660. default:
  661. return nil
  662. }
  663. }
  664. file_transport_internet_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  665. switch v := v.(*SocketConfig); i {
  666. case 0:
  667. return &v.state
  668. case 1:
  669. return &v.sizeCache
  670. case 2:
  671. return &v.unknownFields
  672. default:
  673. return nil
  674. }
  675. }
  676. }
  677. type x struct{}
  678. out := protoimpl.TypeBuilder{
  679. File: protoimpl.DescBuilder{
  680. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  681. RawDescriptor: file_transport_internet_config_proto_rawDesc,
  682. NumEnums: 3,
  683. NumMessages: 4,
  684. NumExtensions: 0,
  685. NumServices: 0,
  686. },
  687. GoTypes: file_transport_internet_config_proto_goTypes,
  688. DependencyIndexes: file_transport_internet_config_proto_depIdxs,
  689. EnumInfos: file_transport_internet_config_proto_enumTypes,
  690. MessageInfos: file_transport_internet_config_proto_msgTypes,
  691. }.Build()
  692. File_transport_internet_config_proto = out.File
  693. file_transport_internet_config_proto_rawDesc = nil
  694. file_transport_internet_config_proto_goTypes = nil
  695. file_transport_internet_config_proto_depIdxs = nil
  696. }