Documentation ¶
Index ¶
- Constants
- Variables
- type AckBlock
- type AckInfo
- type CloseInfo
- func (*CloseInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CloseInfo) GetCloseType() CloseType
- func (x *CloseInfo) GetErrorCode() uint32
- func (x *CloseInfo) GetReasonPhrase() string
- func (x *CloseInfo) GetTransportCloseFrameType() uint64
- func (*CloseInfo) ProtoMessage()
- func (x *CloseInfo) ProtoReflect() protoreflect.Message
- func (x *CloseInfo) Reset()
- func (x *CloseInfo) String() string
- type CloseType
- func (CloseType) Descriptor() protoreflect.EnumDescriptor
- func (x CloseType) Enum() *CloseType
- func (CloseType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CloseType) Number() protoreflect.EnumNumber
- func (x CloseType) String() string
- func (CloseType) Type() protoreflect.EnumType
- func (x *CloseType) UnmarshalJSON(b []byte) errordeprecated
- type CryptoFrameInfo
- func (*CryptoFrameInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CryptoFrameInfo) GetLength() uint64
- func (x *CryptoFrameInfo) GetOffset() uint64
- func (*CryptoFrameInfo) ProtoMessage()
- func (x *CryptoFrameInfo) ProtoReflect() protoreflect.Message
- func (x *CryptoFrameInfo) Reset()
- func (x *CryptoFrameInfo) String() string
- type EncryptionLevel
- func (EncryptionLevel) Descriptor() protoreflect.EnumDescriptor
- func (x EncryptionLevel) Enum() *EncryptionLevel
- func (EncryptionLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x EncryptionLevel) Number() protoreflect.EnumNumber
- func (x EncryptionLevel) String() string
- func (EncryptionLevel) Type() protoreflect.EnumType
- func (x *EncryptionLevel) UnmarshalJSON(b []byte) errordeprecated
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetEncryptionLevel() EncryptionLevel
- func (x *Event) GetEventType() EventType
- func (x *Event) GetExternalNetworkParameters() *ExternalNetworkParameters
- func (x *Event) GetFrames() []*Frame
- func (x *Event) GetPacketNumber() uint64
- func (x *Event) GetPacketSize() uint64
- func (x *Event) GetTimeUs() uint64
- func (x *Event) GetTransmissionReason() TransmissionReason
- func (x *Event) GetTransportState() *TransportState
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventType
- func (EventType) Descriptor() protoreflect.EnumDescriptor
- func (x EventType) Enum() *EventType
- func (EventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x EventType) Number() protoreflect.EnumNumber
- func (x EventType) String() string
- func (EventType) Type() protoreflect.EnumType
- func (x *EventType) UnmarshalJSON(b []byte) errordeprecated
- type ExternalNetworkParameters
- func (*ExternalNetworkParameters) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalNetworkParameters) GetBandwidthBps() uint64
- func (x *ExternalNetworkParameters) GetCwndBytes() uint64
- func (x *ExternalNetworkParameters) GetRttUs() uint64
- func (*ExternalNetworkParameters) ProtoMessage()
- func (x *ExternalNetworkParameters) ProtoReflect() protoreflect.Message
- func (x *ExternalNetworkParameters) Reset()
- func (x *ExternalNetworkParameters) String() string
- type FlowControlInfo
- func (*FlowControlInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FlowControlInfo) GetMaxData() uint64
- func (x *FlowControlInfo) GetStreamId() uint64
- func (*FlowControlInfo) ProtoMessage()
- func (x *FlowControlInfo) ProtoReflect() protoreflect.Message
- func (x *FlowControlInfo) Reset()
- func (x *FlowControlInfo) String() string
- type Frame
- func (*Frame) Descriptor() ([]byte, []int)deprecated
- func (x *Frame) GetAckInfo() *AckInfo
- func (x *Frame) GetCloseInfo() *CloseInfo
- func (x *Frame) GetCryptoFrameInfo() *CryptoFrameInfo
- func (x *Frame) GetFlowControlInfo() *FlowControlInfo
- func (x *Frame) GetFrameType() FrameType
- func (x *Frame) GetResetStreamInfo() *ResetStreamInfo
- func (x *Frame) GetStreamFrameInfo() *StreamFrameInfo
- func (*Frame) ProtoMessage()
- func (x *Frame) ProtoReflect() protoreflect.Message
- func (x *Frame) Reset()
- func (x *Frame) String() string
- type FrameType
- func (FrameType) Descriptor() protoreflect.EnumDescriptor
- func (x FrameType) Enum() *FrameType
- func (FrameType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FrameType) Number() protoreflect.EnumNumber
- func (x FrameType) String() string
- func (FrameType) Type() protoreflect.EnumType
- func (x *FrameType) UnmarshalJSON(b []byte) errordeprecated
- type ResetStreamInfo
- func (*ResetStreamInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ResetStreamInfo) GetApplicationErrorCode() uint32
- func (x *ResetStreamInfo) GetFinalOffset() uint64
- func (x *ResetStreamInfo) GetStreamId() uint64
- func (*ResetStreamInfo) ProtoMessage()
- func (x *ResetStreamInfo) ProtoReflect() protoreflect.Message
- func (x *ResetStreamInfo) Reset()
- func (x *ResetStreamInfo) String() string
- type StreamFrameInfo
- func (*StreamFrameInfo) Descriptor() ([]byte, []int)deprecated
- func (x *StreamFrameInfo) GetFin() bool
- func (x *StreamFrameInfo) GetLength() uint64
- func (x *StreamFrameInfo) GetOffset() uint64
- func (x *StreamFrameInfo) GetStreamId() uint64
- func (*StreamFrameInfo) ProtoMessage()
- func (x *StreamFrameInfo) ProtoReflect() protoreflect.Message
- func (x *StreamFrameInfo) Reset()
- func (x *StreamFrameInfo) String() string
- type Trace
- func (*Trace) Descriptor() ([]byte, []int)deprecated
- func (x *Trace) GetDestinationConnectionId() []byte
- func (x *Trace) GetEvents() []*Event
- func (x *Trace) GetProtocolVersion() []byte
- func (x *Trace) GetSourceConnectionId() []byte
- func (*Trace) ProtoMessage()
- func (x *Trace) ProtoReflect() protoreflect.Message
- func (x *Trace) Reset()
- func (x *Trace) String() string
- type TransmissionReason
- func (TransmissionReason) Descriptor() protoreflect.EnumDescriptor
- func (x TransmissionReason) Enum() *TransmissionReason
- func (TransmissionReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransmissionReason) Number() protoreflect.EnumNumber
- func (x TransmissionReason) String() string
- func (TransmissionReason) Type() protoreflect.EnumType
- func (x *TransmissionReason) UnmarshalJSON(b []byte) errordeprecated
- type TransportState
- func (*TransportState) Descriptor() ([]byte, []int)deprecated
- func (x *TransportState) GetCongestionControlState() string
- func (x *TransportState) GetCwndBytes() uint64
- func (x *TransportState) GetInFlightBytes() uint64
- func (x *TransportState) GetLastRttUs() uint64
- func (x *TransportState) GetMinRttUs() uint64
- func (x *TransportState) GetPacingRateBps() uint64
- func (x *TransportState) GetSmoothedRttUs() uint64
- func (*TransportState) ProtoMessage()
- func (x *TransportState) ProtoReflect() protoreflect.Message
- func (x *TransportState) Reset()
- func (x *TransportState) String() string
Constants ¶
const (
Default_Event_TransmissionReason = TransmissionReason_NORMAL_TRANSMISSION
)
Default values for Event fields.
Variables ¶
var ( FrameType_name = map[int32]string{ 0: "UNKNOWN_FRAME", 1: "STREAM", 2: "ACK", 3: "RESET_STREAM", 4: "CONNECTION_CLOSE", 5: "MAX_DATA", 6: "MAX_STREAM_DATA", 7: "PING", 8: "BLOCKED", 9: "STREAM_BLOCKED", 10: "PADDING", 11: "CRYPTO", } FrameType_value = map[string]int32{ "UNKNOWN_FRAME": 0, "STREAM": 1, "ACK": 2, "RESET_STREAM": 3, "CONNECTION_CLOSE": 4, "MAX_DATA": 5, "MAX_STREAM_DATA": 6, "PING": 7, "BLOCKED": 8, "STREAM_BLOCKED": 9, "PADDING": 10, "CRYPTO": 11, } )
Enum value maps for FrameType.
var ( CloseType_name = map[int32]string{ 0: "GOOGLE_QUIC_CONNECTION_CLOSE", 1: "IETF_QUIC_TRANSPORT_CONNECTION_CLOSE", 2: "IETF_QUIC_APPLICATION_CONNECTION_CLOSE", } CloseType_value = map[string]int32{ "GOOGLE_QUIC_CONNECTION_CLOSE": 0, "IETF_QUIC_TRANSPORT_CONNECTION_CLOSE": 1, "IETF_QUIC_APPLICATION_CONNECTION_CLOSE": 2, } )
Enum value maps for CloseType.
var ( EncryptionLevel_name = map[int32]string{ 0: "ENCRYPTION_UNKNOWN", 1: "ENCRYPTION_INITIAL", 2: "ENCRYPTION_0RTT", 3: "ENCRYPTION_1RTT", 4: "ENCRYPTION_HANDSHAKE", } EncryptionLevel_value = map[string]int32{ "ENCRYPTION_UNKNOWN": 0, "ENCRYPTION_INITIAL": 1, "ENCRYPTION_0RTT": 2, "ENCRYPTION_1RTT": 3, "ENCRYPTION_HANDSHAKE": 4, } )
Enum value maps for EncryptionLevel.
var ( EventType_name = map[int32]string{ 0: "UNKNOWN_EVENT", 1: "PACKET_SENT", 2: "PACKET_RECEIVED", 3: "PACKET_LOST", 4: "APPLICATION_LIMITED", 5: "EXTERNAL_PARAMETERS", } EventType_value = map[string]int32{ "UNKNOWN_EVENT": 0, "PACKET_SENT": 1, "PACKET_RECEIVED": 2, "PACKET_LOST": 3, "APPLICATION_LIMITED": 4, "EXTERNAL_PARAMETERS": 5, } )
Enum value maps for EventType.
var ( TransmissionReason_name = map[int32]string{ 0: "NORMAL_TRANSMISSION", 1: "TAIL_LOSS_PROBE", 2: "RTO_TRANSMISSION", 3: "PROBING_TRANSMISSION", } TransmissionReason_value = map[string]int32{ "NORMAL_TRANSMISSION": 0, "TAIL_LOSS_PROBE": 1, "RTO_TRANSMISSION": 2, "PROBING_TRANSMISSION": 3, } )
Enum value maps for TransmissionReason.
var File_quic_trace_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AckBlock ¶
type AckBlock struct { FirstPacket *uint64 `protobuf:"varint,1,opt,name=first_packet,json=firstPacket" json:"first_packet,omitempty"` LastPacket *uint64 `protobuf:"varint,2,opt,name=last_packet,json=lastPacket" json:"last_packet,omitempty"` // contains filtered or unexported fields }
The intervals are closed, i.e. the interval represented here is [first_packet, last_packet].
func (*AckBlock) Descriptor
deprecated
func (*AckBlock) GetFirstPacket ¶
func (*AckBlock) GetLastPacket ¶
func (*AckBlock) ProtoMessage ¶
func (*AckBlock) ProtoMessage()
func (*AckBlock) ProtoReflect ¶ added in v0.15.8
func (x *AckBlock) ProtoReflect() protoreflect.Message
type AckInfo ¶
type AckInfo struct { AckedPackets []*AckBlock `protobuf:"bytes,1,rep,name=acked_packets,json=ackedPackets" json:"acked_packets,omitempty"` AckDelayUs *uint64 `protobuf:"varint,2,opt,name=ack_delay_us,json=ackDelayUs" json:"ack_delay_us,omitempty"` // contains filtered or unexported fields }
Metadata for ACK frames.
func (*AckInfo) Descriptor
deprecated
func (*AckInfo) GetAckDelayUs ¶
func (*AckInfo) GetAckedPackets ¶
func (*AckInfo) ProtoMessage ¶
func (*AckInfo) ProtoMessage()
func (*AckInfo) ProtoReflect ¶ added in v0.15.8
func (x *AckInfo) ProtoReflect() protoreflect.Message
type CloseInfo ¶
type CloseInfo struct { ErrorCode *uint32 `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"` ReasonPhrase *string `protobuf:"bytes,2,opt,name=reason_phrase,json=reasonPhrase" json:"reason_phrase,omitempty"` CloseType *CloseType `protobuf:"varint,3,opt,name=close_type,json=closeType,enum=pb.CloseType" json:"close_type,omitempty"` TransportCloseFrameType *uint64 `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
Metadata for CONNECTION_CLOSE/APPLICATION_CLOSE frames.
func (*CloseInfo) Descriptor
deprecated
func (*CloseInfo) GetCloseType ¶
func (*CloseInfo) GetErrorCode ¶
func (*CloseInfo) GetReasonPhrase ¶
func (*CloseInfo) GetTransportCloseFrameType ¶
func (*CloseInfo) ProtoMessage ¶
func (*CloseInfo) ProtoMessage()
func (*CloseInfo) ProtoReflect ¶ added in v0.15.8
func (x *CloseInfo) ProtoReflect() protoreflect.Message
type CloseType ¶
type CloseType int32
Metadata for CONNECTION_CLOSE frames. Close_type will indicate whether the close is a Google QUIC close, IETF QUIC Transport CONNECTION CLOSE, or IETF QUIC Application Connection Close, frame.
func (CloseType) Descriptor ¶ added in v0.15.8
func (CloseType) Descriptor() protoreflect.EnumDescriptor
func (CloseType) EnumDescriptor
deprecated
func (CloseType) Number ¶ added in v0.15.8
func (x CloseType) Number() protoreflect.EnumNumber
func (CloseType) Type ¶ added in v0.15.8
func (CloseType) Type() protoreflect.EnumType
func (*CloseType) UnmarshalJSON
deprecated
type CryptoFrameInfo ¶
type CryptoFrameInfo struct { Length *uint64 `protobuf:"varint,1,opt,name=length" json:"length,omitempty"` Offset *uint64 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"` // contains filtered or unexported fields }
Metadata for CRYPTO frames.
func (*CryptoFrameInfo) Descriptor
deprecated
func (*CryptoFrameInfo) Descriptor() ([]byte, []int)
Deprecated: Use CryptoFrameInfo.ProtoReflect.Descriptor instead.
func (*CryptoFrameInfo) GetLength ¶
func (x *CryptoFrameInfo) GetLength() uint64
func (*CryptoFrameInfo) GetOffset ¶
func (x *CryptoFrameInfo) GetOffset() uint64
func (*CryptoFrameInfo) ProtoMessage ¶
func (*CryptoFrameInfo) ProtoMessage()
func (*CryptoFrameInfo) ProtoReflect ¶ added in v0.15.8
func (x *CryptoFrameInfo) ProtoReflect() protoreflect.Message
func (*CryptoFrameInfo) Reset ¶
func (x *CryptoFrameInfo) Reset()
func (*CryptoFrameInfo) String ¶
func (x *CryptoFrameInfo) String() string
type EncryptionLevel ¶
type EncryptionLevel int32
const ( EncryptionLevel_ENCRYPTION_UNKNOWN EncryptionLevel = 0 EncryptionLevel_ENCRYPTION_INITIAL EncryptionLevel = 1 EncryptionLevel_ENCRYPTION_0RTT EncryptionLevel = 2 EncryptionLevel_ENCRYPTION_1RTT EncryptionLevel = 3 EncryptionLevel_ENCRYPTION_HANDSHAKE EncryptionLevel = 4 )
func (EncryptionLevel) Descriptor ¶ added in v0.15.8
func (EncryptionLevel) Descriptor() protoreflect.EnumDescriptor
func (EncryptionLevel) Enum ¶
func (x EncryptionLevel) Enum() *EncryptionLevel
func (EncryptionLevel) EnumDescriptor
deprecated
func (EncryptionLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use EncryptionLevel.Descriptor instead.
func (EncryptionLevel) Number ¶ added in v0.15.8
func (x EncryptionLevel) Number() protoreflect.EnumNumber
func (EncryptionLevel) String ¶
func (x EncryptionLevel) String() string
func (EncryptionLevel) Type ¶ added in v0.15.8
func (EncryptionLevel) Type() protoreflect.EnumType
func (*EncryptionLevel) UnmarshalJSON
deprecated
func (x *EncryptionLevel) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Event ¶
type Event struct { TimeUs *uint64 `protobuf:"varint,1,opt,name=time_us,json=timeUs" json:"time_us,omitempty"` EventType *EventType `protobuf:"varint,2,opt,name=event_type,json=eventType,enum=pb.EventType" json:"event_type,omitempty"` PacketNumber *uint64 `protobuf:"varint,3,opt,name=packet_number,json=packetNumber" json:"packet_number,omitempty"` Frames []*Frame `protobuf:"bytes,4,rep,name=frames" json:"frames,omitempty"` PacketSize *uint64 `protobuf:"varint,5,opt,name=packet_size,json=packetSize" json:"packet_size,omitempty"` EncryptionLevel *EncryptionLevel `protobuf:"varint,6,opt,name=encryption_level,json=encryptionLevel,enum=pb.EncryptionLevel" json:"encryption_level,omitempty"` // State of the transport stack after the event has happened. TransportState *TransportState `protobuf:"bytes,7,opt,name=transport_state,json=transportState" json:"transport_state,omitempty"` // For event_type = EXTERNAL_PARAMETERS, record parameters specified. ExternalNetworkParameters *ExternalNetworkParameters `` /* 131-byte string literal not displayed */ // For sent packets, indicate if there is a special reason for why the packet // in question was transmitted. TransmissionReason *TransmissionReason `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
An event that has occurred over duration of the connection.
func (*Event) Descriptor
deprecated
func (*Event) GetEncryptionLevel ¶
func (x *Event) GetEncryptionLevel() EncryptionLevel
func (*Event) GetEventType ¶
func (*Event) GetExternalNetworkParameters ¶
func (x *Event) GetExternalNetworkParameters() *ExternalNetworkParameters
func (*Event) GetPacketNumber ¶
func (*Event) GetPacketSize ¶
func (*Event) GetTransmissionReason ¶
func (x *Event) GetTransmissionReason() TransmissionReason
func (*Event) GetTransportState ¶
func (x *Event) GetTransportState() *TransportState
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶ added in v0.15.8
func (x *Event) ProtoReflect() protoreflect.Message
type EventType ¶
type EventType int32
const ( EventType_UNKNOWN_EVENT EventType = 0 EventType_PACKET_SENT EventType = 1 EventType_PACKET_RECEIVED EventType = 2 EventType_PACKET_LOST EventType = 3 // An APPLICATION_LIMITED event occurs when the sender is capable of sending // more data and tries to send it, but discovers that it does not have any // outstanding data to send. Such events are important to some congestion // control algorithms (for example, BBR) since they are trying to measure the // largest achievable throughput, but it is impossible to measure it when the // application does not send anything. EventType_APPLICATION_LIMITED EventType = 4 // Record when external information about expected network conditions // (available bandwidth, RTT, congestion window, etc) is supplied to the // sender. EventType_EXTERNAL_PARAMETERS EventType = 5 )
func (EventType) Descriptor ¶ added in v0.15.8
func (EventType) Descriptor() protoreflect.EnumDescriptor
func (EventType) EnumDescriptor
deprecated
func (EventType) Number ¶ added in v0.15.8
func (x EventType) Number() protoreflect.EnumNumber
func (EventType) Type ¶ added in v0.15.8
func (EventType) Type() protoreflect.EnumType
func (*EventType) UnmarshalJSON
deprecated
type ExternalNetworkParameters ¶
type ExternalNetworkParameters struct { BandwidthBps *uint64 `protobuf:"varint,1,opt,name=bandwidth_bps,json=bandwidthBps" json:"bandwidth_bps,omitempty"` // in bits per second RttUs *uint64 `protobuf:"varint,2,opt,name=rtt_us,json=rttUs" json:"rtt_us,omitempty"` CwndBytes *uint64 `protobuf:"varint,3,opt,name=cwnd_bytes,json=cwndBytes" json:"cwnd_bytes,omitempty"` // contains filtered or unexported fields }
Documents external network parameters supplied to the sender. Typically not all of those would be supplied (e.g. if bandwidth and RTT are supplied, you can infer the suggested CWND), but there are no restrictions on which fields may or may not be set.
func (*ExternalNetworkParameters) Descriptor
deprecated
func (*ExternalNetworkParameters) Descriptor() ([]byte, []int)
Deprecated: Use ExternalNetworkParameters.ProtoReflect.Descriptor instead.
func (*ExternalNetworkParameters) GetBandwidthBps ¶
func (x *ExternalNetworkParameters) GetBandwidthBps() uint64
func (*ExternalNetworkParameters) GetCwndBytes ¶
func (x *ExternalNetworkParameters) GetCwndBytes() uint64
func (*ExternalNetworkParameters) GetRttUs ¶
func (x *ExternalNetworkParameters) GetRttUs() uint64
func (*ExternalNetworkParameters) ProtoMessage ¶
func (*ExternalNetworkParameters) ProtoMessage()
func (*ExternalNetworkParameters) ProtoReflect ¶ added in v0.15.8
func (x *ExternalNetworkParameters) ProtoReflect() protoreflect.Message
func (*ExternalNetworkParameters) Reset ¶
func (x *ExternalNetworkParameters) Reset()
func (*ExternalNetworkParameters) String ¶
func (x *ExternalNetworkParameters) String() string
type FlowControlInfo ¶
type FlowControlInfo struct { MaxData *uint64 `protobuf:"varint,1,opt,name=max_data,json=maxData" json:"max_data,omitempty"` StreamId *uint64 `protobuf:"varint,2,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"` // contains filtered or unexported fields }
Metadata for MAX_DATA/MAX_STREAM_DATA frames.
func (*FlowControlInfo) Descriptor
deprecated
func (*FlowControlInfo) Descriptor() ([]byte, []int)
Deprecated: Use FlowControlInfo.ProtoReflect.Descriptor instead.
func (*FlowControlInfo) GetMaxData ¶
func (x *FlowControlInfo) GetMaxData() uint64
func (*FlowControlInfo) GetStreamId ¶
func (x *FlowControlInfo) GetStreamId() uint64
func (*FlowControlInfo) ProtoMessage ¶
func (*FlowControlInfo) ProtoMessage()
func (*FlowControlInfo) ProtoReflect ¶ added in v0.15.8
func (x *FlowControlInfo) ProtoReflect() protoreflect.Message
func (*FlowControlInfo) Reset ¶
func (x *FlowControlInfo) Reset()
func (*FlowControlInfo) String ¶
func (x *FlowControlInfo) String() string
type Frame ¶
type Frame struct { FrameType *FrameType `protobuf:"varint,1,opt,name=frame_type,json=frameType,enum=pb.FrameType" json:"frame_type,omitempty"` StreamFrameInfo *StreamFrameInfo `protobuf:"bytes,2,opt,name=stream_frame_info,json=streamFrameInfo" json:"stream_frame_info,omitempty"` AckInfo *AckInfo `protobuf:"bytes,3,opt,name=ack_info,json=ackInfo" json:"ack_info,omitempty"` ResetStreamInfo *ResetStreamInfo `protobuf:"bytes,4,opt,name=reset_stream_info,json=resetStreamInfo" json:"reset_stream_info,omitempty"` CloseInfo *CloseInfo `protobuf:"bytes,5,opt,name=close_info,json=closeInfo" json:"close_info,omitempty"` FlowControlInfo *FlowControlInfo `protobuf:"bytes,6,opt,name=flow_control_info,json=flowControlInfo" json:"flow_control_info,omitempty"` CryptoFrameInfo *CryptoFrameInfo `protobuf:"bytes,7,opt,name=crypto_frame_info,json=cryptoFrameInfo" json:"crypto_frame_info,omitempty"` // contains filtered or unexported fields }
A message representing a frame, either sent or received.
func (*Frame) Descriptor
deprecated
func (*Frame) GetAckInfo ¶
func (*Frame) GetCloseInfo ¶
func (*Frame) GetCryptoFrameInfo ¶
func (x *Frame) GetCryptoFrameInfo() *CryptoFrameInfo
func (*Frame) GetFlowControlInfo ¶
func (x *Frame) GetFlowControlInfo() *FlowControlInfo
func (*Frame) GetFrameType ¶
func (*Frame) GetResetStreamInfo ¶
func (x *Frame) GetResetStreamInfo() *ResetStreamInfo
func (*Frame) GetStreamFrameInfo ¶
func (x *Frame) GetStreamFrameInfo() *StreamFrameInfo
func (*Frame) ProtoMessage ¶
func (*Frame) ProtoMessage()
func (*Frame) ProtoReflect ¶ added in v0.15.8
func (x *Frame) ProtoReflect() protoreflect.Message
type FrameType ¶
type FrameType int32
const ( FrameType_UNKNOWN_FRAME FrameType = 0 FrameType_STREAM FrameType = 1 FrameType_ACK FrameType = 2 FrameType_RESET_STREAM FrameType = 3 FrameType_CONNECTION_CLOSE FrameType = 4 FrameType_MAX_DATA FrameType = 5 FrameType_MAX_STREAM_DATA FrameType = 6 FrameType_PING FrameType = 7 FrameType_BLOCKED FrameType = 8 FrameType_STREAM_BLOCKED FrameType = 9 FrameType_PADDING FrameType = 10 FrameType_CRYPTO FrameType = 11 )
func (FrameType) Descriptor ¶ added in v0.15.8
func (FrameType) Descriptor() protoreflect.EnumDescriptor
func (FrameType) EnumDescriptor
deprecated
func (FrameType) Number ¶ added in v0.15.8
func (x FrameType) Number() protoreflect.EnumNumber
func (FrameType) Type ¶ added in v0.15.8
func (FrameType) Type() protoreflect.EnumType
func (*FrameType) UnmarshalJSON
deprecated
type ResetStreamInfo ¶
type ResetStreamInfo struct { StreamId *uint64 `protobuf:"varint,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"` ApplicationErrorCode *uint32 `protobuf:"varint,2,opt,name=application_error_code,json=applicationErrorCode" json:"application_error_code,omitempty"` FinalOffset *uint64 `protobuf:"varint,3,opt,name=final_offset,json=finalOffset" json:"final_offset,omitempty"` // contains filtered or unexported fields }
Metadata for RST_STREAM frames.
func (*ResetStreamInfo) Descriptor
deprecated
func (*ResetStreamInfo) Descriptor() ([]byte, []int)
Deprecated: Use ResetStreamInfo.ProtoReflect.Descriptor instead.
func (*ResetStreamInfo) GetApplicationErrorCode ¶
func (x *ResetStreamInfo) GetApplicationErrorCode() uint32
func (*ResetStreamInfo) GetFinalOffset ¶
func (x *ResetStreamInfo) GetFinalOffset() uint64
func (*ResetStreamInfo) GetStreamId ¶
func (x *ResetStreamInfo) GetStreamId() uint64
func (*ResetStreamInfo) ProtoMessage ¶
func (*ResetStreamInfo) ProtoMessage()
func (*ResetStreamInfo) ProtoReflect ¶ added in v0.15.8
func (x *ResetStreamInfo) ProtoReflect() protoreflect.Message
func (*ResetStreamInfo) Reset ¶
func (x *ResetStreamInfo) Reset()
func (*ResetStreamInfo) String ¶
func (x *ResetStreamInfo) String() string
type StreamFrameInfo ¶
type StreamFrameInfo struct { StreamId *uint64 `protobuf:"varint,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"` Fin *bool `protobuf:"varint,2,opt,name=fin" json:"fin,omitempty"` Length *uint64 `protobuf:"varint,3,opt,name=length" json:"length,omitempty"` Offset *uint64 `protobuf:"varint,4,opt,name=offset" json:"offset,omitempty"` // contains filtered or unexported fields }
Metadata for STREAM frames.
func (*StreamFrameInfo) Descriptor
deprecated
func (*StreamFrameInfo) Descriptor() ([]byte, []int)
Deprecated: Use StreamFrameInfo.ProtoReflect.Descriptor instead.
func (*StreamFrameInfo) GetFin ¶
func (x *StreamFrameInfo) GetFin() bool
func (*StreamFrameInfo) GetLength ¶
func (x *StreamFrameInfo) GetLength() uint64
func (*StreamFrameInfo) GetOffset ¶
func (x *StreamFrameInfo) GetOffset() uint64
func (*StreamFrameInfo) GetStreamId ¶
func (x *StreamFrameInfo) GetStreamId() uint64
func (*StreamFrameInfo) ProtoMessage ¶
func (*StreamFrameInfo) ProtoMessage()
func (*StreamFrameInfo) ProtoReflect ¶ added in v0.15.8
func (x *StreamFrameInfo) ProtoReflect() protoreflect.Message
func (*StreamFrameInfo) Reset ¶
func (x *StreamFrameInfo) Reset()
func (*StreamFrameInfo) String ¶
func (x *StreamFrameInfo) String() string
type Trace ¶
type Trace struct { // QUIC version tag, as represented on wire. Should be always 4 bytes long. ProtocolVersion []byte `protobuf:"bytes,1,opt,name=protocol_version,json=protocolVersion" json:"protocol_version,omitempty"` // Source and destination connection ID. If multiple connection IDs are used, // record the first one used with short-form header. SourceConnectionId []byte `protobuf:"bytes,2,opt,name=source_connection_id,json=sourceConnectionId" json:"source_connection_id,omitempty"` DestinationConnectionId []byte `protobuf:"bytes,3,opt,name=destination_connection_id,json=destinationConnectionId" json:"destination_connection_id,omitempty"` Events []*Event `protobuf:"bytes,4,rep,name=events" json:"events,omitempty"` // contains filtered or unexported fields }
func (*Trace) Descriptor
deprecated
func (*Trace) GetDestinationConnectionId ¶
func (*Trace) GetProtocolVersion ¶
func (*Trace) GetSourceConnectionId ¶
func (*Trace) ProtoMessage ¶
func (*Trace) ProtoMessage()
func (*Trace) ProtoReflect ¶ added in v0.15.8
func (x *Trace) ProtoReflect() protoreflect.Message
type TransmissionReason ¶
type TransmissionReason int32
const ( // Indicates that there was not any particular special reason the packet was // sent. TransmissionReason_NORMAL_TRANSMISSION TransmissionReason = 0 // Indicates that the packet sent is a tail loss probe, cf. // https://tools.ietf.org/html/draft-ietf-quic-recovery-14#section-4.3.2 TransmissionReason_TAIL_LOSS_PROBE TransmissionReason = 1 // Indicates that the packet is sent due to retransmission timeout, cf // https://tools.ietf.org/html/draft-ietf-quic-recovery-14#section-4.3.3 TransmissionReason_RTO_TRANSMISSION TransmissionReason = 2 // Indicates that the packet is sent in order to probe whether there is extra // bandwidth available in cases where the sender needs an estimate of // available bandwidth, but the application does not provide enough data for // such estimate to become naturally available. This is usually only used in // real-time protocols. TransmissionReason_PROBING_TRANSMISSION TransmissionReason = 3 )
func (TransmissionReason) Descriptor ¶ added in v0.15.8
func (TransmissionReason) Descriptor() protoreflect.EnumDescriptor
func (TransmissionReason) Enum ¶
func (x TransmissionReason) Enum() *TransmissionReason
func (TransmissionReason) EnumDescriptor
deprecated
func (TransmissionReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransmissionReason.Descriptor instead.
func (TransmissionReason) Number ¶ added in v0.15.8
func (x TransmissionReason) Number() protoreflect.EnumNumber
func (TransmissionReason) String ¶
func (x TransmissionReason) String() string
func (TransmissionReason) Type ¶ added in v0.15.8
func (TransmissionReason) Type() protoreflect.EnumType
func (*TransmissionReason) UnmarshalJSON
deprecated
func (x *TransmissionReason) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type TransportState ¶
type TransportState struct { MinRttUs *uint64 `protobuf:"varint,1,opt,name=min_rtt_us,json=minRttUs" json:"min_rtt_us,omitempty"` // Smoothed RTT, usually computed using EWMA. SmoothedRttUs *uint64 `protobuf:"varint,2,opt,name=smoothed_rtt_us,json=smoothedRttUs" json:"smoothed_rtt_us,omitempty"` // The latest RTT measureent available. LastRttUs *uint64 `protobuf:"varint,3,opt,name=last_rtt_us,json=lastRttUs" json:"last_rtt_us,omitempty"` InFlightBytes *uint64 `protobuf:"varint,4,opt,name=in_flight_bytes,json=inFlightBytes" json:"in_flight_bytes,omitempty"` CwndBytes *uint64 `protobuf:"varint,5,opt,name=cwnd_bytes,json=cwndBytes" json:"cwnd_bytes,omitempty"` // Pacing rate, in bits per second. PacingRateBps *uint64 `protobuf:"varint,6,opt,name=pacing_rate_bps,json=pacingRateBps" json:"pacing_rate_bps,omitempty"` // Any arbitrary information about congestion control state that is not // representable via parameters above. CongestionControlState *string `protobuf:"bytes,7,opt,name=congestion_control_state,json=congestionControlState" json:"congestion_control_state,omitempty"` // contains filtered or unexported fields }
Metadata that represents transport stack's understanding of the current state of the transport channel.
func (*TransportState) Descriptor
deprecated
func (*TransportState) Descriptor() ([]byte, []int)
Deprecated: Use TransportState.ProtoReflect.Descriptor instead.
func (*TransportState) GetCongestionControlState ¶
func (x *TransportState) GetCongestionControlState() string
func (*TransportState) GetCwndBytes ¶
func (x *TransportState) GetCwndBytes() uint64
func (*TransportState) GetInFlightBytes ¶
func (x *TransportState) GetInFlightBytes() uint64
func (*TransportState) GetLastRttUs ¶
func (x *TransportState) GetLastRttUs() uint64
func (*TransportState) GetMinRttUs ¶
func (x *TransportState) GetMinRttUs() uint64
func (*TransportState) GetPacingRateBps ¶
func (x *TransportState) GetPacingRateBps() uint64
func (*TransportState) GetSmoothedRttUs ¶
func (x *TransportState) GetSmoothedRttUs() uint64
func (*TransportState) ProtoMessage ¶
func (*TransportState) ProtoMessage()
func (*TransportState) ProtoReflect ¶ added in v0.15.8
func (x *TransportState) ProtoReflect() protoreflect.Message
func (*TransportState) Reset ¶
func (x *TransportState) Reset()
func (*TransportState) String ¶
func (x *TransportState) String() string