mirror of https://github.com/v2ray/v2ray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
978 B
49 lines
978 B
syntax = "proto3";
|
|
|
|
package v2ray.core.transport.internet.kcp;
|
|
option go_package = "kcp";
|
|
option java_package = "com.v2ray.core.transport.internet.kcp";
|
|
option java_outer_classname = "ConfigProto";
|
|
|
|
import "v2ray.com/core/common/loader/type.proto";
|
|
|
|
// Maximum Transmission Unit, in bytes.
|
|
message MTU {
|
|
uint32 value = 1;
|
|
}
|
|
|
|
// Transmission Time Interview, in milli-sec.
|
|
message TTI {
|
|
uint32 value = 1;
|
|
}
|
|
|
|
// Uplink capacity, in MB.
|
|
message UplinkCapacity {
|
|
uint32 value = 1;
|
|
}
|
|
|
|
// Downlink capacity, in MB.
|
|
message DownlinkCapacity {
|
|
uint32 value = 1;
|
|
}
|
|
|
|
message WriteBuffer {
|
|
// Buffer size in bytes.
|
|
uint32 size = 1;
|
|
}
|
|
|
|
message ReadBuffer {
|
|
// Buffer size in bytes.
|
|
uint32 size = 1;
|
|
}
|
|
|
|
message Config {
|
|
MTU mtu = 1;
|
|
TTI tti = 2;
|
|
UplinkCapacity uplink_capacity = 3;
|
|
DownlinkCapacity downlink_capacity = 4;
|
|
bool congestion = 5;
|
|
WriteBuffer write_buffer = 6;
|
|
ReadBuffer read_buffer = 7;
|
|
v2ray.core.common.loader.TypedSettings header_config = 8;
|
|
} |