Seccomp.seccomp_path_len: def of bend-osdev-bpf@0.1.0.0 Import: import bend-osdev-bpf@0.1.0.0/seccomp.bend as Seccomp Lines 295-300 of bend-osdev-bpf@0.1.0.0/seccomp.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-bpf@0.1.0.0/seccomp.bend&start_line=295&end_line=300 import Base import bend-osdev-bpf@0.1.0.0/insn.bend as I import bend-osdev-bpf@0.1.0.0/validate.bend as V def seccomp_path_len(stack: List<&2, List<&2, I.BpfOp>>) -> Nat: match stack: case Nil{}: 0n case Con{f, rest}: Nat.add(Nat.add(V.bpf_count(f), 4n), seccomp_path_len(rest)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=bend-osdev-bpf@0.1.0.0/insn.bend&name=BpfOp https://jend.leeeet.dev/definition.txt?path=bend-osdev-bpf@0.1.0.0/validate.bend&name=bpf_count