MCPcopy
hub / github.com/golang/net / LoadIndirect

Struct LoadIndirect

bpf/instructions.go:264–267  ·  view source on GitHub ↗

LoadIndirect loads packet[X+Off:X+Off+Size] as an integer value into register A.

Source from the content-addressed store, hash-verified

262// LoadIndirect loads packet[X+Off:X+Off+Size] as an integer value
263// into register A.
264type LoadIndirect struct {
265 Off uint32
266 Size int // 1, 2 or 4
267}
268
269// Assemble implements the Instruction Assemble method.
270func (a LoadIndirect) Assemble() (RawInstruction, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected