quic-go: github.com/lucas-clemente/quic-go/quictrace/pb Index | Files

package pb

import "github.com/lucas-clemente/quic-go/quictrace/pb"

Index

Package Files

quic-trace.pb.go

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,
}

type AckBlock Uses

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 Uses

func (*AckBlock) Descriptor() ([]byte, []int)

func (*AckBlock) GetFirstPacket Uses

func (m *AckBlock) GetFirstPacket() uint64

func (*AckBlock) GetLastPacket Uses

func (m *AckBlock) GetLastPacket() uint64

func (*AckBlock) ProtoMessage Uses

func (*AckBlock) ProtoMessage()

func (*AckBlock) Reset Uses

func (m *AckBlock) Reset()

func (*AckBlock) String Uses

func (m *AckBlock) String() string

func (*AckBlock) XXX_DiscardUnknown Uses

func (m *AckBlock) XXX_DiscardUnknown()

func (*AckBlock) XXX_Marshal Uses

func (m *AckBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AckBlock) XXX_Merge Uses

func (m *AckBlock) XXX_Merge(src proto.Message)

func (*AckBlock) XXX_Size Uses

func (m *AckBlock) XXX_Size() int

func (*AckBlock) XXX_Unmarshal Uses

func (m *AckBlock) XXX_Unmarshal(b []byte) error

type AckInfo Uses

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 Uses

func (*AckInfo) Descriptor() ([]byte, []int)

func (*AckInfo) GetAckDelayUs Uses

func (m *AckInfo) GetAckDelayUs() uint64

func (*AckInfo) GetAckedPackets Uses

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

func (*AckInfo) ProtoMessage Uses

func (*AckInfo) ProtoMessage()

func (*AckInfo) Reset Uses

func (m *AckInfo) Reset()

func (*AckInfo) String Uses

func (m *AckInfo) String() string

func (*AckInfo) XXX_DiscardUnknown Uses

func (m *AckInfo) XXX_DiscardUnknown()

func (*AckInfo) XXX_Marshal Uses

func (m *AckInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AckInfo) XXX_Merge Uses

func (m *AckInfo) XXX_Merge(src proto.Message)

func (*AckInfo) XXX_Size Uses

func (m *AckInfo) XXX_Size() int

func (*AckInfo) XXX_Unmarshal Uses

func (m *AckInfo) XXX_Unmarshal(b []byte) error

type CloseInfo Uses

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    `protobuf:"varint,4,opt,name=transport_close_frame_type,json=transportCloseFrameType" json:"transport_close_frame_type,omitempty"`
    XXX_NoUnkeyedLiteral    struct{}   `json:"-"`
    XXX_unrecognized        []byte     `json:"-"`
    XXX_sizecache           int32      `json:"-"`
}

Metadata for CONNECTION_CLOSE/APPLICATION_CLOSE frames.

func (*CloseInfo) Descriptor Uses

func (*CloseInfo) Descriptor() ([]byte, []int)

func (*CloseInfo) GetCloseType Uses

func (m *CloseInfo) GetCloseType() CloseType

func (*CloseInfo) GetErrorCode Uses

func (m *CloseInfo) GetErrorCode() uint32

func (*CloseInfo) GetReasonPhrase Uses

func (m *CloseInfo) GetReasonPhrase() string

func (*CloseInfo) GetTransportCloseFrameType Uses

func (m *CloseInfo) GetTransportCloseFrameType() uint64

func (*CloseInfo) ProtoMessage Uses

func (*CloseInfo) ProtoMessage()

func (*CloseInfo) Reset Uses

func (m *CloseInfo) Reset()

func (*CloseInfo) String Uses

func (m *CloseInfo) String() string

func (*CloseInfo) XXX_DiscardUnknown Uses

func (m *CloseInfo) XXX_DiscardUnknown()

func (*CloseInfo) XXX_Marshal Uses

func (m *CloseInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloseInfo) XXX_Merge Uses

func (m *CloseInfo) XXX_Merge(src proto.Message)

func (*CloseInfo) XXX_Size Uses

func (m *CloseInfo) XXX_Size() int

func (*CloseInfo) XXX_Unmarshal Uses

func (m *CloseInfo) XXX_Unmarshal(b []byte) error

type CloseType Uses

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

func (x CloseType) Enum() *CloseType

func (CloseType) EnumDescriptor Uses

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

func (CloseType) String Uses

func (x CloseType) String() string

func (*CloseType) UnmarshalJSON Uses

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

type CryptoFrameInfo Uses

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 Uses

func (*CryptoFrameInfo) Descriptor() ([]byte, []int)

func (*CryptoFrameInfo) GetLength Uses

func (m *CryptoFrameInfo) GetLength() uint64

func (*CryptoFrameInfo) GetOffset Uses

