Lines Matching refs:dp
38 struct dccp_sock *dp = dccp_sk(sk); in dccp_hdlr_ccid() local
45 ccid_hc_rx_delete(dp->dccps_hc_rx_ccid, sk); in dccp_hdlr_ccid()
46 dp->dccps_hc_rx_ccid = new_ccid; in dccp_hdlr_ccid()
48 ccid_hc_tx_delete(dp->dccps_hc_tx_ccid, sk); in dccp_hdlr_ccid()
49 dp->dccps_hc_tx_ccid = new_ccid; in dccp_hdlr_ccid()
56 struct dccp_sock *dp = dccp_sk(sk); in dccp_hdlr_seq_win() local
59 dp->dccps_r_seq_win = seq_win; in dccp_hdlr_seq_win()
61 dccp_update_gsr(sk, dp->dccps_gsr); in dccp_hdlr_seq_win()
63 dp->dccps_l_seq_win = seq_win; in dccp_hdlr_seq_win()
65 dccp_update_gss(sk, dp->dccps_gss); in dccp_hdlr_seq_win()
81 struct dccp_sock *dp = dccp_sk(sk); in dccp_hdlr_ackvec() local
84 if (enable && dp->dccps_hc_rx_ackvec == NULL) { in dccp_hdlr_ackvec()
85 dp->dccps_hc_rx_ackvec = dccp_ackvec_alloc(gfp_any()); in dccp_hdlr_ackvec()
86 if (dp->dccps_hc_rx_ackvec == NULL) in dccp_hdlr_ackvec()
89 dccp_ackvec_free(dp->dccps_hc_rx_ackvec); in dccp_hdlr_ackvec()
90 dp->dccps_hc_rx_ackvec = NULL; in dccp_hdlr_ackvec()
114 struct dccp_sock *dp = dccp_sk(sk); in dccp_hdlr_min_cscov() local
117 dp->dccps_pcrlen = cscov; in dccp_hdlr_min_cscov()
119 if (dp->dccps_pcslen == 0) in dccp_hdlr_min_cscov()
120 dp->dccps_pcslen = cscov; in dccp_hdlr_min_cscov()
121 else if (cscov > dp->dccps_pcslen) in dccp_hdlr_min_cscov()
123 dp->dccps_pcslen, (u8)cscov); in dccp_hdlr_min_cscov()
629 int dccp_feat_insert_opts(struct dccp_sock *dp, struct dccp_request_sock *dreq, in dccp_feat_insert_opts() argument
632 struct list_head *fn = dreq ? &dreq->dreq_featneg : &dp->dccps_featneg; in dccp_feat_insert_opts()
774 struct dccp_sock *dp = dccp_sk(sk); in dccp_feat_nn_get() local
777 entry = dccp_feat_list_lookup(&dp->dccps_featneg, feat, 1); in dccp_feat_nn_get()
783 return dp->dccps_l_ack_ratio; in dccp_feat_nn_get()
785 return dp->dccps_l_seq_win; in dccp_feat_nn_get()
968 int dccp_feat_finalise_settings(struct dccp_sock *dp) in dccp_feat_finalise_settings() argument
970 struct list_head *fn = &dp->dccps_featneg; in dccp_feat_finalise_settings()
1397 struct dccp_sock *dp = dccp_sk(sk); in dccp_feat_parse_options() local
1398 struct list_head *fn = dreq ? &dreq->dreq_featneg : &dp->dccps_featneg; in dccp_feat_parse_options()
1499 struct dccp_sock *dp = dccp_sk(sk); in dccp_feat_activate_values() local
1558 ccid_hc_rx_delete(dp->dccps_hc_rx_ccid, sk); in dccp_feat_activate_values()
1559 ccid_hc_tx_delete(dp->dccps_hc_tx_ccid, sk); in dccp_feat_activate_values()
1560 dp->dccps_hc_rx_ccid = dp->dccps_hc_tx_ccid = NULL; in dccp_feat_activate_values()
1561 dccp_ackvec_free(dp->dccps_hc_rx_ackvec); in dccp_feat_activate_values()
1562 dp->dccps_hc_rx_ackvec = NULL; in dccp_feat_activate_values()