config.pb.go 31 KB

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