Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv4/
Dtcp_bpf.c320 struct sock *sk_redir; in tcp_bpf_send_verdict() local
365 sk_redir = psock->sk_redir; in tcp_bpf_send_verdict()
371 psock->sk_redir = NULL; in tcp_bpf_send_verdict()
381 ret = tcp_bpf_sendmsg_redir(sk_redir, msg, tosend, flags); in tcp_bpf_send_verdict()
385 sock_put(sk_redir); in tcp_bpf_send_verdict()
412 if (psock->sk_redir) { in tcp_bpf_send_verdict()
413 sock_put(psock->sk_redir); in tcp_bpf_send_verdict()
414 psock->sk_redir = NULL; in tcp_bpf_send_verdict()
/kernel/linux/linux-5.10/net/core/
Dskmsg.c684 if (psock->sk_redir) in sk_psock_destroy_deferred()
685 sock_put(psock->sk_redir); in sk_psock_destroy_deferred()
746 ret = sk_psock_map_verd(ret, msg->sk_redir); in sk_psock_msg_verdict()
749 if (psock->sk_redir) in sk_psock_msg_verdict()
750 sock_put(psock->sk_redir); in sk_psock_msg_verdict()
751 psock->sk_redir = msg->sk_redir; in sk_psock_msg_verdict()
752 if (!psock->sk_redir) { in sk_psock_msg_verdict()
756 sock_hold(psock->sk_redir); in sk_psock_msg_verdict()
Dsock_map.c682 tcb->bpf.sk_redir = sk; in BPF_CALL_4()
709 msg->sk_redir = sk; in BPF_CALL_4()
1295 tcb->bpf.sk_redir = sk; in BPF_CALL_4()
1322 msg->sk_redir = sk; in BPF_CALL_4()
/kernel/linux/linux-5.10/include/linux/
Dskmsg.h52 struct sock *sk_redir; member
87 struct sock *sk_redir; member
/kernel/linux/linux-5.10/net/tls/
Dtls_sw.c803 struct sock *sk_redir; in bpf_exec_tx_verdict() local
850 sk_redir = psock->sk_redir; in bpf_exec_tx_verdict()
859 err = tcp_bpf_sendmsg_redir(sk_redir, &msg_redir, send, flags); in bpf_exec_tx_verdict()
892 if (psock->sk_redir) { in bpf_exec_tx_verdict()
893 sock_put(psock->sk_redir); in bpf_exec_tx_verdict()
894 psock->sk_redir = NULL; in bpf_exec_tx_verdict()
/kernel/linux/linux-5.10/include/net/
Dtcp.h882 struct sock *sk_redir; member
902 return TCP_SKB_CB(skb)->bpf.sk_redir; in tcp_skb_bpf_redirect_fetch()
907 TCP_SKB_CB(skb)->bpf.sk_redir = NULL; in tcp_skb_bpf_redirect_clear()