Searched refs:mfl_code (Results 1 – 6 of 6) sorted by relevance
305 unsigned char mfl_code; /* code for maximum fragment length */ member495 opt.mfl_code = DFL_MFL_CODE; in main()759 opt.mfl_code = MBEDTLS_SSL_MAX_FRAG_LEN_512; in main()761 opt.mfl_code = MBEDTLS_SSL_MAX_FRAG_LEN_1024; in main()763 opt.mfl_code = MBEDTLS_SSL_MAX_FRAG_LEN_2048; in main()765 opt.mfl_code = MBEDTLS_SSL_MAX_FRAG_LEN_4096; in main()1105 if( ( ret = mbedtls_ssl_conf_max_frag_len( &conf, opt.mfl_code ) ) != 0 ) in main()
386 unsigned char mfl_code; /* code for maximum fragment length */ member929 opt.mfl_code = DFL_MFL_CODE; in main()1138 opt.mfl_code = MBEDTLS_SSL_MAX_FRAG_LEN_512; in main()1140 opt.mfl_code = MBEDTLS_SSL_MAX_FRAG_LEN_1024; in main()1142 opt.mfl_code = MBEDTLS_SSL_MAX_FRAG_LEN_2048; in main()1144 opt.mfl_code = MBEDTLS_SSL_MAX_FRAG_LEN_4096; in main()1620 if( ( ret = mbedtls_ssl_conf_max_frag_len( &conf, opt.mfl_code ) ) != 0 ) in main()
567 unsigned char mfl_code; /*!< MaxFragmentLength negotiated by peer */ member726 unsigned int mfl_code : 3; /*!< desired fragment length */ member2050 int mbedtls_ssl_conf_max_frag_len( mbedtls_ssl_config *conf, unsigned char mfl_code );
436 if( ssl->conf->mfl_code == MBEDTLS_SSL_MAX_FRAG_LEN_NONE ) {454 *p++ = ssl->conf->mfl_code;1107 if( ssl->conf->mfl_code == MBEDTLS_SSL_MAX_FRAG_LEN_NONE ||1109 buf[0] != ssl->conf->mfl_code )
6074 int mbedtls_ssl_conf_max_frag_len( mbedtls_ssl_config *conf, unsigned char mfl_code ) in mbedtls_ssl_conf_max_frag_len() argument6076 if( mfl_code >= MBEDTLS_SSL_MAX_FRAG_LEN_INVALID || in mbedtls_ssl_conf_max_frag_len()6077 mfl_code_to_length[mfl_code] > MBEDTLS_SSL_MAX_CONTENT_LEN ) in mbedtls_ssl_conf_max_frag_len()6082 conf->mfl_code = mfl_code; in mbedtls_ssl_conf_max_frag_len()6263 max_len = mfl_code_to_length[ssl->conf->mfl_code]; in mbedtls_ssl_get_max_frag_len()6269 mfl_code_to_length[ssl->session_out->mfl_code] < max_len ) in mbedtls_ssl_get_max_frag_len()6271 max_len = mfl_code_to_length[ssl->session_out->mfl_code]; in mbedtls_ssl_get_max_frag_len()
366 ssl->session_negotiate->mfl_code = buf[0]; in ssl_parse_max_fragment_length_ext()2022 if( ssl->session_negotiate->mfl_code == MBEDTLS_SSL_MAX_FRAG_LEN_NONE )2036 *p++ = ssl->session_negotiate->mfl_code;