Lines Matching defs:frag_off
132 static void dtls1_fix_message_header(SSL *s, unsigned long frag_off,
137 unsigned long len, unsigned short seq_num, unsigned long frag_off,
181 unsigned int len, frag_off;
229 frag_off = 0;
264 dtls1_fix_message_header(s, frag_off,
304 if (frag_off == 0 && s->client_version != DTLS1_BAD_VER)
339 frag_off += (ret -= DTLS1_HM_HEADER_LENGTH);
376 if ( msg_hdr->frag_off == 0)
442 msg_hdr->frag_off = i;
454 size_t frag_off,frag_len,msg_len;
457 frag_off = msg_hdr->frag_off;
461 if ( (frag_off+frag_len) > msg_len)
467 if ( (frag_off+frag_len) > (unsigned long)max)
473 if ( s->d1->r_msg_hdr.frag_off == 0) /* first fragment */
529 memcpy(&p[frag->msg_header.frag_off],
561 if ((msg_hdr->frag_off+frag_len) > msg_hdr->msg_len)
616 unsigned long l, frag_off, frag_len;
649 frag_off = msg_hdr.frag_off;
652 if (!s->server && s->d1->r_msg_hdr.frag_off == 0 &&
689 &p[frag_off],frag_len,0);
1002 frag->msg_header.frag_off = 0;
1028 dtls1_retransmit_message(SSL *s, unsigned short seq, unsigned long frag_off,
1098 unsigned long len, unsigned long frag_off, unsigned long frag_len)
1100 if ( frag_off == 0)
1107 frag_off, frag_len);
1116 unsigned long len, unsigned short seq_num, unsigned long frag_off,
1124 msg_hdr->frag_off = frag_off;
1129 dtls1_fix_message_header(SSL *s, unsigned long frag_off,
1134 msg_hdr->frag_off = frag_off;
1147 l2n3(msg_hdr->frag_off, p);
1183 n2l3(data, msg_hdr->frag_off);