Lines Matching refs:curr_mtu
161 static unsigned int dtls1_guess_mtu(unsigned int curr_mtu);
214 int curr_mtu; in dtls1_do_write() local
249 curr_mtu = D1I(s)->mtu - BIO_wpending(SSL_get_wbio(s)) - in dtls1_do_write()
252 if (curr_mtu <= DTLS1_HM_HEADER_LENGTH) { in dtls1_do_write()
257 curr_mtu = D1I(s)->mtu - DTLS1_RT_HEADER_LENGTH - in dtls1_do_write()
261 if (s->internal->init_num > curr_mtu) in dtls1_do_write()
262 len = curr_mtu; in dtls1_do_write()
273 if (s->internal->init_num > curr_mtu) in dtls1_do_write()
274 len = curr_mtu; in dtls1_do_write()
1161 dtls1_guess_mtu(unsigned int curr_mtu) in dtls1_guess_mtu() argument
1165 if (curr_mtu == 0) in dtls1_guess_mtu()
1169 if (curr_mtu > g_probable_mtu[i]) in dtls1_guess_mtu()
1172 return curr_mtu; in dtls1_guess_mtu()