http2

package
v0.0.0-...-daad6bc Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package http2 provides a HTTP/2 implementation for the network package for supporting HTTP/2 and gRPC monitoring with USM.

Index

Constants

View Source
const (
	HTTP2TerminatedBatchSize = 0x55

	Http2MaxHeadersCountPerFiltering = 0x21
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnTuple

type ConnTuple = struct {
	Saddr_h  uint64
	Saddr_l  uint64
	Daddr_h  uint64
	Daddr_l  uint64
	Sport    uint16
	Dport    uint16
	Netns    uint32
	Pid      uint32
	Metadata uint32
}

type EbpfTx

type EbpfTx struct {
	Tuple  ConnTuple
	Stream HTTP2Stream
}

type HTTP2DynamicTableEntry

type HTTP2DynamicTableEntry struct {
	Buffer             [160]int8
	Original_index     uint32
	String_len         uint8
	Is_huffman_encoded bool
	Pad_cgo_0          [2]byte
}

type HTTP2DynamicTableIndex

type HTTP2DynamicTableIndex struct {
	Index uint64
	Tup   ConnTuple
}

type HTTP2RemainderEntry

type HTTP2RemainderEntry struct {
	Remainder uint32
	Length    uint32
	Buf       [9]byte
	Pad_cgo_0 [3]byte
}

type HTTP2Stream

type HTTP2Stream struct {
	Response_last_seen uint64
	Request_started    uint64
	Tags               uint8
	Status_code        http2StatusCode
	Request_method     http2requestMethod
	Path               http2Path
	End_of_stream_seen bool
	Pad_cgo_0          [1]byte
}

type HTTP2StreamKey

type HTTP2StreamKey struct {
	Tup       ConnTuple
	Id        uint32
	Pad_cgo_0 [4]byte
}

type HTTP2Telemetry

type HTTP2Telemetry struct {
	Request_seen                     uint64
	Response_seen                    uint64
	End_of_stream                    uint64
	End_of_stream_rst                uint64
	Literal_value_exceeds_frame      uint64
	Exceeding_max_interesting_frames uint64
	Exceeding_max_frames_to_filter   uint64
	Path_size_bucket                 [8]uint64
}

type StaticTableEnumValue

type StaticTableEnumValue = uint8
const (
	GetValue       StaticTableEnumValue = 0x2
	PostValue      StaticTableEnumValue = 0x3
	EmptyPathValue StaticTableEnumValue = 0x4
	IndexPathValue StaticTableEnumValue = 0x5
	K200Value      StaticTableEnumValue = 0x8
	K204Value      StaticTableEnumValue = 0x9
	K206Value      StaticTableEnumValue = 0xa
	K304Value      StaticTableEnumValue = 0xb
	K400Value      StaticTableEnumValue = 0xc
	K404Value      StaticTableEnumValue = 0xd
	K500Value      StaticTableEnumValue = 0xe
)

Jump to

Keyboard shortcuts

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