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

Struct LoadAbsolute

bpf/instructions.go:235–238  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

233// LoadAbsolute loads packet[Off:Off+Size] as an integer value into
234// register A.
235type LoadAbsolute struct {
236 Off uint32
237 Size int // 1, 2 or 4
238}
239
240// Assemble implements the Instruction Assemble method.
241func (a LoadAbsolute) Assemble() (RawInstruction, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected