Searched refs:BPF_F_INGRESS (Results 1 - 13 of 13) sorted by relevance
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | empty_skb.c | 14 ret = bpf_clone_redirect(skb, ifindex, BPF_F_INGRESS); 28 ret = bpf_clone_redirect(skb, ifindex, BPF_F_INGRESS);
|
H A D | test_lwt_redirect.c | 51 return bpf_redirect(target, BPF_F_INGRESS); 87 return bpf_redirect(target, BPF_F_INGRESS);
|
H A D | test_sockmap_listen.c | 89 test_ingress ? BPF_F_INGRESS : 0); 92 test_ingress ? BPF_F_INGRESS : 0);
|
H A D | test_cls_redirect.c | 399 return bpf_redirect(skb->ifindex, BPF_F_INGRESS);
|
H A D | test_cls_redirect_dynptr.c | 290 return bpf_redirect(skb->ifindex, BPF_F_INGRESS);
|
/linux-master/samples/bpf/ |
H A D | tc_l2_redirect_kern.c | 88 return bpf_redirect(*ifindex, BPF_F_INGRESS); 103 return bpf_redirect(*ifindex, BPF_F_INGRESS);
|
/linux-master/include/linux/ |
H A D | skmsg.h | 232 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 D | sock_map.c | 644 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 D | filter.c | 2165 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 D | nat6to4.c | 146 return bpf_redirect(skb->ifindex, BPF_F_INGRESS);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_sockmap.c | 1168 int in = BPF_F_INGRESS; 1201 int ingress = BPF_F_INGRESS; 1231 int ingress = BPF_F_INGRESS;
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 2077 * 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 D | bpf.h | 2077 * 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