Home | History | Annotate | Download | only in ssl

Lines Matching refs:item

543 	pitem *item;
548 item = pqueue_peek(s->d1->buffered_messages);
549 if ( item == NULL)
552 frag = (hm_fragment *)item->data;
573 pitem_free(item);
595 pitem *item = NULL;
614 /* Try to find item in queue */
618 item = pqueue_find(s->d1->buffered_messages, seq64be);
620 if (item == NULL)
631 frag = (hm_fragment*) item->data;
634 item = NULL;
677 if (item == NULL)
683 item = pitem_new(seq64be, frag);
684 if (item == NULL)
690 pqueue_insert(s->d1->buffered_messages, item);
697 if (item != NULL) OPENSSL_free(item);
708 pitem *item = NULL;
715 /* Try to find item in queue, to prevent duplicate entries */
719 item = pqueue_find(s->d1->buffered_messages, seq64be);
724 if (item != NULL && frag_len < msg_hdr->msg_len)
725 item = NULL;
733 msg_hdr->seq > s->d1->handshake_read_seq + 10 || item != NULL ||
771 item = pitem_new(seq64be, frag);
772 if ( item == NULL)
775 pqueue_insert(s->d1->buffered_messages, item);
782 if ( item != NULL) OPENSSL_free(item);
1114 item = pqueue_peek(state->rcvd_records);
1115 if ( item )
1150 pitem *item;
1156 for ( item = pqueue_next(&iter); item != NULL; item
1158 frag = (hm_fragment *)item->data;
1174 pitem *item;
1217 item = pitem_new(seq64be, frag);
1218 if ( item == NULL)
1230 pqueue_insert(s->d1->sent_messages, item);
1240 pitem *item;
1257 item = pqueue_find(s->d1->sent_messages, seq64be);
1258 if ( item == NULL)
1266 frag = (hm_fragment *)item->data;
1330 pitem *item;
1332 for(item = pqueue_pop(s->d1->sent_messages);
1333 item != NULL; item = pqueue_pop(s->d1->sent_messages))
1335 dtls1_hm_fragment_free((hm_fragment *)item->data);
1336 pitem_free(item);