Home
last modified time | relevance | path

Searched refs:curr_prog_id (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/samples/bpf/
Dxdp_adjust_tail_user.c33 __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()
Dxdp_fwd_user.c55 __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()
Dxdp_tx_iptunnel_user.c31 __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()