Searched refs:bpf_redirect (Results 1 – 16 of 16) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | test_lwt_redirect.c | 51 return bpf_redirect(target, BPF_F_INGRESS); in test_lwt_redirect_in() 65 return bpf_redirect(target, 0); in test_lwt_redirect_out() 76 return bpf_redirect(target, 0); in test_lwt_redirect_out_nomac() 87 return bpf_redirect(target, BPF_F_INGRESS); in test_lwt_redirect_in_nomac()
|
D | test_xdp_redirect.c | 18 return bpf_redirect(111, 0); in xdp_redirect_to_111() 23 return bpf_redirect(222, 0); in xdp_redirect_to_222()
|
D | test_tc_peer.c | 40 return bpf_redirect(IFINDEX_SRC, 0); in tc_dst_l3()
|
D | test_xdp_do_redirect.c | 62 return bpf_redirect(ifindex_out, 0); in xdp_redirect()
|
D | test_tc_neigh_fib.c | 137 return bpf_redirect(fib_params.ifindex, 0); in tc_redir()
|
D | test_cls_redirect_dynptr.c | 288 return bpf_redirect(skb->ifindex, BPF_F_INGRESS); in accept_locally() 415 return bpf_redirect(skb->ifindex, 0); in forward_with_gre() 453 return bpf_redirect(skb->ifindex, 0); in forward_to_next_hop()
|
D | test_cls_redirect.c | 396 return bpf_redirect(skb->ifindex, BPF_F_INGRESS); in accept_locally() 523 return bpf_redirect(skb->ifindex, 0); in forward_with_gre() 560 return bpf_redirect(skb->ifindex, 0); in forward_to_next_hop()
|
D | test_l4lb_noinline.c | 447 return bpf_redirect(ifindex, 0); in process_packet()
|
D | test_l4lb.c | 448 return bpf_redirect(ifindex, 0); in process_packet()
|
D | test_l4lb_noinline_dynptr.c | 454 return bpf_redirect(ifindex, 0); in process_packet()
|
D | xdp_synproxy_kern.c | 857 return bpf_redirect(skb->ifindex, 0); in syncookie_tc()
|
/linux-6.6.21/samples/bpf/ |
D | tc_l2_redirect_kern.c | 88 return bpf_redirect(*ifindex, BPF_F_INGRESS); in _l2_to_iptun_ingress_forward() 103 return bpf_redirect(*ifindex, BPF_F_INGRESS); in _l2_to_iptun_ingress_forward() 147 return bpf_redirect(*ifindex, 0); in _l2_to_iptun_ingress_redirect() 202 return bpf_redirect(*ifindex, 0); in _l2_to_ip6tun_ingress_redirect()
|
D | tcbpf1_kern.c | 72 return bpf_redirect(skb->ifindex + 1, 0); in _redirect_xmit() 77 return bpf_redirect(skb->ifindex + 1, 1); in _redirect_recv()
|
D | test_lwt_bpf.c | 181 return bpf_redirect(ifindex, 0); in __do_push_ll_and_redirect() 234 return bpf_redirect(ifindex, 0); in do_fill_garbage_and_redirect()
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | nat6to4.c | 146 return bpf_redirect(skb->ifindex, BPF_F_INGRESS); in sched_cls_ingress6_nat_6_prog()
|
/linux-6.6.21/net/core/ |
D | filter.c | 2506 BPF_CALL_2(bpf_redirect, u32, ifindex, u64, flags) in BPF_CALL_2() argument 2520 .func = bpf_redirect,
|