Searched refs:curr_prog_id (Results 1 – 6 of 6) sorted by relevance
/samples/bpf/ |
D | xdp1_user.c | 27 __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()
|
D | xdp_adjust_tail_user.c | 34 __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()
|
D | xdp_sample_pkts_user.c | 51 __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()
|
D | xdp_tx_iptunnel_user.c | 32 __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()
|
D | xdp_rxq_info_user.c | 62 __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()
|
D | xdpsock_user.c | 465 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()
|