Home
last modified time | relevance | path

Searched refs:mtu (Results 1 – 6 of 6) sorted by relevance

/mbedtls-development/programs/test/
A Dudp_proxy.c162 int mtu; /* drop packets larger than this */ member
288 opt.mtu = atoi( q ); in get_options()
289 if( opt.mtu < 0 || opt.mtu > MAX_MSG_SIZE ) in get_options()
759 if( ( opt.mtu != 0 && in handle_message()
760 cur.len > (unsigned) opt.mtu ) || in handle_message()
/mbedtls-development/programs/ssl/
A Dssl_context_info.c966 uint16_t mtu; in print_deserialized_ssl_context() local
968 mtu = ( ssl[0] << 8 ) | ssl[1]; in print_deserialized_ssl_context()
970 printf( "\tMTU : %u\n", mtu ); in print_deserialized_ssl_context()
/mbedtls-development/library/
A Dssl_tls.c3506 ssl->mtu = mtu; in mbedtls_ssl_set_mtu()
4437 return( ssl->mtu ); in mbedtls_ssl_get_current_mtu()
4439 if( ssl->mtu == 0 ) in mbedtls_ssl_get_current_mtu()
4440 return( ssl->handshake->mtu ); in mbedtls_ssl_get_current_mtu()
4442 return( ssl->mtu < ssl->handshake->mtu ? in mbedtls_ssl_get_current_mtu()
4443 ssl->mtu : ssl->handshake->mtu ); in mbedtls_ssl_get_current_mtu()
4473 if( mtu <= overhead ) in mbedtls_ssl_get_max_out_record_payload()
4479 if( max_len > mtu - overhead ) in mbedtls_ssl_get_max_out_record_payload()
4480 max_len = mtu - overhead; in mbedtls_ssl_get_max_out_record_payload()
5853 MBEDTLS_PUT_UINT16_BE( ssl->mtu, p, 0 ); in mbedtls_ssl_context_save()
[all …]
A Dssl_msg.c169 size_t mtu = mbedtls_ssl_get_current_mtu( ssl ); in ssl_get_maximum_datagram_size() local
176 if( mtu != 0 && mtu < out_buf_len ) in ssl_get_maximum_datagram_size()
177 return( mtu ); in ssl_get_maximum_datagram_size()
185 size_t const mtu = ssl_get_maximum_datagram_size( ssl ); in ssl_get_remaining_space_in_datagram() local
189 if( bytes_written > mtu ) in ssl_get_remaining_space_in_datagram()
195 return( (int) ( mtu - bytes_written ) ); in ssl_get_remaining_space_in_datagram()
264 ssl->handshake->mtu = 508; in ssl_double_retransmit_timeout()
265 MBEDTLS_SSL_DEBUG_MSG( 2, ( "mtu autoreduction to %d bytes", ssl->handshake->mtu ) ); in ssl_double_retransmit_timeout()
A Dssl_misc.h667 uint16_t mtu; /*!< Handshake mtu, used to fragment outgoing messages */ member
/mbedtls-development/include/mbedtls/
A Dssl.h1601 … uint16_t MBEDTLS_PRIVATE(mtu); /*!< path mtu, used to fragment outgoing messages */
2045 void mbedtls_ssl_set_mtu( mbedtls_ssl_context *ssl, uint16_t mtu );

Completed in 33 milliseconds