func (m *CryptoFrameInfo) GetOffset() uint64

func (*CryptoFrameInfo) ProtoMessage Uses

func (*CryptoFrameInfo) ProtoMessage()

func (*CryptoFrameInfo) Reset Uses

func (m *CryptoFrameInfo) Reset()

func (*CryptoFrameInfo) String Uses

func (m *CryptoFrameInfo) String() string

func (*CryptoFrameInfo) XXX_DiscardUnknown Uses

func (m *CryptoFrameInfo) XXX_DiscardUnknown()

func (*CryptoFrameInfo) XXX_Marshal Uses

func (m *CryptoFrameInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CryptoFrameInfo) XXX_Merge Uses

func (m *CryptoFrameInfo) XXX_Merge(src proto.Message)

func (*CryptoFrameInfo) XXX_Size Uses

func (m *CryptoFrameInfo) XXX_Size() int

func (*CryptoFrameInfo) XXX_Unmarshal Uses

func (m *CryptoFrameInfo) XXX_Unmarshal(b []byte) error

type EncryptionLevel Uses

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 Uses

func (x EncryptionLevel) Enum() *EncryptionLevel

func (EncryptionLevel) EnumDescriptor Uses

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

func (EncryptionLevel) String Uses

func (x EncryptionLevel) String() string

func (*EncryptionLevel) UnmarshalJSON Uses

func (x *EncryptionLevel) UnmarshalJSON(data []byte) error

type Event Uses

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 `protobuf:"bytes,8,opt,name=external_network_parameters,json=externalNetworkParameters" json:"external_network_parameters,omitempty"`
    // For sent packets, indicate if there is a special reason for why the packet
    // in question was transmitted.
    TransmissionReason   *TransmissionReason `protobuf:"varint,9,opt,name=transmission_reason,json=transmissionReason,enum=pb.TransmissionReason,def=0" json:"transmission_reason,omitempty"`
    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 Uses

func (*Event) Descriptor() ([]byte, []int)

func (*Event) GetEncryptionLevel Uses

func (m *Event) GetEncryptionLevel() EncryptionLevel

func (*Event) GetEventType Uses

func (m *Event) GetEventType() EventType

func (*Event) GetExternalNetworkParameters Uses

func (m *Event) GetExternalNetworkParameters() *ExternalNetworkParameters

func (*Event) GetFrames Uses

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

func (*Event) GetPacketNumber Uses

func (m *Event) GetPacketNumber() uint64

func (*Event) GetPacketSize Uses

func (m *Event) GetPacketSize() uint64

func (*Event) GetTimeUs Uses

func (m *Event) GetTimeUs() uint64

func (*Event) GetTransmissionReason Uses

func (m *Event) GetTransmissionReason() TransmissionReason

func (*Event) GetTransportState Uses

func (m *Event) GetTransportState() *TransportState

func (*Event) ProtoMessage Uses

func (*Event) ProtoMessage()

func (*Event) Reset Uses

func (m *Event) Reset()

func (*Event) String Uses

func (m *Event) String() string

func (*Event) XXX_DiscardUnknown Uses

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal Uses

func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Event) XXX_Merge Uses

func (m *Event) XXX_Merge(src proto.Message)

func (*Event) XXX_Size Uses

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal Uses

func (m *Event) XXX_Unmarshal(b []byte) error

type EventType Uses

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

func (x EventType) Enum() *EventType

func (EventType) EnumDescriptor Uses

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

func (EventType) String Uses

func (x EventType) String() string

func (*EventType) UnmarshalJSON Uses

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

type ExternalNetworkParameters Uses

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 Uses

func (*ExternalNetworkParameters) Descriptor() ([]byte, []int)

func (*ExternalNetworkParameters) GetBandwidthBps Uses

func (m *ExternalNetworkParameters) GetBandwidthBps() uint64

func (*ExternalNetworkParameters) GetCwndBytes Uses

func (m *ExternalNetworkParameters) GetCwndBytes() uint64

func (*ExternalNetworkParameters) GetRttUs Uses

func (m *ExternalNetworkParameters) GetRttUs() uint64

func (*ExternalNetworkParameters) ProtoMessage Uses

func (*ExternalNetworkParameters) ProtoMessage()

func (*ExternalNetworkParameters) Reset Uses

func (m *ExternalNetworkParameters) Reset()

func (*ExternalNetworkParameters) String Uses

func (m *ExternalNetworkParameters) String() string

func (*ExternalNetworkParameters) XXX_DiscardUnknown Uses

func (m *ExternalNetworkParameters) XXX_DiscardUnknown()

func (*ExternalNetworkParameters) XXX_Marshal Uses

func (m *ExternalNetworkParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExternalNetworkParameters) XXX_Merge Uses

