Lines Matching refs:sk
35 void dccp_time_wait(struct sock *sk, int state, int timeo) in dccp_time_wait() argument
39 tw = inet_twsk_alloc(sk, &dccp_death_row, state); in dccp_time_wait()
42 const struct inet_connection_sock *icsk = inet_csk(sk); in dccp_time_wait()
46 tw->tw_v6_daddr = sk->sk_v6_daddr; in dccp_time_wait()
47 tw->tw_v6_rcv_saddr = sk->sk_v6_rcv_saddr; in dccp_time_wait()
48 tw->tw_ipv6only = sk->sk_ipv6only; in dccp_time_wait()
62 __inet_twsk_hashdance(tw, sk, &dccp_hashinfo); in dccp_time_wait()
72 dccp_done(sk); in dccp_time_wait()
75 struct sock *dccp_create_openreq_child(const struct sock *sk, in dccp_create_openreq_child() argument
85 struct sock *newsk = inet_csk_clone_lock(sk, req, GFP_ATOMIC); in dccp_create_openreq_child()
141 struct sock *dccp_check_req(struct sock *sk, struct sk_buff *skb, in dccp_check_req() argument
159 inet_rtx_syn_ack(sk, req); in dccp_check_req()
183 if (dccp_parse_options(sk, dreq, skb)) in dccp_check_req()
186 child = inet_csk(sk)->icsk_af_ops->syn_recv_sock(sk, skb, req, NULL, in dccp_check_req()
191 return inet_csk_complete_hashdance(sk, child, req, own_req); in dccp_check_req()
198 req->rsk_ops->send_reset(sk, skb); in dccp_check_req()
200 inet_csk_reqsk_queue_drop(sk, req); in dccp_check_req()
239 void dccp_reqsk_send_ack(const struct sock *sk, struct sk_buff *skb, in dccp_reqsk_send_ack() argument