Lines Matching refs:rdata
187 DTLS1_RECORD_DATA *rdata;
189 rdata = (DTLS1_RECORD_DATA *)item->data;
194 s->packet = rdata->packet;
195 s->packet_length = rdata->packet_length;
196 memcpy(&(s->s3->rbuf), &(rdata->rbuf), sizeof(SSL3_BUFFER));
197 memcpy(&(s->s3->rrec), &(rdata->rrec), sizeof(SSL3_RECORD));
200 memcpy(&(s->s3->read_sequence[2]), &(rdata->packet[5]), 6);
209 DTLS1_RECORD_DATA *rdata;
216 rdata = OPENSSL_malloc(sizeof(DTLS1_RECORD_DATA));
217 item = pitem_new(priority, rdata);
218 if (rdata == NULL || item == NULL)
220 if (rdata != NULL) OPENSSL_free(rdata);
227 rdata->packet = s->packet;
228 rdata->packet_length = s->packet_length;
229 memcpy(&(rdata->rbuf), &(s->s3->rbuf), sizeof(SSL3_BUFFER));
230 memcpy(&(rdata->rrec), &(s->s3->rrec), sizeof(SSL3_RECORD));
232 item->data = rdata;
238 BIO_ctrl(SSL_get_rbio(s), BIO_CTRL_DGRAM_SCTP_GET_RCVINFO, sizeof(rdata->recordinfo), &rdata->recordinfo);
245 OPENSSL_free(rdata);
258 OPENSSL_free(rdata);
351 DTLS1_RECORD_DATA *rdata;
353 rdata = (DTLS1_RECORD_DATA *)item->data;
358 s->packet = rdata->packet;
359 s->packet_length = rdata->packet_length;
360 memcpy(&(s->s3->rbuf), &(rdata->rbuf), sizeof(SSL3_BUFFER));
361 memcpy(&(s->s3->rrec), &(rdata->rrec), sizeof(SSL3_RECORD));
819 DTLS1_RECORD_DATA *rdata = (DTLS1_RECORD_DATA *) item->data;
820 BIO_ctrl(SSL_get_rbio(s), BIO_CTRL_DGRAM_SCTP_SET_RCVINFO, sizeof(rdata->recordinfo), &rdata->recordinfo);