1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-27 06:16:09 -04:00

kcp v5 config register

This commit is contained in:
Shelikhoo 2021-10-10 15:00:17 +01:00
parent ee185a5824
commit e0cec7f3f6
No known key found for this signature in database
GPG Key ID: AA7BC347968E7DB1

View File

@ -8,6 +8,8 @@ option java_multiple_files = true;
import "google/protobuf/any.proto";
import "common/protoext/extensions.proto";
// Maximum Transmission Unit, in bytes.
message MTU {
uint32 value = 1;
@ -48,6 +50,11 @@ message EncryptionSeed {
}
message Config {
option (v2ray.core.common.protoext.message_opt).type = "transport";
option (v2ray.core.common.protoext.message_opt).short_name = "kcp";
option (v2ray.core.common.protoext.message_opt).transport_original_name = "mkcp";
MTU mtu = 1;
TTI tti = 2;
UplinkCapacity uplink_capacity = 3;