Searched refs:sk_redir (Results 1 – 5 of 5) sorted by relevance
52 struct sock *sk_redir; member82 struct sock *sk_redir; member531 unsigned long sk_redir = skb->_sk_redir; in skb_bpf_strparser() local533 return sk_redir & BPF_F_STRPARSER; in skb_bpf_strparser()543 unsigned long sk_redir = skb->_sk_redir; in skb_bpf_ingress() local545 return sk_redir & BPF_F_INGRESS; in skb_bpf_ingress()553 static inline void skb_bpf_set_redir(struct sk_buff *skb, struct sock *sk_redir, in skb_bpf_set_redir() argument556 skb->_sk_redir = (unsigned long)sk_redir; in skb_bpf_set_redir()563 unsigned long sk_redir = skb->_sk_redir; in skb_bpf_redirect_fetch() local565 return (struct sock *)(sk_redir & BPF_F_PTR_MASK); in skb_bpf_redirect_fetch()
255 struct sock *sk_redir; in tcp_bpf_send_verdict() local299 sk_redir = psock->sk_redir; in tcp_bpf_send_verdict()305 psock->sk_redir = NULL; in tcp_bpf_send_verdict()314 ret = tcp_bpf_sendmsg_redir(sk_redir, msg, tosend, flags); in tcp_bpf_send_verdict()317 sock_put(sk_redir); in tcp_bpf_send_verdict()344 if (psock->sk_redir) { in tcp_bpf_send_verdict()345 sock_put(psock->sk_redir); in tcp_bpf_send_verdict()346 psock->sk_redir = NULL; in tcp_bpf_send_verdict()
809 if (psock->sk_redir) in sk_psock_destroy()810 sock_put(psock->sk_redir); in sk_psock_destroy()862 ret = sk_psock_map_verd(ret, msg->sk_redir); in sk_psock_msg_verdict()865 if (psock->sk_redir) in sk_psock_msg_verdict()866 sock_put(psock->sk_redir); in sk_psock_msg_verdict()867 psock->sk_redir = msg->sk_redir; in sk_psock_msg_verdict()868 if (!psock->sk_redir) { in sk_psock_msg_verdict()872 sock_hold(psock->sk_redir); in sk_psock_msg_verdict()
670 msg->sk_redir = sk; in BPF_CALL_4()1254 msg->sk_redir = sk; in BPF_CALL_4()
808 struct sock *sk_redir; in bpf_exec_tx_verdict() local855 sk_redir = psock->sk_redir; in bpf_exec_tx_verdict()864 err = tcp_bpf_sendmsg_redir(sk_redir, &msg_redir, send, flags); in bpf_exec_tx_verdict()897 if (psock->sk_redir) { in bpf_exec_tx_verdict()898 sock_put(psock->sk_redir); in bpf_exec_tx_verdict()899 psock->sk_redir = NULL; in bpf_exec_tx_verdict()
Completed in 16 milliseconds