Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dbpf_test.py234 instructions = [
237 instructions += INS_SK_FILTER_ACCEPT
238 self.prog_fd = BpfProgLoad(BPF_PROG_TYPE_SOCKET_FILTER, instructions)
252 instructions = [
257 instructions += (INS_BPF_PARAM_STORE + BpfFuncCountPacketInit(self.map_fd)
260 self.prog_fd = BpfProgLoad(BPF_PROG_TYPE_SOCKET_FILTER, instructions)
273 instructions = [
277 instructions += (INS_BPF_PARAM_STORE + BpfFuncCountPacketInit(self.map_fd)
280 self.prog_fd = BpfProgLoad(BPF_PROG_TYPE_SOCKET_FILTER, instructions)
296 instructions = [
[all …]
Dsock_diag.py174 def PackBytecode(instructions): argument
217 for op, yes, no, arg in instructions:
247 assert len(args) == len(instructions) == len(positions) - 2
252 for i, (op, yes, no, arg) in enumerate(instructions):
265 instructions = []
293 instructions.append((op, arg))
296 return instructions
Dsock_diag_test.py151 def PackAndCheckBytecode(self, instructions): argument
152 bytecode = self.sock_diag.PackBytecode(instructions)
154 self.assertEquals(len(instructions), len(decoded))
263 instructions = [
275 bytecode = self.PackAndCheckBytecode(instructions)
300 instructions = [
306 bytecode = self.PackAndCheckBytecode(instructions)
1044 instructions = [(sock_diag.INET_DIAG_BC_MARK_COND, 1, 2, (mark, mask))]
1045 bytecode = self.sock_diag.PackBytecode(instructions)
Dbpf.py233 def BpfProgLoad(prog_type, instructions): argument
234 bpf_prog = "".join(instructions)
/kernel/build/abi/
DREADME.md7 future. Follow the instructions below to set up the current prerequisites.
16 At the very end the script will print instructions how to add the binaries to