Home
last modified time | relevance | path

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

/linux-6.1.9/samples/bpf/
Dxdp1_user.c26 __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()
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_sample_pkts_user.c50 __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()
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()
Dxdp_rxq_info_user.c64 __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()