Home
last modified time | relevance | path

Searched refs:op (Results 1 – 5 of 5) sorted by relevance

/kernel/tests/net/test/
Dsock_diag.py217 for op, yes, no, arg in instructions:
222 if op in [INET_DIAG_BC_NOP, INET_DIAG_BC_JMP, INET_DIAG_BC_AUTO]:
224 elif op in [INET_DIAG_BC_S_GE, INET_DIAG_BC_S_LE,
227 elif op in [INET_DIAG_BC_S_COND, INET_DIAG_BC_D_COND]:
232 elif op == INET_DIAG_BC_MARK_COND:
239 raise ValueError("Unsupported opcode %d" % op)
252 for i, (op, yes, no, arg) in enumerate(instructions):
255 instruction = InetDiagBcOp((op, yes, no)).Pack() + args[i]
268 op, rest = cstruct.Read(bytecode, InetDiagBcOp)
270 if op.code in [INET_DIAG_BC_NOP, INET_DIAG_BC_JMP, INET_DIAG_BC_AUTO]:
[all …]
Dbpf.py205 def BpfSyscall(op, attr): argument
206 ret = libc.syscall(__NR_bpf, op, csocket.VoidPointer(attr), len(attr))
320 def BpfAlu64Imm(op, dst, imm): argument
321 code = BPF_ALU64 | (op & 0xf0) | BPF_K
327 def BpfJumpImm(op, dst, imm, off): argument
328 code = BPF_JMP | (op & 0xf0) | BPF_K
Dsock_diag_test.py381 op = sock_diag.SOCK_DIAG_BY_FAMILY
382 DiagDump(op) # No errors? Good.
383 self.assertRaisesErrno(EINVAL, DiagDump, op + 17)
Dneighbour_test.py186 expected = scapy.ARP(psrc=src, pdst=dst, hwsrc=llsrc, op=1)
/kernel/prebuilts/5.10/x86_64/
Dmodules.builtin.modinfo11 …author=Brad Fisher <brad@info-link.net>�xt_comment.description=Xtables: No-op match which can be t…