Home
last modified time | relevance | path

Searched refs:BpfInsn (Results 1 – 2 of 2) sorted by relevance

/kernel/tests/net/test/
Dbpf.py136 BpfInsn = cstruct.Struct("bpf_insn", "=BBhi", "code dst_src_reg off imm") variable
213 ret = BpfInsn((code, dst_src, 0, 0))
220 ret = BpfInsn((code, dst_src, off, 0))
227 ret = BpfInsn((code, dst_src, off, 0))
234 ret = BpfInsn((code, dst_src, off, imm))
241 ret = BpfInsn((code, dst_src, 0, imm))
248 ret = BpfInsn((code, dst_src, off, imm))
253 ret = BpfInsn((code, (src << 4 | dst), off, imm))
260 ret = BpfInsn((code, dst_src, 0, imm))
266 ret = BpfInsn((code, 0, 0, 0))
[all …]
Dbpf_test.py71 len(insn_buff), BpfInsn._length)
91 len(insn_buff), BpfInsn._length)
134 len(insn_buff), BpfInsn._length)