Documentation ¶
Index ¶
- Variables
- type AckBlock
- func (*AckBlock) Descriptor() ([]byte, []int)
- func (m *AckBlock) GetFirstPacket() uint64
- func (m *AckBlock) GetLastPacket() uint64
- func (*AckBlock) ProtoMessage()
- func (m *AckBlock) Reset()
- func (m *AckBlock) String() string
- func (m *AckBlock) XXX_DiscardUnknown()
- func (m *AckBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AckBlock) XXX_Merge(src proto.Message)
- func (m *AckBlock) XXX_Size() int
- func (m *AckBlock) XXX_Unmarshal(b []byte) error
- type AckInfo
- func (*AckInfo) Descriptor() ([]byte, []int)
- func (m *AckInfo) GetAckDelayUs() uint64
- func (m *AckInfo) GetAckedPackets() []*AckBlock
- func (*AckInfo) ProtoMessage()
- func (m *AckInfo) Reset()
- func (m *AckInfo) String() string
- func (m *AckInfo) XXX_DiscardUnknown()
- func (m *AckInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AckInfo) XXX_Merge(src proto.Message)
- func (m *AckInfo) XXX_Size() int
- func (m *AckInfo) XXX_Unmarshal(b []byte) error
- type CloseInfo
- func (*CloseInfo) Descriptor() ([]byte, []int)
- func (m *CloseInfo) GetCloseType() CloseType
- func (m *CloseInfo) GetErrorCode() uint32
- func (m *CloseInfo) GetReasonPhrase() string
- func (m *CloseInfo) GetTransportCloseFrameType() uint64
- func (*CloseInfo) ProtoMessage()
- func (m *CloseInfo) Reset()
- func (m *CloseInfo) String() string
- func (m *CloseInfo) XXX_DiscardUnknown()
- func (m *CloseInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloseInfo) XXX_Merge(src proto.Message)
- func (m *CloseInfo) XXX_Size() int
- func (m *CloseInfo) XXX_Unmarshal(b []byte) error
- type CloseType
- type CryptoFrameInfo
- func (*CryptoFrameInfo) Descriptor() ([]byte, []int)
- func (m *CryptoFrameInfo) GetLength() uint64
- func (m *CryptoFrameInfo) GetOffset() uint64
- func (*CryptoFrameInfo) ProtoMessage()
- func (m *CryptoFrameInfo) Reset()
- func (m *CryptoFrameInfo) String() string
- func (m *CryptoFrameInfo) XXX_DiscardUnknown()
- func (m *CryptoFrameInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CryptoFrameInfo) XXX_Merge(src proto.Message)
- func (m *CryptoFrameInfo) XXX_Size() int
- func (m *CryptoFrameInfo) XXX_Unmarshal(b []byte) error
- type EncryptionLevel
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetEncryptionLevel() EncryptionLevel
- func (m *Event) GetEventType() EventType
- func (m *Event) GetExternalNetworkParameters() *ExternalNetworkParameters
- func (m *Event) GetFrames() []*Frame
- func (m *Event) GetPacketNumber() uint64
- func (m *Event) GetPacketSize() uint64
- func (m *Event) GetTimeUs() uint64
- func (m *Event) GetTransmissionReason() TransmissionReason
- func (m *Event) GetTransportState() *TransportState
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Event) XXX_Merge(src proto.Message)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type EventType
- type ExternalNetworkParameters
- func (*ExternalNetworkParameters) Descriptor() ([]byte, []int)
- func (m *ExternalNetworkParameters) GetBandwidthBps() uint64
- func (m *ExternalNetworkParameters) GetCwndBytes() uint64
- func (m *ExternalNetworkParameters) GetRttUs() uint64
- func (*ExternalNetworkParameters) ProtoMessage()
- func (m *ExternalNetworkParameters) Reset()
- func (m *ExternalNetworkParameters) String() string
- func (m *ExternalNetworkParameters) XXX_DiscardUnknown()
- func (m *ExternalNetworkParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExternalNetworkParameters) XXX_Merge(src proto.Message)
- func (m *ExternalNetworkParameters) XXX_Size() int
- func (m *ExternalNetworkParameters) XXX_Unmarshal(b []byte) error
- type FlowControlInfo
- func (*FlowControlInfo) Descriptor() ([]byte, []int)
- func (m *FlowControlInfo) GetMaxData() uint64
- func (m *FlowControlInfo) GetStreamId() uint64
- func (*FlowControlInfo) ProtoMessage()
- func (m *FlowControlInfo) Reset()
- func (m *FlowControlInfo) String() string
- func (m *FlowControlInfo) XXX_DiscardUnknown()
- func (m *FlowControlInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FlowControlInfo) XXX_Merge(src proto.Message)
- func (m *FlowControlInfo) XXX_Size() int
- func (m *FlowControlInfo) XXX_Unmarshal(b []byte) error
- type Frame
- func (*Frame) Descriptor() ([]byte, []int)
- func (m *Frame) GetAckInfo() *AckInfo
- func (m *Frame) GetCloseInfo() *CloseInfo
- func (m *Frame) GetCryptoFrameInfo() *CryptoFrameInfo
- func (m *Frame) GetFlowControlInfo() *FlowControlInfo
- func (m *Frame) GetFrameType() FrameType
- func (m *Frame) GetResetStreamInfo() *ResetStreamInfo
- func (m *Frame) GetStreamFrameInfo() *StreamFrameInfo
- func (*Frame) ProtoMessage()
- func (m *Frame) Reset()
- func (m *Frame) String() string
- func (m *Frame) XXX_DiscardUnknown()
- func (m *Frame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Frame) XXX_Merge(src proto.Message)
- func (m *Frame) XXX_Size() int
- func (m *Frame) XXX_Unmarshal(b []byte) error
- type FrameType
- type ResetStreamInfo
- func (*ResetStreamInfo) Descriptor() ([]byte, []int)
- func (m *ResetStreamInfo) GetApplicationErrorCode() uint32
- func (m *ResetStreamInfo) GetFinalOffset() uint64
- func (m *ResetStreamInfo) GetStreamId() uint64
- func (*ResetStreamInfo) ProtoMessage()
- func (m *ResetStreamInfo) Reset()
- func (m *ResetStreamInfo) String() string
- func (m *ResetStreamInfo) XXX_DiscardUnknown()
- func (m *ResetStreamInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResetStreamInfo) XXX_Merge(src proto.Message)
- func (m *ResetStreamInfo) XXX_Size() int
- func (m *ResetStreamInfo) XXX_Unmarshal(b []byte) error
- type StreamFrameInfo
- func (*StreamFrameInfo) Descriptor() ([]byte, []int)
- func (m *StreamFrameInfo) GetFin() bool
- func (m *StreamFrameInfo) GetLength() uint64
- func (m *StreamFrameInfo) GetOffset() uint64
- func (m *StreamFrameInfo) GetStreamId() uint64
- func (*StreamFrameInfo) ProtoMessage()
- func (m *StreamFrameInfo) Reset()
- func (m *StreamFrameInfo) String() string
- func (m *StreamFrameInfo) XXX_DiscardUnknown()
- func (m *StreamFrameInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamFrameInfo) XXX_Merge(src proto.Message)
- func (m *StreamFrameInfo) XXX_Size() int
- func (m *StreamFrameInfo) XXX_Unmarshal(b []byte) error
- type Trace
- func (*Trace) Descriptor() ([]byte, []int)
- func (m *Trace) GetDestinationConnectionId() []byte
- func (m *Trace) GetEvents() []*Event
- func (m *Trace) GetProtocolVersion() []byte
- func (m *Trace) GetSourceConnectionId() []byte
- func (*Trace) ProtoMessage()
- func (m *Trace) Reset()
- func (m *Trace) String() string
- func (m *Trace) XXX_DiscardUnknown()
- func (m *Trace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Trace) XXX_Merge(src proto.Message)
- func (m *Trace) XXX_Size() int
- func (m *Trace) XXX_Unmarshal(b []byte) error
- type TransmissionReason
- type TransportState
- func (*TransportState) Descriptor() ([]byte, []int)
- func (m *TransportState) GetCongestionControlState() string
- func (m *TransportState) GetCwndBytes() uint64
- func (m *TransportState) GetInFlightBytes() uint64
- func (m *TransportState) GetLastRttUs() uint64
- func (m *TransportState) GetMinRttUs() uint64
- func (m *TransportState) GetPacingRateBps() uint64
- func (m *TransportState) GetSmoothedRttUs() uint64
- func (*TransportState) ProtoMessage()
- func (m *TransportState) Reset()
- func (m *TransportState) String() string
- func (m *TransportState) XXX_DiscardUnknown()
- func (m *TransportState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransportState) XXX_Merge(src proto.Message)
- func (m *TransportState) XXX_Size() int
- func (m *TransportState) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var CloseType_name = map[int32]string{
0: "GOOGLE_QUIC_CONNECTION_CLOSE",
1: "IETF_QUIC_TRANSPORT_CONNECTION_CLOSE",
2: "IETF_QUIC_APPLICATION_CONNECTION_CLOSE",
}
var CloseType_value = map[string]int32{
"GOOGLE_QUIC_CONNECTION_CLOSE": 0,
"IETF_QUIC_TRANSPORT_CONNECTION_CLOSE": 1,
"IETF_QUIC_APPLICATION_CONNECTION_CLOSE": 2,
}
var EncryptionLevel_name = map[int32]string{
0: "ENCRYPTION_UNKNOWN",
1: "ENCRYPTION_INITIAL",
2: "ENCRYPTION_0RTT",
3: "ENCRYPTION_1RTT",
4: "ENCRYPTION_HANDSHAKE",
}
var EncryptionLevel_value = map[string]int32{
"ENCRYPTION_UNKNOWN": 0,
"ENCRYPTION_INITIAL": 1,
"ENCRYPTION_0RTT": 2,
"ENCRYPTION_1RTT": 3,
"ENCRYPTION_HANDSHAKE": 4,
}
var EventType_name = map[int32]string{
0: "UNKNOWN_EVENT",
1: "PACKET_SENT",
2: "PACKET_RECEIVED",
3: "PACKET_LOST",
4: "APPLICATION_LIMITED",
5: "EXTERNAL_PARAMETERS",
}
var EventType_value = map[string]int32{
"UNKNOWN_EVENT": 0,
"PACKET_SENT": 1,
"PACKET_RECEIVED": 2,
"PACKET_LOST": 3,
"APPLICATION_LIMITED": 4,
"EXTERNAL_PARAMETERS": 5,
}
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",
}
var 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,
}
var TransmissionReason_name = map[int32]string{
0: "NORMAL_TRANSMISSION",
1: "TAIL_LOSS_PROBE",
2: "RTO_TRANSMISSION",
3: "PROBING_TRANSMISSION",
}
var TransmissionReason_value = map[string]int32{
"NORMAL_TRANSMISSION": 0,
"TAIL_LOSS_PROBE": 1,
"RTO_TRANSMISSION": 2,
"PROBING_TRANSMISSION": 3,
}
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The intervals are closed, i.e. the interval represented here is [first_packet, last_packet].
func (*AckBlock) Descriptor ¶
func (*AckBlock) GetFirstPacket ¶
func (*AckBlock) GetLastPacket ¶
func (*AckBlock) ProtoMessage ¶
func (*AckBlock) ProtoMessage()
func (*AckBlock) XXX_DiscardUnknown ¶
func (m *AckBlock) XXX_DiscardUnknown()
func (*AckBlock) XXX_Marshal ¶
func (*AckBlock) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metadata for ACK frames.
func (*AckInfo) Descriptor ¶
func (*AckInfo) GetAckDelayUs ¶
func (*AckInfo) GetAckedPackets ¶
func (*AckInfo) ProtoMessage ¶
func (*AckInfo) ProtoMessage()
func (*AckInfo) XXX_DiscardUnknown ¶
func (m *AckInfo) XXX_DiscardUnknown()
func (*AckInfo) XXX_Marshal ¶
func (*AckInfo) XXX_Unmarshal ¶
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 */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metadata for CONNECTION_CLOSE/APPLICATION_CLOSE frames.
func (*CloseInfo) Descriptor ¶
func (*CloseInfo) GetCloseType ¶
func (*CloseInfo) GetErrorCode ¶
func (*CloseInfo) GetReasonPhrase ¶
func (*CloseInfo) GetTransportCloseFrameType ¶
func (*CloseInfo) ProtoMessage ¶
func (*CloseInfo) ProtoMessage()
func (*CloseInfo) XXX_DiscardUnknown ¶
func (m *CloseInfo) XXX_DiscardUnknown()
func (*CloseInfo) XXX_Marshal ¶
func (*CloseInfo) XXX_Unmarshal ¶
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) EnumDescriptor ¶
func (*CloseType) UnmarshalJSON ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metadata for CRYPTO frames.
func (*CryptoFrameInfo) Descriptor ¶
func (*CryptoFrameInfo) Descriptor() ([]byte, []int)
func (*CryptoFrameInfo) GetLength ¶
func (m *CryptoFrameInfo) GetLength() uint64
func (*CryptoFrameInfo) GetOffset ¶
func (m *CryptoFrameInfo) GetOffset() uint64
func (*CryptoFrameInfo) ProtoMessage ¶
func (*CryptoFrameInfo) ProtoMessage()
func (*CryptoFrameInfo) Reset ¶
func (m *CryptoFrameInfo) Reset()
func (*CryptoFrameInfo) String ¶
func (m *CryptoFrameInfo) String() string
func (*CryptoFrameInfo) XXX_DiscardUnknown ¶
func (m *CryptoFrameInfo) XXX_DiscardUnknown()
func (*CryptoFrameInfo) XXX_Marshal ¶
func (m *CryptoFrameInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CryptoFrameInfo) XXX_Merge ¶
func (m *CryptoFrameInfo) XXX_Merge(src proto.Message)
func (*CryptoFrameInfo) XXX_Size ¶
func (m *CryptoFrameInfo) XXX_Size() int
func (*CryptoFrameInfo) XXX_Unmarshal ¶
func (m *CryptoFrameInfo) XXX_Unmarshal(b []byte) error
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) Enum ¶
func (x EncryptionLevel) Enum() *EncryptionLevel
func (EncryptionLevel) EnumDescriptor ¶
func (EncryptionLevel) EnumDescriptor() ([]byte, []int)
func (EncryptionLevel) String ¶
func (x EncryptionLevel) String() string
func (*EncryptionLevel) UnmarshalJSON ¶
func (x *EncryptionLevel) UnmarshalJSON(data []byte) error
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 */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An event that has occurred over duration of the connection.
func (*Event) Descriptor ¶
func (*Event) GetEncryptionLevel ¶
func (m *Event) GetEncryptionLevel() EncryptionLevel
func (*Event) GetEventType ¶
func (*Event) GetExternalNetworkParameters ¶
func (m *Event) GetExternalNetworkParameters() *ExternalNetworkParameters
func (*Event) GetPacketNumber ¶
func (*Event) GetPacketSize ¶
func (*Event) GetTransmissionReason ¶
func (m *Event) GetTransmissionReason() TransmissionReason
func (*Event) GetTransportState ¶
func (m *Event) GetTransportState() *TransportState
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
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) EnumDescriptor ¶
func (*EventType) UnmarshalJSON ¶
type ExternalNetworkParameters ¶
type ExternalNetworkParameters struct { BandwidthBps *uint64 `protobuf:"varint,1,opt,name=bandwidth_bps,json=bandwidthBps" json:"bandwidth_bps,omitempty"` 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 ¶
func (*ExternalNetworkParameters) Descriptor() ([]byte, []int)
func (*ExternalNetworkParameters) GetBandwidthBps ¶
func (m *ExternalNetworkParameters) GetBandwidthBps() uint64
func (*ExternalNetworkParameters) GetCwndBytes ¶
func (m *ExternalNetworkParameters) GetCwndBytes() uint64
func (*ExternalNetworkParameters) GetRttUs ¶
func (m *ExternalNetworkParameters) GetRttUs() uint64
func (*ExternalNetworkParameters) ProtoMessage ¶
func (*ExternalNetworkParameters) ProtoMessage()
func (*ExternalNetworkParameters) Reset ¶
func (m *ExternalNetworkParameters) Reset()
func (*ExternalNetworkParameters) String ¶
func (m *ExternalNetworkParameters) String() string
func (*ExternalNetworkParameters) XXX_DiscardUnknown ¶
func (m *ExternalNetworkParameters) XXX_DiscardUnknown()
func (*ExternalNetworkParameters) XXX_Marshal ¶
func (m *ExternalNetworkParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExternalNetworkParameters) XXX_Merge ¶
func (m *ExternalNetworkParameters) XXX_Merge(src proto.Message)
func (*ExternalNetworkParameters) XXX_Size ¶
func (m *ExternalNetworkParameters) XXX_Size() int
func (*ExternalNetworkParameters) XXX_Unmarshal ¶
func (m *ExternalNetworkParameters) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metadata for MAX_DATA/MAX_STREAM_DATA frames.
func (*FlowControlInfo) Descriptor ¶
func (*FlowControlInfo) Descriptor() ([]byte, []int)
func (*FlowControlInfo) GetMaxData ¶
func (m *FlowControlInfo) GetMaxData() uint64
func (*FlowControlInfo) GetStreamId ¶
func (m *FlowControlInfo) GetStreamId() uint64
func (*FlowControlInfo) ProtoMessage ¶
func (*FlowControlInfo) ProtoMessage()
func (*FlowControlInfo) Reset ¶
func (m *FlowControlInfo) Reset()
func (*FlowControlInfo) String ¶
func (m *FlowControlInfo) String() string
func (*FlowControlInfo) XXX_DiscardUnknown ¶
func (m *FlowControlInfo) XXX_DiscardUnknown()
func (*FlowControlInfo) XXX_Marshal ¶
func (m *FlowControlInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FlowControlInfo) XXX_Merge ¶
func (m *FlowControlInfo) XXX_Merge(src proto.Message)
func (*FlowControlInfo) XXX_Size ¶
func (m *FlowControlInfo) XXX_Size() int
func (*FlowControlInfo) XXX_Unmarshal ¶
func (m *FlowControlInfo) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A message representing a frame, either sent or received.
func (*Frame) Descriptor ¶
func (*Frame) GetAckInfo ¶
func (*Frame) GetCloseInfo ¶
func (*Frame) GetCryptoFrameInfo ¶
func (m *Frame) GetCryptoFrameInfo() *CryptoFrameInfo
func (*Frame) GetFlowControlInfo ¶
func (m *Frame) GetFlowControlInfo() *FlowControlInfo
func (*Frame) GetFrameType ¶
func (*Frame) GetResetStreamInfo ¶
func (m *Frame) GetResetStreamInfo() *ResetStreamInfo
func (*Frame) GetStreamFrameInfo ¶
func (m *Frame) GetStreamFrameInfo() *StreamFrameInfo
func (*Frame) ProtoMessage ¶
func (*Frame) ProtoMessage()
func (*Frame) XXX_DiscardUnknown ¶
func (m *Frame) XXX_DiscardUnknown()
func (*Frame) XXX_Marshal ¶
func (*Frame) XXX_Unmarshal ¶
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) EnumDescriptor ¶
func (*FrameType) UnmarshalJSON ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metadata for RST_STREAM frames.
func (*ResetStreamInfo) Descriptor ¶
func (*ResetStreamInfo) Descriptor() ([]byte, []int)
func (*ResetStreamInfo) GetApplicationErrorCode ¶
func (m *ResetStreamInfo) GetApplicationErrorCode() uint32
func (*ResetStreamInfo) GetFinalOffset ¶
func (m *ResetStreamInfo) GetFinalOffset() uint64
func (*ResetStreamInfo) GetStreamId ¶
func (m *ResetStreamInfo) GetStreamId() uint64
func (*ResetStreamInfo) ProtoMessage ¶
func (*ResetStreamInfo) ProtoMessage()
func (*ResetStreamInfo) Reset ¶
func (m *ResetStreamInfo) Reset()
func (*ResetStreamInfo) String ¶
func (m *ResetStreamInfo) String() string
func (*ResetStreamInfo) XXX_DiscardUnknown ¶
func (m *ResetStreamInfo) XXX_DiscardUnknown()
func (*ResetStreamInfo) XXX_Marshal ¶
func (m *ResetStreamInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResetStreamInfo) XXX_Merge ¶
func (m *ResetStreamInfo) XXX_Merge(src proto.Message)
func (*ResetStreamInfo) XXX_Size ¶
func (m *ResetStreamInfo) XXX_Size() int
func (*ResetStreamInfo) XXX_Unmarshal ¶
func (m *ResetStreamInfo) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metadata for STREAM frames.
func (*StreamFrameInfo) Descriptor ¶
func (*StreamFrameInfo) Descriptor() ([]byte, []int)
func (*StreamFrameInfo) GetFin ¶
func (m *StreamFrameInfo) GetFin() bool
func (*StreamFrameInfo) GetLength ¶
func (m *StreamFrameInfo) GetLength() uint64
func (*StreamFrameInfo) GetOffset ¶
func (m *StreamFrameInfo) GetOffset() uint64
func (*StreamFrameInfo) GetStreamId ¶
func (m *StreamFrameInfo) GetStreamId() uint64
func (*StreamFrameInfo) ProtoMessage ¶
func (*StreamFrameInfo) ProtoMessage()
func (*StreamFrameInfo) Reset ¶
func (m *StreamFrameInfo) Reset()
func (*StreamFrameInfo) String ¶
func (m *StreamFrameInfo) String() string
func (*StreamFrameInfo) XXX_DiscardUnknown ¶
func (m *StreamFrameInfo) XXX_DiscardUnknown()
func (*StreamFrameInfo) XXX_Marshal ¶
func (m *StreamFrameInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamFrameInfo) XXX_Merge ¶
func (m *StreamFrameInfo) XXX_Merge(src proto.Message)
func (*StreamFrameInfo) XXX_Size ¶
func (m *StreamFrameInfo) XXX_Size() int
func (*StreamFrameInfo) XXX_Unmarshal ¶
func (m *StreamFrameInfo) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Trace) Descriptor ¶
func (*Trace) GetDestinationConnectionId ¶
func (*Trace) GetProtocolVersion ¶
func (*Trace) GetSourceConnectionId ¶
func (*Trace) ProtoMessage ¶
func (*Trace) ProtoMessage()
func (*Trace) XXX_DiscardUnknown ¶
func (m *Trace) XXX_DiscardUnknown()
func (*Trace) XXX_Marshal ¶
func (*Trace) XXX_Unmarshal ¶
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 )
const Default_Event_TransmissionReason TransmissionReason = TransmissionReason_NORMAL_TRANSMISSION
func (TransmissionReason) Enum ¶
func (x TransmissionReason) Enum() *TransmissionReason
func (TransmissionReason) EnumDescriptor ¶
func (TransmissionReason) EnumDescriptor() ([]byte, []int)
func (TransmissionReason) String ¶
func (x TransmissionReason) String() string
func (*TransmissionReason) UnmarshalJSON ¶
func (x *TransmissionReason) UnmarshalJSON(data []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metadata that represents transport stack's understanding of the current state of the transport channel.
func (*TransportState) Descriptor ¶
func (*TransportState) Descriptor() ([]byte, []int)
func (*TransportState) GetCongestionControlState ¶
func (m *TransportState) GetCongestionControlState() string
func (*TransportState) GetCwndBytes ¶
func (m *TransportState) GetCwndBytes() uint64
func (*TransportState) GetInFlightBytes ¶
func (m *TransportState) GetInFlightBytes() uint64
func (*TransportState) GetLastRttUs ¶
func (m *TransportState) GetLastRttUs() uint64
func (*TransportState) GetMinRttUs ¶
func (m *TransportState) GetMinRttUs() uint64
func (*TransportState) GetPacingRateBps ¶
func (m *TransportState) GetPacingRateBps() uint64
func (*TransportState) GetSmoothedRttUs ¶
func (m *TransportState) GetSmoothedRttUs() uint64
func (*TransportState) ProtoMessage ¶
func (*TransportState) ProtoMessage()
func (*TransportState) Reset ¶
func (m *TransportState) Reset()
func (*TransportState) String ¶
func (m *TransportState) String() string
func (*TransportState) XXX_DiscardUnknown ¶
func (m *TransportState) XXX_DiscardUnknown()
func (*TransportState) XXX_Marshal ¶
func (m *TransportState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransportState) XXX_Merge ¶
func (m *TransportState) XXX_Merge(src proto.Message)
func (*TransportState) XXX_Size ¶
func (m *TransportState) XXX_Size() int
func (*TransportState) XXX_Unmarshal ¶
func (m *TransportState) XXX_Unmarshal(b []byte) error