Home
last modified time | relevance | path

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

/net-tools-3.6.0/mbedtls-2.4.0/programs/ssl/
Dssl_client2.c305 unsigned char mfl_code; /* code for maximum fragment length */ member
495 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()
Dssl_server2.c386 unsigned char mfl_code; /* code for maximum fragment length */ member
929 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()
/net-tools-3.6.0/mbedtls-2.4.0/include/mbedtls/
Dssl.h567 unsigned char mfl_code; /*!< MaxFragmentLength negotiated by peer */ member
726 unsigned int mfl_code : 3; /*!< desired fragment length */ member
2050 int mbedtls_ssl_conf_max_frag_len( mbedtls_ssl_config *conf, unsigned char mfl_code );
/net-tools-3.6.0/mbedtls-2.4.0/library/
Dssl_cli.c436 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 )
Dssl_tls.c6074 int mbedtls_ssl_conf_max_frag_len( mbedtls_ssl_config *conf, unsigned char mfl_code ) in mbedtls_ssl_conf_max_frag_len() argument
6076 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()
Dssl_srv.c366 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;