func (m *ExternalNetworkParameters) XXX_Merge(src proto.Message)

func (*ExternalNetworkParameters) XXX_Size Uses

func (m *ExternalNetworkParameters) XXX_Size() int

func (*ExternalNetworkParameters) XXX_Unmarshal Uses

func (m *ExternalNetworkParameters) XXX_Unmarshal(b []byte) error

type FlowControlInfo Uses

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 Uses

func (*FlowControlInfo) Descriptor() ([]byte, []int)

func (*FlowControlInfo) GetMaxData Uses

func (m *FlowControlInfo) GetMaxData() uint64

func (*FlowControlInfo) GetStreamId Uses

func (m *FlowControlInfo) GetStreamId() uint64

func (*FlowControlInfo) ProtoMessage Uses

func (*FlowControlInfo) ProtoMessage()

func (*FlowControlInfo) Reset Uses

func (m *FlowControlInfo) Reset()

func (*FlowControlInfo) String Uses

func (m *FlowControlInfo) String() string

func (*FlowControlInfo) XXX_DiscardUnknown Uses

func (m *FlowControlInfo) XXX_DiscardUnknown()

func (*FlowControlInfo) XXX_Marshal Uses

func (m *FlowControlInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FlowControlInfo) XXX_Merge Uses

func (m *FlowControlInfo) XXX_Merge(src proto.Message)

func (*FlowControlInfo) XXX_Size Uses

func (m *FlowControlInfo) XXX_Size() int

func (*FlowControlInfo) XXX_Unmarshal Uses

func (m *FlowControlInfo) XXX_Unmarshal(b []byte) error

type Frame Uses

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 Uses

func (*Frame) Descriptor() ([]byte, []int)

func (*Frame) GetAckInfo Uses

func (m *Frame) GetAckInfo() *AckInfo

func (*Frame) GetCloseInfo Uses

func (m *Frame) GetCloseInfo() *CloseInfo

func (*Frame) GetCryptoFrameInfo Uses

func (m *Frame) GetCryptoFrameInfo() *CryptoFrameInfo

func (*Frame) GetFlowControlInfo Uses

func (m *Frame) GetFlowControlInfo() *FlowControlInfo

func (*Frame) GetFrameType Uses

func (m *Frame) GetFrameType() FrameType

func (*Frame) GetResetStreamInfo Uses

func (m *Frame) GetResetStreamInfo() *ResetStreamInfo

func (*Frame) GetStreamFrameInfo Uses

func (m *Frame) GetStreamFrameInfo() *StreamFrameInfo

func (*Frame) ProtoMessage Uses

func (*Frame) ProtoMessage()

func (*Frame) Reset Uses

func (m *Frame) Reset()

func (*Frame) String Uses

func (m *Frame) String() string

func (*Frame) XXX_DiscardUnknown Uses

func (m *Frame) XXX_DiscardUnknown()

func (*Frame) XXX_Marshal Uses

func (m *Frame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Frame) XXX_Merge Uses

func (m *Frame) XXX_Merge(src proto.Message)

func (*Frame) XXX_Size Uses

func (m *Frame) XXX_Size() int

func (*Frame) XXX_Unmarshal Uses

func (m *Frame) XXX_Unmarshal(b []byte) error

type FrameType Uses

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

func (x FrameType) Enum() *FrameType

func (FrameType) EnumDescriptor Uses

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

func (FrameType) String Uses

func (x FrameType) String() string

func (*FrameType) UnmarshalJSON Uses

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

type ResetStreamInfo Uses

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 Uses

func (*ResetStreamInfo) Descriptor() ([]byte, []int)

func (*ResetStreamInfo) GetApplicationErrorCode Uses

func (m *ResetStreamInfo) GetApplicationErrorCode() uint32

func (*ResetStreamInfo) GetFinalOffset Uses

func (m *ResetStreamInfo) GetFinalOffset() uint64

func (*ResetStreamInfo) GetStreamId Uses

func (m *ResetStreamInfo) GetStreamId() uint64

func (*ResetStreamInfo) ProtoMessage Uses

func (*ResetStreamInfo) ProtoMessage()

func (*ResetStreamInfo) Reset Uses

func (m *ResetStreamInfo) Reset()

func (*ResetStreamInfo) String Uses

func (m *ResetStreamInfo) String() string

func (*ResetStreamInfo) XXX_DiscardUnknown Uses

func (m *ResetStreamInfo) XXX_DiscardUnknown()

func (*ResetStreamInfo) XXX_Marshal Uses

func (m *ResetStreamInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResetStreamInfo) XXX_Merge Uses

func (m *ResetStreamInfo) XXX_Merge(src proto.Message)

func (*ResetStreamInfo) XXX_Size Uses

func (m *ResetStreamInfo) XXX_Size() int

