| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203 | // Code generated by protoc-gen-go.// source: v2ray.com/core/transport/internet/kcp/config.proto// DO NOT EDIT!/*Package kcp is a generated protocol buffer package.It is generated from these files:	v2ray.com/core/transport/internet/kcp/config.protoIt has these top-level messages:	MTU	TTI	UplinkCapacity	DownlinkCapacity	WriteBuffer	ReadBuffer	Config*/package kcpimport proto "github.com/golang/protobuf/proto"import fmt "fmt"import math "math"import v2ray_core_transport_internet "v2ray.com/core/transport/internet"// Reference imports to suppress errors if they are not otherwise used.var _ = proto.Marshalvar _ = fmt.Errorfvar _ = math.Inf// This is a compile-time assertion to ensure that this generated file// is compatible with the proto package it is being compiled against.// A compilation error at this line likely means your copy of the// proto package needs to be updated.const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package// Maximum Transmission Unit, in bytes.type MTU struct {	Value uint32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`}func (m *MTU) Reset()                    { *m = MTU{} }func (m *MTU) String() string            { return proto.CompactTextString(m) }func (*MTU) ProtoMessage()               {}func (*MTU) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }// Transmission Time Interview, in milli-sec.type TTI struct {	Value uint32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`}func (m *TTI) Reset()                    { *m = TTI{} }func (m *TTI) String() string            { return proto.CompactTextString(m) }func (*TTI) ProtoMessage()               {}func (*TTI) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }// Uplink capacity, in MB.type UplinkCapacity struct {	Value uint32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`}func (m *UplinkCapacity) Reset()                    { *m = UplinkCapacity{} }func (m *UplinkCapacity) String() string            { return proto.CompactTextString(m) }func (*UplinkCapacity) ProtoMessage()               {}func (*UplinkCapacity) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }// Downlink capacity, in MB.type DownlinkCapacity struct {	Value uint32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`}func (m *DownlinkCapacity) Reset()                    { *m = DownlinkCapacity{} }func (m *DownlinkCapacity) String() string            { return proto.CompactTextString(m) }func (*DownlinkCapacity) ProtoMessage()               {}func (*DownlinkCapacity) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }type WriteBuffer struct {	// Buffer size in bytes.	Size uint32 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"`}func (m *WriteBuffer) Reset()                    { *m = WriteBuffer{} }func (m *WriteBuffer) String() string            { return proto.CompactTextString(m) }func (*WriteBuffer) ProtoMessage()               {}func (*WriteBuffer) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }type ReadBuffer struct {	// Buffer size in bytes.	Size uint32 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"`}func (m *ReadBuffer) Reset()                    { *m = ReadBuffer{} }func (m *ReadBuffer) String() string            { return proto.CompactTextString(m) }func (*ReadBuffer) ProtoMessage()               {}func (*ReadBuffer) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }type Config struct {	Mtu              *MTU                                               `protobuf:"bytes,1,opt,name=mtu" json:"mtu,omitempty"`	Tti              *TTI                                               `protobuf:"bytes,2,opt,name=tti" json:"tti,omitempty"`	UplinkCapacity   *UplinkCapacity                                    `protobuf:"bytes,3,opt,name=uplink_capacity,json=uplinkCapacity" json:"uplink_capacity,omitempty"`	DownlinkCapacity *DownlinkCapacity                                  `protobuf:"bytes,4,opt,name=downlink_capacity,json=downlinkCapacity" json:"downlink_capacity,omitempty"`	Congestion       bool                                               `protobuf:"varint,5,opt,name=congestion" json:"congestion,omitempty"`	WriteBuffer      *WriteBuffer                                       `protobuf:"bytes,6,opt,name=write_buffer,json=writeBuffer" json:"write_buffer,omitempty"`	ReadBuffer       *ReadBuffer                                        `protobuf:"bytes,7,opt,name=read_buffer,json=readBuffer" json:"read_buffer,omitempty"`	HeaderConfig     *v2ray_core_transport_internet.AuthenticatorConfig `protobuf:"bytes,8,opt,name=header_config,json=headerConfig" json:"header_config,omitempty"`}func (m *Config) Reset()                    { *m = Config{} }func (m *Config) String() string            { return proto.CompactTextString(m) }func (*Config) ProtoMessage()               {}func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }func (m *Config) GetMtu() *MTU {	if m != nil {		return m.Mtu	}	return nil}func (m *Config) GetTti() *TTI {	if m != nil {		return m.Tti	}	return nil}func (m *Config) GetUplinkCapacity() *UplinkCapacity {	if m != nil {		return m.UplinkCapacity	}	return nil}func (m *Config) GetDownlinkCapacity() *DownlinkCapacity {	if m != nil {		return m.DownlinkCapacity	}	return nil}func (m *Config) GetWriteBuffer() *WriteBuffer {	if m != nil {		return m.WriteBuffer	}	return nil}func (m *Config) GetReadBuffer() *ReadBuffer {	if m != nil {		return m.ReadBuffer	}	return nil}func (m *Config) GetHeaderConfig() *v2ray_core_transport_internet.AuthenticatorConfig {	if m != nil {		return m.HeaderConfig	}	return nil}func init() {	proto.RegisterType((*MTU)(nil), "v2ray.core.transport.internet.kcp.MTU")	proto.RegisterType((*TTI)(nil), "v2ray.core.transport.internet.kcp.TTI")	proto.RegisterType((*UplinkCapacity)(nil), "v2ray.core.transport.internet.kcp.UplinkCapacity")	proto.RegisterType((*DownlinkCapacity)(nil), "v2ray.core.transport.internet.kcp.DownlinkCapacity")	proto.RegisterType((*WriteBuffer)(nil), "v2ray.core.transport.internet.kcp.WriteBuffer")	proto.RegisterType((*ReadBuffer)(nil), "v2ray.core.transport.internet.kcp.ReadBuffer")	proto.RegisterType((*Config)(nil), "v2ray.core.transport.internet.kcp.Config")}func init() { proto.RegisterFile("v2ray.com/core/transport/internet/kcp/config.proto", fileDescriptor0) }var fileDescriptor0 = []byte{	// 411 bytes of a gzipped FileDescriptorProto	0x1f, 0x8b, 0x08, 0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