pb

package
v0.19.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_Event_TransmissionReason = TransmissionReason_NORMAL_TRANSMISSION
)

Default values for Event fields.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use AckBlock.ProtoReflect.Descriptor instead.

func (*AckBlock) GetFirstPacket

func (x *AckBlock) GetFirstPacket() uint64

func (*AckBlock) GetLastPacket

func (x *AckBlock) GetLastPacket() uint64

func (*AckBlock) ProtoMessage

func (*AckBlock) ProtoMessage()

func (*AckBlock) ProtoReflect added in v0.15.8

func (x *AckBlock) ProtoReflect() protoreflect.Message

func (*AckBlock) Reset

func (x *AckBlock) Reset()

func (*AckBlock) String

func (x *AckBlock) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use AckInfo.ProtoReflect.Descriptor instead.

func (*AckInfo) GetAckDelayUs

func (x *AckInfo) GetAckDelayUs() uint64

func (*AckInfo) GetAckedPackets

func (x *AckInfo) GetAckedPackets() []*AckBlock

func (*AckInfo) ProtoMessage

func (*AckInfo) ProtoMessage()

func (*AckInfo) ProtoReflect added in v0.15.8

func (x *AckInfo) ProtoReflect() protoreflect.Message

func (*AckInfo) Reset

func (x *AckInfo) Reset()

func (*AckInfo) String

func (x *AckInfo) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use CloseInfo.ProtoReflect.Descriptor instead.

func (*CloseInfo) GetCloseType

func (x *CloseInfo) GetCloseType() CloseType

func (*CloseInfo) GetErrorCode

func (x *CloseInfo) GetErrorCode() uint32

func (*CloseInfo) GetReasonPhrase

func (x *CloseInfo) GetReasonPhrase() string

func (*CloseInfo) GetTransportCloseFrameType

func (x *CloseInfo) GetTransportCloseFrameType() uint64

func (*CloseInfo) ProtoMessage

func (*CloseInfo) ProtoMessage()

func (*CloseInfo) ProtoReflect added in v0.15.8

func (x *CloseInfo) ProtoReflect() protoreflect.Message

func (*CloseInfo) Reset

func (x *CloseInfo) Reset()

func (*CloseInfo) String

func (x *CloseInfo) String() string

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.

const (
	CloseType_GOOGLE_QUIC_CONNECTION_CLOSE           CloseType = 0
	CloseType_IETF_QUIC_TRANSPORT_CONNECTION_CLOSE   CloseType = 1
	CloseType_IETF_QUIC_APPLICATION_CONNECTION_CLOSE CloseType = 2
)

func (CloseType) Descriptor added in v0.15.8

func (CloseType) Descriptor() protoreflect.EnumDescriptor

func (CloseType) Enum

func (x CloseType) Enum() *CloseType

func (CloseType) EnumDescriptor deprecated

func (CloseType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CloseType.Descriptor instead.

func (CloseType) Number added in v0.15.8

func (x CloseType) Number() protoreflect.EnumNumber

func (CloseType) String

func (x CloseType) String() string

func (CloseType) Type added in v0.15.8

func (*CloseType) UnmarshalJSON deprecated

func (x *CloseType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

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) 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 (EncryptionLevel) String

func (x EncryptionLevel) String() string

func (EncryptionLevel) Type added in v0.15.8

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) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetEncryptionLevel

func (x *Event) GetEncryptionLevel() EncryptionLevel

func (*Event) GetEventType

func (x *Event) GetEventType() EventType

func (*Event) GetExternalNetworkParameters

func (x *Event) GetExternalNetworkParameters() *ExternalNetworkParameters

func (*Event) GetFrames

func (x *Event) GetFrames() []*Frame

func (*Event) GetPacketNumber

func (x *Event) GetPacketNumber() uint64

func (*Event) GetPacketSize

func (x *Event) GetPacketSize() uint64

func (*Event) GetTimeUs

func (x *Event) GetTimeUs() uint64

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

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) Enum

func (x EventType) Enum() *EventType

func (EventType) EnumDescriptor deprecated

func (EventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EventType.Descriptor instead.

func (EventType) Number added in v0.15.8

func (x EventType) Number() protoreflect.EnumNumber

func (EventType) String

func (x EventType) String() string

func (EventType) Type added in v0.15.8

func (*EventType) UnmarshalJSON deprecated

func (x *EventType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Frame.ProtoReflect.Descriptor instead.

func (*Frame) GetAckInfo

func (x *Frame) GetAckInfo() *AckInfo

func (*Frame) GetCloseInfo

func (x *Frame) GetCloseInfo() *CloseInfo

func (*Frame) GetCryptoFrameInfo

func (x *Frame) GetCryptoFrameInfo() *CryptoFrameInfo

func (*Frame) GetFlowControlInfo

func (x *Frame) GetFlowControlInfo() *FlowControlInfo

func (*Frame) GetFrameType

func (x *Frame) GetFrameType() FrameType

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

func (*Frame) Reset

func (x *Frame) Reset()

func (*Frame) String

func (x *Frame) String() string

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) Enum

func (x FrameType) Enum() *FrameType

func (FrameType) EnumDescriptor deprecated

func (FrameType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FrameType.Descriptor instead.

func (FrameType) Number added in v0.15.8

func (x FrameType) Number() protoreflect.EnumNumber

func (FrameType) String

func (x FrameType) String() string

func (FrameType) Type added in v0.15.8

func (*FrameType) UnmarshalJSON deprecated

func (x *FrameType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

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) Descriptor() ([]byte, []int)

Deprecated: Use Trace.ProtoReflect.Descriptor instead.

func (*Trace) GetDestinationConnectionId

func (x *Trace) GetDestinationConnectionId() []byte

func (*Trace) GetEvents

func (x *Trace) GetEvents() []*Event

func (*Trace) GetProtocolVersion

func (x *Trace) GetProtocolVersion() []byte

func (*Trace) GetSourceConnectionId

func (x *Trace) GetSourceConnectionId() []byte

func (*Trace) ProtoMessage

func (*Trace) ProtoMessage()

func (*Trace) ProtoReflect added in v0.15.8

func (x *Trace) ProtoReflect() protoreflect.Message

func (*Trace) Reset

func (x *Trace) Reset()

func (*Trace) String

func (x *Trace) String() string

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) Enum

func (TransmissionReason) EnumDescriptor deprecated

func (TransmissionReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use TransmissionReason.Descriptor instead.

func (TransmissionReason) Number added in v0.15.8

func (TransmissionReason) String

func (x TransmissionReason) String() string

func (TransmissionReason) Type added in v0.15.8

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL