law short_packet

bend-osdev-bpf@0.1.0.0 · LAWS.bend:196

import bend-osdev-bpf@0.1.0.0/LAWS.bend as LAWS
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-osdev-bpf@0.1.0.0/insn.bend as I
import bend-osdev-bpf@0.1.0.0/bpf.bend as R

196# a load past the end of the input answers 0
197law short_packet:
198  {R.bpf_run(R.bpf_packet(B.Octets.of_list([8, 0, 69])), finger()) == Done{0} : Result<&2, &2, I.BpfError, U32>}

Uses (8)

Used by (0)

No other definition uses this definition.