Home
last modified time | relevance | path

Searched refs:skb_verdict (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/net/core/
Dsock_map.c159 if (psock->saved_data_ready && stab->progs.skb_verdict) in sock_map_del_link()
222 struct bpf_prog *skb_verdict = NULL; in sock_map_link() local
252 skb_verdict = READ_ONCE(progs->skb_verdict); in sock_map_link()
253 if (skb_verdict) { in sock_map_link()
254 skb_verdict = bpf_prog_inc_not_zero(skb_verdict); in sock_map_link()
255 if (IS_ERR(skb_verdict)) { in sock_map_link()
256 ret = PTR_ERR(skb_verdict); in sock_map_link()
270 (skb_verdict && READ_ONCE(psock->progs.skb_verdict)) || in sock_map_link()
271 (skb_verdict && READ_ONCE(psock->progs.stream_verdict)) || in sock_map_link()
272 (stream_verdict && READ_ONCE(psock->progs.skb_verdict)) || in sock_map_link()
[all …]
Dskmsg.c846 else if (psock->progs.stream_verdict || psock->progs.skb_verdict) in sk_psock_drop()
1194 prog = READ_ONCE(psock->progs.skb_verdict); in sk_psock_verdict_recv()
1231 psock_set_prog(&psock->progs.skb_verdict, NULL); in sk_psock_stop_verdict()
/linux-6.1.9/include/linux/
Dskmsg.h60 struct bpf_prog *skb_verdict; member
490 psock_set_prog(&progs->skb_verdict, NULL); in psock_progs_drop()
/linux-6.1.9/net/ipv4/
Dtcp_bpf.c601 if (psock->progs.stream_verdict || psock->progs.skb_verdict) { in tcp_bpf_update_proto()