def bpf_step.of
import bend-osdev-bpf@0.1.0.0/bpf.bend as Bpfimport Base
95# a step that goes on to the next instruction, or ends the program with 0
96def bpf_step.of(m: Maybe<&2, BpfState>) -> BpfStep:
97 match m:
98 case None{}:
99 BpfStop{0}
100 case Some{st}:
101 BpfNext{0n, st}