mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 09:36:34 -05:00
Add UDP VLite protobuf config
This commit is contained in:
parent
0ae6c7119e
commit
86f64c031a
14
proxy/vlite/inbound/config.proto
Normal file
14
proxy/vlite/inbound/config.proto
Normal file
@ -0,0 +1,14 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package v2ray.core.proxy.vlite.inbound;
|
||||
option csharp_namespace = "V2Ray.Core.Proxy.Vlite.Inbound";
|
||||
option go_package = "github.com/v2fly/v2ray-core/v5/proxy/vlite/inbound";
|
||||
option java_package = "com.v2ray.core.proxy.vlite.inbound";
|
||||
option java_multiple_files = true;
|
||||
|
||||
message UDPProtocolConfig {
|
||||
string password = 3;
|
||||
bool scramble_packet = 4;
|
||||
bool enable_fec = 5;
|
||||
bool enable_stabilization = 6;
|
||||
}
|
19
proxy/vlite/outbound/config.proto
Normal file
19
proxy/vlite/outbound/config.proto
Normal file
@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package v2ray.core.proxy.vlite.outbound;
|
||||
option csharp_namespace = "V2Ray.Core.Proxy.Vlite.Outbound";
|
||||
option go_package = "github.com/v2fly/v2ray-core/v5/proxy/vlite/outbound";
|
||||
option java_package = "com.v2ray.core.proxy.vlite.outbound";
|
||||
option java_multiple_files = true;
|
||||
|
||||
import "common/net/address.proto";
|
||||
|
||||
message UDPProtocolConfig {
|
||||
v2ray.core.common.net.IPOrDomain address = 1;
|
||||
uint32 port = 2;
|
||||
|
||||
string password = 3;
|
||||
bool scramble_packet = 4;
|
||||
bool enable_fec = 5;
|
||||
bool enable_stabilization = 6;
|
||||
}
|
4
proxy/vlite/vlite.go
Normal file
4
proxy/vlite/vlite.go
Normal file
@ -0,0 +1,4 @@
|
||||
// Package vlite contains the integration code for VLite protocol variety
|
||||
//
|
||||
// VLite is currently an experimental protocol, its stability is not guaranteed.
|
||||
package vlite
|
Loading…
Reference in New Issue
Block a user