ebpf

package
v0.0.0-...-45a9bcf Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BufferSize = 0xa0
)

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 EbpfEvent

type EbpfEvent struct {
	Tuple ConnTuple
	Tx    EbpfTx
}

type EbpfTx

type EbpfTx struct {
	Request_fragment    [160]byte
	Request_started     uint64
	Response_last_seen  uint64
	Original_query_size uint32
	Tags                uint8
	Pad_cgo_0           [3]byte
}

Jump to

Keyboard shortcuts

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