func (*ResetStreamInfo) XXX_Unmarshal Uses

func (m *ResetStreamInfo) XXX_Unmarshal(b []byte) error

type StreamFrameInfo Uses

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 Uses

func (*StreamFrameInfo) Descriptor() ([]byte, []int)

func (*StreamFrameInfo) GetFin Uses

func (m *StreamFrameInfo) GetFin() bool

func (*StreamFrameInfo) GetLength Uses

func (m *StreamFrameInfo) GetLength() uint64

func (*StreamFrameInfo) GetOffset Uses

func (m *StreamFrameInfo) GetOffset() uint64

func (*StreamFrameInfo) GetStreamId Uses

func (m *StreamFrameInfo) GetStreamId() uint64

func (*StreamFrameInfo) ProtoMessage Uses

func (*StreamFrameInfo) ProtoMessage()

func (*StreamFrameInfo) Reset Uses

func (m *StreamFrameInfo) Reset()

func (*StreamFrameInfo) String Uses

func (m *StreamFrameInfo) String() string

func (*StreamFrameInfo) XXX_DiscardUnknown Uses

func (m *StreamFrameInfo) XXX_DiscardUnknown()

func (*StreamFrameInfo) XXX_Marshal Uses

func (m *StreamFrameInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StreamFrameInfo) XXX_Merge Uses

func (m *StreamFrameInfo) XXX_Merge(src proto.Message)

func (*StreamFrameInfo) XXX_Size Uses

func (m *StreamFrameInfo) XXX_Size() int

func (*StreamFrameInfo) XXX_Unmarshal Uses

func (m *StreamFrameInfo) XXX_Unmarshal(b []byte) error

type Trace Uses

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 Uses

func (*Trace) Descriptor() ([]byte, []int)

func (*Trace) GetDestinationConnectionId Uses

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

func (*Trace) GetEvents Uses

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

func (*Trace) GetProtocolVersion Uses

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

func (*Trace) GetSourceConnectionId Uses

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

func (*Trace) ProtoMessage Uses

func (*Trace) ProtoMessage()

func (*Trace) Reset Uses

func (m *Trace) Reset()

func (*Trace) String Uses

func (m *Trace) String() string

func (*Trace) XXX_DiscardUnknown Uses

func (m *Trace) XXX_DiscardUnknown()

func (*Trace) XXX_Marshal Uses

func (m *Trace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Trace) XXX_Merge Uses

func (m *Trace) XXX_Merge(src proto.Message)

func (*Trace) XXX_Size Uses

func (m *Trace) XXX_Size() int

func (*Trace) XXX_Unmarshal Uses

func (m *Trace) XXX_Unmarshal(b []byte) error

type TransmissionReason Uses

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 Uses

func (x TransmissionReason) Enum() *TransmissionReason

func (TransmissionReason) EnumDescriptor Uses

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

func (TransmissionReason) String Uses

func (x TransmissionReason) String() string

func (*TransmissionReason) UnmarshalJSON Uses

func (x *TransmissionReason) UnmarshalJSON(data []byte) error

type TransportState Uses

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 Uses

func (*TransportState) Descriptor() ([]byte, []int)

func (*TransportState) GetCongestionControlState Uses

func (m *TransportState) GetCongestionControlState() string

func (*TransportState) GetCwndBytes Uses

func (m *TransportState) GetCwndBytes() uint64

func (*TransportState) GetInFlightBytes Uses

func (m *TransportState) GetInFlightBytes() uint64

func (*TransportState) GetLastRttUs Uses

func (m *TransportState) GetLastRttUs() uint64

func (*TransportState) GetMinRttUs Uses

func (m *TransportState) GetMinRttUs() uint64

func (*TransportState) GetPacingRateBps Uses

func (m *TransportState) GetPacingRateBps() uint64

func (*TransportState) GetSmoothedRttUs Uses

func (m *TransportState) GetSmoothedRttUs() uint64

func (*TransportState) ProtoMessage Uses

func (*TransportState) ProtoMessage()

func (*TransportState) Reset Uses

func (m *TransportState) Reset()

func (*TransportState) String Uses

func (m *TransportState) String() string

func (*TransportState) XXX_DiscardUnknown Uses

func (m *TransportState) XXX_DiscardUnknown()

func (*TransportState) XXX_Marshal Uses

func (m *TransportState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TransportState) XXX_Merge Uses

func (m *TransportState) XXX_Merge(src proto.Message)

func (*TransportState) XXX_Size Uses

func (m *TransportState) XXX_Size() int

func (*TransportState) XXX_Unmarshal Uses

func (m *TransportState) XXX_Unmarshal(b []byte) error

Package pb imports 3 packages (graph) and is imported by 2 packages. Updated 2019-06-21. Refresh now. Tools for package owners.