Lines Matching refs:instructions
302 instructions = [
305 instructions += INS_SK_FILTER_ACCEPT
306 self.prog_fd = BpfProgLoad(BPF_PROG_TYPE_SOCKET_FILTER, instructions)
320 instructions = [
325 instructions += (INS_BPF_PARAM_STORE + BpfFuncCountPacketInit(self.map_fd)
328 self.prog_fd = BpfProgLoad(BPF_PROG_TYPE_SOCKET_FILTER, instructions)
357 instructions = [
362 self.prog_fd = BpfProgLoad(BPF_PROG_TYPE_SCHED_CLS, instructions,
367 instructions = [BpfFuncCall(BPF_FUNC_ktime_get_ns)] + INS_BPF_EXIT_BLOCK
368 self.prog_fd = BpfProgLoad(BPF_PROG_TYPE_SCHED_CLS, instructions)
389 instructions = [BpfFuncCall(BPF_FUNC_ktime_get_ns)] + INS_BPF_EXIT_BLOCK
390 self.prog_fd = BpfProgLoad(BPF_PROG_TYPE_SCHED_CLS, instructions,
412 instructions = [
415 self.prog_fd = BpfProgLoad(BPF_PROG_TYPE_SCHED_CLS, instructions,
424 instructions = [
428 instructions += (INS_BPF_PARAM_STORE + BpfFuncCountPacketInit(self.map_fd)
431 self.prog_fd = BpfProgLoad(BPF_PROG_TYPE_SOCKET_FILTER, instructions)
445 instructions = [
450 instructions += (INS_BPF_PARAM_STORE + BpfFuncCountPacketInit(self.map_fd)
453 self.prog_fd = BpfProgLoad(BPF_PROG_TYPE_SOCKET_FILTER, instructions)
541 instructions = [
545 instructions += (INS_BPF_PARAM_STORE + BpfFuncCountPacketInit(self.map_fd)
548 self.prog_fd = BpfProgLoad(BPF_PROG_TYPE_CGROUP_SKB, instructions)
582 instructions = [
587 instructions += INS_BPF_EXIT_BLOCK + INS_CGROUP_ACCEPT
588 self.prog_fd = BpfProgLoad(BPF_PROG_TYPE_CGROUP_SOCK, instructions)