Lines Matching refs:dp
176 struct dccp_sock *dp = dccp_sk(sk); in dccp_sk_destruct() local
178 ccid_hc_tx_delete(dp->dccps_hc_tx_ccid, sk); in dccp_sk_destruct()
179 dp->dccps_hc_tx_ccid = NULL; in dccp_sk_destruct()
185 struct dccp_sock *dp = dccp_sk(sk); in dccp_init_sock() local
194 dp->dccps_mss_cache = 536; in dccp_init_sock()
195 dp->dccps_rate_last = jiffies; in dccp_init_sock()
196 dp->dccps_role = DCCP_ROLE_UNDEFINED; in dccp_init_sock()
197 dp->dccps_service = DCCP_SERVICE_CODE_IS_ABSENT; in dccp_init_sock()
198 dp->dccps_tx_qlen = sysctl_dccp_tx_qlen; in dccp_init_sock()
202 INIT_LIST_HEAD(&dp->dccps_featneg); in dccp_init_sock()
213 struct dccp_sock *dp = dccp_sk(sk); in dccp_destroy_sock() local
225 kfree(dp->dccps_service_list); in dccp_destroy_sock()
226 dp->dccps_service_list = NULL; in dccp_destroy_sock()
228 if (dp->dccps_hc_rx_ackvec != NULL) { in dccp_destroy_sock()
229 dccp_ackvec_free(dp->dccps_hc_rx_ackvec); in dccp_destroy_sock()
230 dp->dccps_hc_rx_ackvec = NULL; in dccp_destroy_sock()
232 ccid_hc_rx_delete(dp->dccps_hc_rx_ccid, sk); in dccp_destroy_sock()
233 dp->dccps_hc_rx_ccid = NULL; in dccp_destroy_sock()
236 dccp_feat_list_purge(&dp->dccps_featneg); in dccp_destroy_sock()
243 struct dccp_sock *dp = dccp_sk(sk); in dccp_listen_start() local
245 dp->dccps_role = DCCP_ROLE_LISTEN; in dccp_listen_start()
247 if (dccp_feat_finalise_settings(dp)) in dccp_listen_start()
262 struct dccp_sock *dp = dccp_sk(sk); in dccp_disconnect() local
281 ccid_hc_rx_delete(dp->dccps_hc_rx_ccid, sk); in dccp_disconnect()
282 dp->dccps_hc_rx_ccid = NULL; in dccp_disconnect()
407 struct dccp_sock *dp = dccp_sk(sk); in dccp_setsockopt_service() local
430 dp->dccps_service = service; in dccp_setsockopt_service()
432 kfree(dp->dccps_service_list); in dccp_setsockopt_service()
434 dp->dccps_service_list = sl; in dccp_setsockopt_service()
503 struct dccp_sock *dp = dccp_sk(sk); in do_dccp_setsockopt() local
532 if (dp->dccps_role != DCCP_ROLE_SERVER) in do_dccp_setsockopt()
535 dp->dccps_server_timewait = (val != 0); in do_dccp_setsockopt()
549 dp->dccps_qpolicy = val; in do_dccp_setsockopt()
555 dp->dccps_tx_qlen = val; in do_dccp_setsockopt()
595 const struct dccp_sock *dp = dccp_sk(sk); in dccp_getsockopt_service() local
600 if ((sl = dp->dccps_service_list) != NULL) { in dccp_getsockopt_service()
611 put_user(dp->dccps_service, optval) || in dccp_getsockopt_service()
622 struct dccp_sock *dp; in do_dccp_getsockopt() local
631 dp = dccp_sk(sk); in do_dccp_getsockopt()
641 val = dp->dccps_mss_cache; in do_dccp_getsockopt()
646 val = ccid_get_current_tx_ccid(dp); in do_dccp_getsockopt()
651 val = ccid_get_current_rx_ccid(dp); in do_dccp_getsockopt()
656 val = dp->dccps_server_timewait; in do_dccp_getsockopt()
659 val = dp->dccps_pcslen; in do_dccp_getsockopt()
662 val = dp->dccps_pcrlen; in do_dccp_getsockopt()
665 val = dp->dccps_qpolicy; in do_dccp_getsockopt()
668 val = dp->dccps_tx_qlen; in do_dccp_getsockopt()
671 return ccid_hc_rx_getsockopt(dp->dccps_hc_rx_ccid, sk, optname, in do_dccp_getsockopt()
674 return ccid_hc_tx_getsockopt(dp->dccps_hc_tx_ccid, sk, optname, in do_dccp_getsockopt()
754 const struct dccp_sock *dp = dccp_sk(sk); in dccp_sendmsg() local
763 if (len > dp->dccps_mss_cache) in dccp_sendmsg()
811 if (!timer_pending(&dp->dccps_xmit_timer)) in dccp_sendmsg()
998 struct dccp_sock *dp = dccp_sk(sk); in dccp_close() local
1016 sk_stop_timer(sk, &dp->dccps_xmit_timer); in dccp_close()