Lines Matching refs:dp
268 int dccp_reqsk_init(struct request_sock *rq, struct dccp_sock const *dp,
333 const struct dccp_sock *dp = dccp_sk(sk); in dccp_bad_service_code() local
335 if (dp->dccps_service == service) in dccp_bad_service_code()
337 return !dccp_list_has_service(dp->dccps_service_list, service); in dccp_bad_service_code()
422 struct dccp_sock *dp = dccp_sk(sk); in dccp_update_gsr() local
424 if (after48(seq, dp->dccps_gsr)) in dccp_update_gsr()
425 dp->dccps_gsr = seq; in dccp_update_gsr()
427 dp->dccps_swl = SUB48(ADD48(dp->dccps_gsr, 1), dp->dccps_r_seq_win / 4); in dccp_update_gsr()
443 if (before48(dp->dccps_swl, dp->dccps_isr)) in dccp_update_gsr()
444 dp->dccps_swl = dp->dccps_isr; in dccp_update_gsr()
445 dp->dccps_swh = ADD48(dp->dccps_gsr, (3 * dp->dccps_r_seq_win) / 4); in dccp_update_gsr()
450 struct dccp_sock *dp = dccp_sk(sk); in dccp_update_gss() local
452 dp->dccps_gss = seq; in dccp_update_gss()
454 dp->dccps_awl = SUB48(ADD48(dp->dccps_gss, 1), dp->dccps_l_seq_win); in dccp_update_gss()
456 if (before48(dp->dccps_awl, dp->dccps_iss)) in dccp_update_gss()
457 dp->dccps_awl = dp->dccps_iss; in dccp_update_gss()
458 dp->dccps_awh = dp->dccps_gss; in dccp_update_gss()
473 int dccp_feat_finalise_settings(struct dccp_sock *dp);