mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-05-01 01:44:15 +00:00
v1.0.0
This commit is contained in:
parent
47d23e9972
commit
c7f7c08ead
711 changed files with 82154 additions and 2 deletions
61
transport/internet/kcp/config.proto
Normal file
61
transport/internet/kcp/config.proto
Normal file
|
@ -0,0 +1,61 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package xray.transport.internet.kcp;
|
||||
option csharp_namespace = "Xray.Transport.Internet.Kcp";
|
||||
option go_package = "github.com/xtls/xray-core/v1/transport/internet/kcp";
|
||||
option java_package = "com.xray.transport.internet.kcp";
|
||||
option java_multiple_files = true;
|
||||
|
||||
import "common/serial/typed_message.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 ConnectionReuse {
|
||||
bool enable = 1;
|
||||
}
|
||||
|
||||
// Maximum Transmission Unit, in bytes.
|
||||
message EncryptionSeed {
|
||||
string seed = 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;
|
||||
xray.common.serial.TypedMessage header_config = 8;
|
||||
reserved 9;
|
||||
EncryptionSeed seed = 10;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue