Searched refs:sk_redir (Results 1 – 6 of 6) sorted by relevance
320 struct sock *sk_redir; in tcp_bpf_send_verdict() local365 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()
684 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()
682 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()
52 struct sock *sk_redir; member87 struct sock *sk_redir; member
803 struct sock *sk_redir; in bpf_exec_tx_verdict() local850 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()
882 struct sock *sk_redir; member902 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()