Home
last modified time | relevance | path

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

/samples/bpf/
Dxdp1_user.c27 __u32 curr_prog_id = 0; in int_exit() local
29 if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { in int_exit()
33 if (prog_id == curr_prog_id) in int_exit()
35 else if (!curr_prog_id) in int_exit()
Dxdp_adjust_tail_user.c34 __u32 curr_prog_id = 0; in int_exit() local
37 if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { in int_exit()
41 if (prog_id == curr_prog_id) in int_exit()
43 else if (!curr_prog_id) in int_exit()
Dxdp_sample_pkts_user.c51 __u32 curr_prog_id = 0; in do_detach() local
54 err = bpf_get_link_xdp_id(idx, &curr_prog_id, xdp_flags); in do_detach()
59 if (prog_id == curr_prog_id) { in do_detach()
63 } else if (!curr_prog_id) { in do_detach()
Dxdp_tx_iptunnel_user.c32 __u32 curr_prog_id = 0; in int_exit() local
35 if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { in int_exit()
39 if (prog_id == curr_prog_id) in int_exit()
41 else if (!curr_prog_id) in int_exit()
Dxdp_rxq_info_user.c62 __u32 curr_prog_id = 0; in int_exit() local
65 if (bpf_get_link_xdp_id(ifindex, &curr_prog_id, xdp_flags)) { in int_exit()
69 if (prog_id == curr_prog_id) { in int_exit()
74 } else if (!curr_prog_id) { in int_exit()
Dxdpsock_user.c465 u32 curr_prog_id = 0; in remove_xdp_program() local
467 if (bpf_get_link_xdp_id(opt_ifindex, &curr_prog_id, opt_xdp_flags)) { in remove_xdp_program()
472 if (prog_id == curr_prog_id) in remove_xdp_program()
474 else if (!curr_prog_id) in remove_xdp_program()