Searched refs:bpf_curr (Results 1 – 1 of 1) sorted by relevance
/tools/net/ |
D | bpf_dbg.c | 136 static struct bpf_regs bpf_curr; variable 578 memset(&bpf_curr, 0, sizeof(bpf_curr)); in bpf_reset() 583 memcpy(&bpf_regs[bpf_regs_len++], &bpf_curr, sizeof(bpf_curr)); in bpf_safe_regs() 594 memcpy(&bpf_curr, &bpf_regs[index], sizeof(bpf_curr)); in bpf_restore_regs() 871 while (bpf_curr.Rs == false && stop == false) { in bpf_run_all() 874 if (bpf_pc_has_breakpoint(bpf_curr.Pc)) in bpf_run_all() 875 stop = bpf_handle_breakpoint(&bpf_curr, f, pkt, in bpf_run_all() 878 bpf_single_step(&bpf_curr, &f[bpf_curr.Pc], pkt, pkt_caplen, in bpf_run_all() 880 bpf_curr.Pc++; in bpf_run_all() 883 return stop ? -1 : bpf_curr.R; in bpf_run_all() [all …]
|