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

Struct LoadConstant

bpf/instructions.go:185–188  ·  view source on GitHub ↗

LoadConstant loads Val into register Dst.

Source from the content-addressed store, hash-verified

183
184// LoadConstant loads Val into register Dst.
185type LoadConstant struct {
186 Dst Register
187 Val uint32
188}
189
190// Assemble implements the Instruction Assemble method.
191func (a LoadConstant) Assemble() (RawInstruction, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected