Lines Matching refs:cvp
2154 struct tcp_cookie_values *cvp = NULL;
2194 cvp = kzalloc(sizeof(*cvp) + ctd.tcpct_used,
2196 if (cvp == NULL)
2199 kref_init(&cvp->kref);
2207 if (cvp != NULL) {
2215 cvp = tp->cookie_values;
2219 if (cvp != NULL) {
2220 cvp->cookie_desired = ctd.tcpct_cookie_desired;
2223 memcpy(cvp->s_data_payload, ctd.tcpct_value,
2225 cvp->s_data_desired = ctd.tcpct_used;
2226 cvp->s_data_constant = 1; /* true */
2229 cvp->s_data_desired = ctd.tcpct_s_data_desired;
2230 cvp->s_data_constant = 0; /* false */
2233 tp->cookie_values = cvp;
2582 struct tcp_cookie_values *cvp = tp->cookie_values;
2595 if (cvp != NULL) {
2596 ctd.tcpct_flags |= (cvp->s_data_in ?
2598 | (cvp->s_data_out ?
2601 ctd.tcpct_cookie_desired = cvp->cookie_desired;
2602 ctd.tcpct_s_data_desired = cvp->s_data_desired;
2604 memcpy(&ctd.tcpct_value[0], &cvp->cookie_pair[0],
2605 cvp->cookie_pair_size);
2606 ctd.tcpct_used = cvp->cookie_pair_size;