Searched refs:curr_prog_id (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/samples/bpf/ |
D | xdp1_user.c | 26 __u32 curr_prog_id = 0; in int_exit() local 28 if (bpf_xdp_query_id(ifindex, xdp_flags, &curr_prog_id)) { in int_exit() 32 if (prog_id == curr_prog_id) in int_exit() 34 else if (!curr_prog_id) in int_exit()
|
D | xdp_adjust_tail_user.c | 33 __u32 curr_prog_id = 0; in int_exit() local 36 if (bpf_xdp_query_id(ifindex, xdp_flags, &curr_prog_id)) { in int_exit() 40 if (prog_id == curr_prog_id) in int_exit() 42 else if (!curr_prog_id) in int_exit()
|
D | xdp_sample_pkts_user.c | 50 __u32 curr_prog_id = 0; in do_detach() local 53 err = bpf_xdp_query_id(idx, xdp_flags, &curr_prog_id); in do_detach() 58 if (prog_id == curr_prog_id) { in do_detach() 62 } else if (!curr_prog_id) { in do_detach()
|
D | xdp_fwd_user.c | 55 __u32 info_len, curr_prog_id; in do_detach() local 59 if (bpf_xdp_query_id(ifindex, xdp_flags, &curr_prog_id)) { in do_detach() 65 if (!curr_prog_id) { in do_detach() 72 prog_fd = bpf_prog_get_fd_by_id(curr_prog_id); in do_detach()
|
D | xdp_tx_iptunnel_user.c | 31 __u32 curr_prog_id = 0; in int_exit() local 34 if (bpf_xdp_query_id(ifindex, xdp_flags, &curr_prog_id)) { in int_exit() 38 if (prog_id == curr_prog_id) in int_exit() 40 else if (!curr_prog_id) in int_exit()
|
D | xdp_rxq_info_user.c | 64 __u32 curr_prog_id = 0; in int_exit() local 67 if (bpf_xdp_query_id(ifindex, xdp_flags, &curr_prog_id)) { in int_exit() 71 if (prog_id == curr_prog_id) { in int_exit() 76 } else if (!curr_prog_id) { in int_exit()
|