Searched refs:BPF_F_INGRESS (Results 1 - 13 of 13) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dempty_skb.c14 ret = bpf_clone_redirect(skb, ifindex, BPF_F_INGRESS);
28 ret = bpf_clone_redirect(skb, ifindex, BPF_F_INGRESS);
H A Dtest_lwt_redirect.c51 return bpf_redirect(target, BPF_F_INGRESS);
87 return bpf_redirect(target, BPF_F_INGRESS);
H A Dtest_sockmap_listen.c89 test_ingress ? BPF_F_INGRESS : 0);
92 test_ingress ? BPF_F_INGRESS : 0);
H A Dtest_cls_redirect.c399 return bpf_redirect(skb->ifindex, BPF_F_INGRESS);
H A Dtest_cls_redirect_dynptr.c290 return bpf_redirect(skb->ifindex, BPF_F_INGRESS);
/linux-master/samples/bpf/
H A Dtc_l2_redirect_kern.c88 return bpf_redirect(*ifindex, BPF_F_INGRESS);
103 return bpf_redirect(*ifindex, BPF_F_INGRESS);
/linux-master/include/linux/
H A Dskmsg.h232 return msg->flags & BPF_F_INGRESS;
513 #define BPF_F_PTR_MASK ~(BPF_F_INGRESS | BPF_F_STRPARSER)
531 return sk_redir & BPF_F_INGRESS;
536 skb->_sk_redir |= BPF_F_INGRESS;
544 skb->_sk_redir |= BPF_F_INGRESS;
/linux-master/net/core/
H A Dsock_map.c644 if (unlikely(flags & ~(BPF_F_INGRESS)))
651 skb_bpf_set_redir(skb, sk, flags & BPF_F_INGRESS);
670 if (unlikely(flags & ~(BPF_F_INGRESS)))
676 if (!(flags & BPF_F_INGRESS) && !sk_is_tcp(sk))
1248 if (unlikely(flags & ~(BPF_F_INGRESS)))
1255 skb_bpf_set_redir(skb, sk, flags & BPF_F_INGRESS);
1274 if (unlikely(flags & ~(BPF_F_INGRESS)))
1280 if (!(flags & BPF_F_INGRESS) && !sk_is_tcp(sk))
H A Dfilter.c2165 return flags & BPF_F_INGRESS ?
2179 return flags & BPF_F_INGRESS ?
2438 if (unlikely(flags & (~(BPF_F_INGRESS) | BPF_F_REDIRECT_INTERNAL)))
2522 if (unlikely(flags & (~(BPF_F_INGRESS) | BPF_F_REDIRECT_INTERNAL)))
/linux-master/tools/testing/selftests/net/
H A Dnat6to4.c146 return bpf_redirect(skb->ifindex, BPF_F_INGRESS);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_sockmap.c1168 int in = BPF_F_INGRESS;
1201 int ingress = BPF_F_INGRESS;
1231 int ingress = BPF_F_INGRESS;
/linux-master/include/uapi/linux/
H A Dbpf.h2077 * interfaces can be used for redirection. The **BPF_F_INGRESS**
2308 * for redirection. The **BPF_F_INGRESS** value in *flags* is used
2543 * recirculate via **redirect**\ (..., **BPF_F_INGRESS**), for
2942 * **BPF_F_INGRESS** value in *flags* is used to make the
3157 * **BPF_F_INGRESS** value in *flags* is used to make the
3434 * **BPF_F_INGRESS** value in *flags* is used to make the
3448 * **BPF_F_INGRESS** value in *flags* is used to make the
6041 BPF_F_INGRESS = (1ULL << 0), enumerator in enum:__anon2634
/linux-master/tools/include/uapi/linux/
H A Dbpf.h2077 * interfaces can be used for redirection. The **BPF_F_INGRESS**
2308 * for redirection. The **BPF_F_INGRESS** value in *flags* is used
2543 * recirculate via **redirect**\ (..., **BPF_F_INGRESS**), for
2942 * **BPF_F_INGRESS** value in *flags* is used to make the
3157 * **BPF_F_INGRESS** value in *flags* is used to make the
3434 * **BPF_F_INGRESS** value in *flags* is used to make the
3448 * **BPF_F_INGRESS** value in *flags* is used to make the
6041 BPF_F_INGRESS = (1ULL << 0), enumerator in enum:__anon3175

Completed in 355 milliseconds