1
0
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:
Shelikhoo 2022-02-13 14:47:42 +00:00 committed by Xiaokang Wang (Shelikhoo)
parent 0ae6c7119e
commit 86f64c031a
3 changed files with 37 additions and 0 deletions

View 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;
}

View 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
View 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