Lines Matching refs:mtu
91 d1->mtu = 0; in dtls1_new()
176 size_t mtu; in dtls1_clear() local
191 mtu = s->d1->mtu; in dtls1_clear()
206 s->d1->mtu = mtu; in dtls1_clear()
262 s->d1->mtu = larg; in dtls1_ctrl()
368 size_t mtu; in dtls1_check_timeout_num() local
376 mtu = in dtls1_check_timeout_num()
378 if (mtu < s->d1->mtu) in dtls1_check_timeout_num()
379 s->d1->mtu = mtu; in dtls1_check_timeout_num()
892 s->d1->mtu = in dtls1_query_mtu()
898 if (s->d1->mtu < dtls1_min_mtu(s)) { in dtls1_query_mtu()
900 s->d1->mtu = in dtls1_query_mtu()
907 if (s->d1->mtu < dtls1_min_mtu(s)) { in dtls1_query_mtu()
909 s->d1->mtu = dtls1_min_mtu(s); in dtls1_query_mtu()
911 (long)s->d1->mtu, NULL); in dtls1_query_mtu()
936 size_t mtu; in DTLS_get_data_mtu() local
942 mtu = s->d1->mtu; in DTLS_get_data_mtu()
957 if (ext_overhead + DTLS1_RT_HEADER_LENGTH >= mtu) in DTLS_get_data_mtu()
959 mtu -= ext_overhead + DTLS1_RT_HEADER_LENGTH; in DTLS_get_data_mtu()
964 mtu -= (mtu % blocksize); in DTLS_get_data_mtu()
967 if (int_overhead >= mtu) in DTLS_get_data_mtu()
969 mtu -= int_overhead; in DTLS_get_data_mtu()
971 return mtu; in DTLS_get_data_mtu()