Lines Matching refs:child
563 struct sock *child; in tcp_check_req() local
756 child = inet_csk(sk)->icsk_af_ops->syn_recv_sock(sk, skb, req, NULL); in tcp_check_req()
757 if (!child) in tcp_check_req()
761 inet_csk_reqsk_queue_add(sk, req, child); in tcp_check_req()
765 return child; in tcp_check_req()
805 int tcp_child_process(struct sock *parent, struct sock *child, in tcp_child_process() argument
809 int state = child->sk_state; in tcp_child_process()
811 if (!sock_owned_by_user(child)) { in tcp_child_process()
812 ret = tcp_rcv_state_process(child, skb, tcp_hdr(skb), in tcp_child_process()
815 if (state == TCP_SYN_RECV && child->sk_state != state) in tcp_child_process()
822 __sk_add_backlog(child, skb); in tcp_child_process()
825 bh_unlock_sock(child); in tcp_child_process()
826 sock_put(child); in tcp_child_process()