Home
last modified time | relevance | path

Searched refs:stream_verdict (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/net/core/
Dsock_map.c153 if (psock->saved_data_ready && progs->stream_verdict) in sock_map_del_link()
216 struct bpf_prog *stream_verdict = NULL; in sock_map_link() local
223 stream_verdict = READ_ONCE(progs->stream_verdict); in sock_map_link()
224 if (stream_verdict) { in sock_map_link()
225 stream_verdict = bpf_prog_inc_not_zero(stream_verdict); in sock_map_link()
226 if (IS_ERR(stream_verdict)) in sock_map_link()
227 return PTR_ERR(stream_verdict); in sock_map_link()
267 (skb_verdict && READ_ONCE(psock->progs.stream_verdict)) || in sock_map_link()
268 (stream_verdict && READ_ONCE(psock->progs.skb_verdict)) || in sock_map_link()
269 (stream_verdict && READ_ONCE(psock->progs.stream_verdict))) { in sock_map_link()
[all …]
Dskmsg.c840 else if (psock->progs.stream_verdict || psock->progs.skb_verdict) in sk_psock_drop()
959 prog = READ_ONCE(psock->progs.stream_verdict); in sk_psock_tls_strp_read()
1067 prog = READ_ONCE(psock->progs.stream_verdict); in sk_psock_strp_read()
1191 prog = READ_ONCE(psock->progs.stream_verdict); in sk_psock_verdict_recv()
1245 psock_set_prog(&psock->progs.stream_verdict, NULL); in sk_psock_stop_verdict()
/Linux-v6.6/Documentation/bpf/
Dmap_sockmap.rst49 struct bpf_prog *stream_verdict;
54 Users are not allowed to attach ``stream_verdict`` and ``skb_verdict``
61 - ``stream_verdict`` program - ``BPF_SK_SKB_STREAM_VERDICT``.
380 SEC("sk_skb/stream_verdict")
425 SEC("sk_skb/stream_verdict")
/Linux-v6.6/include/linux/
Dskmsg.h59 struct bpf_prog *stream_verdict; member
489 psock_set_prog(&progs->stream_verdict, NULL); in psock_progs_drop()
/Linux-v6.6/Documentation/bpf/libbpf/
Dprogram_types.rst142 … | ``BPF_SK_SKB_STREAM_VERDICT`` | ``sk_skb/stream_verdict`` | …
/Linux-v6.6/net/ipv4/
Dtcp_bpf.c654 if (psock->progs.stream_verdict || psock->progs.skb_verdict) { in tcp_bpf_update_proto()