Searched refs:bpf_redirect (Results 1 – 16 of 16) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A 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()
|
H A 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()
|
H A D | test_tc_peer.c | 40 return bpf_redirect(IFINDEX_SRC, 0); in tc_dst_l3()
|
H A D | test_xdp_do_redirect.c | 62 return bpf_redirect(ifindex_out, 0); in xdp_redirect()
|
H A D | test_tc_neigh_fib.c | 137 return bpf_redirect(fib_params.ifindex, 0); in tc_redir()
|
H A D | test_cls_redirect.c | 399 return bpf_redirect(skb->ifindex, BPF_F_INGRESS); in accept_locally() 526 return bpf_redirect(skb->ifindex, 0); in forward_with_gre() 563 return bpf_redirect(skb->ifindex, 0); in forward_to_next_hop()
|
H A D | test_cls_redirect_dynptr.c | 290 return bpf_redirect(skb->ifindex, BPF_F_INGRESS); in accept_locally() 417 return bpf_redirect(skb->ifindex, 0); in forward_with_gre() 455 return bpf_redirect(skb->ifindex, 0); in forward_to_next_hop()
|
H A D | test_l4lb_noinline.c | 447 return bpf_redirect(ifindex, 0); in process_packet()
|
H A D | test_l4lb.c | 448 return bpf_redirect(ifindex, 0); in process_packet()
|
H A D | test_l4lb_noinline_dynptr.c | 454 return bpf_redirect(ifindex, 0); in process_packet()
|
H A D | test_tcp_custom_syncookie.c | 457 return bpf_redirect(ctx->skb->ifindex, 0); in tcp_handle_syn()
|
H A D | xdp_synproxy_kern.c | 859 return bpf_redirect(skb->ifindex, 0); in syncookie_tc()
|
/linux/samples/bpf/ |
H A 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()
|
H A 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/tools/testing/selftests/net/ |
H A D | nat6to4.bpf.c | 146 return bpf_redirect(skb->ifindex, BPF_F_INGRESS); in sched_cls_ingress6_nat_6_prog()
|
/linux/net/core/ |
H A D | filter.c | 2515 BPF_CALL_2(bpf_redirect, u32, ifindex, u64, flags) in BPF_CALL_2() argument 2529 .func = bpf_redirect,
|