Lines Matching refs:opt

505 } opt;  variable
1323 opt.buffer_size = DFL_IO_BUF_LEN; in main()
1324 opt.server_addr = DFL_SERVER_ADDR; in main()
1325 opt.server_port = DFL_SERVER_PORT; in main()
1326 opt.debug_level = DFL_DEBUG_LEVEL; in main()
1327 opt.event = DFL_EVENT; in main()
1328 opt.response_size = DFL_RESPONSE_SIZE; in main()
1329 opt.nbio = DFL_NBIO; in main()
1330 opt.read_timeout = DFL_READ_TIMEOUT; in main()
1331 opt.ca_file = DFL_CA_FILE; in main()
1332 opt.ca_path = DFL_CA_PATH; in main()
1333 opt.crt_file = DFL_CRT_FILE; in main()
1334 opt.key_file = DFL_KEY_FILE; in main()
1335 opt.crt_file2 = DFL_CRT_FILE2; in main()
1336 opt.key_file2 = DFL_KEY_FILE2; in main()
1337 opt.async_operations = DFL_ASYNC_OPERATIONS; in main()
1338 opt.async_private_delay1 = DFL_ASYNC_PRIVATE_DELAY1; in main()
1339 opt.async_private_delay2 = DFL_ASYNC_PRIVATE_DELAY2; in main()
1340 opt.async_private_error = DFL_ASYNC_PRIVATE_ERROR; in main()
1341 opt.psk = DFL_PSK; in main()
1342 opt.psk_identity = DFL_PSK_IDENTITY; in main()
1343 opt.psk_list = DFL_PSK_LIST; in main()
1344 opt.ecjpake_pw = DFL_ECJPAKE_PW; in main()
1345 opt.force_ciphersuite[0]= DFL_FORCE_CIPHER; in main()
1346 opt.version_suites = DFL_VERSION_SUITES; in main()
1347 opt.renegotiation = DFL_RENEGOTIATION; in main()
1348 opt.allow_legacy = DFL_ALLOW_LEGACY; in main()
1349 opt.renegotiate = DFL_RENEGOTIATE; in main()
1350 opt.renego_delay = DFL_RENEGO_DELAY; in main()
1351 opt.renego_period = DFL_RENEGO_PERIOD; in main()
1352 opt.exchanges = DFL_EXCHANGES; in main()
1353 opt.min_version = DFL_MIN_VERSION; in main()
1354 opt.max_version = DFL_MAX_VERSION; in main()
1355 opt.arc4 = DFL_ARC4; in main()
1356 opt.allow_sha1 = DFL_SHA1; in main()
1357 opt.auth_mode = DFL_AUTH_MODE; in main()
1358 opt.cert_req_ca_list = DFL_CERT_REQ_CA_LIST; in main()
1359 opt.mfl_code = DFL_MFL_CODE; in main()
1360 opt.trunc_hmac = DFL_TRUNC_HMAC; in main()
1361 opt.tickets = DFL_TICKETS; in main()
1362 opt.ticket_timeout = DFL_TICKET_TIMEOUT; in main()
1363 opt.cache_max = DFL_CACHE_MAX; in main()
1364 opt.cache_timeout = DFL_CACHE_TIMEOUT; in main()
1365 opt.sni = DFL_SNI; in main()
1366 opt.alpn_string = DFL_ALPN_STRING; in main()
1367 opt.curves = DFL_CURVES; in main()
1368 opt.dhm_file = DFL_DHM_FILE; in main()
1369 opt.transport = DFL_TRANSPORT; in main()
1370 opt.cookies = DFL_COOKIES; in main()
1371 opt.anti_replay = DFL_ANTI_REPLAY; in main()
1372 opt.hs_to_min = DFL_HS_TO_MIN; in main()
1373 opt.hs_to_max = DFL_HS_TO_MAX; in main()
1374 opt.dtls_mtu = DFL_DTLS_MTU; in main()
1375 opt.dgram_packing = DFL_DGRAM_PACKING; in main()
1376 opt.badmac_limit = DFL_BADMAC_LIMIT; in main()
1377 opt.extended_ms = DFL_EXTENDED_MS; in main()
1378 opt.etm = DFL_ETM; in main()
1388 opt.server_port = q; in main()
1390 opt.server_addr = q; in main()
1395 opt.transport = MBEDTLS_SSL_TRANSPORT_STREAM; in main()
1397 opt.transport = MBEDTLS_SSL_TRANSPORT_DATAGRAM; in main()
1403 opt.debug_level = atoi( q ); in main()
1404 if( opt.debug_level < 0 || opt.debug_level > 65535 ) in main()
1409 opt.nbio = atoi( q ); in main()
1410 if( opt.nbio < 0 || opt.nbio > 2 ) in main()
1415 opt.event = atoi( q ); in main()
1416 if( opt.event < 0 || opt.event > 2 ) in main()
1420 opt.read_timeout = atoi( q ); in main()
1423 opt.buffer_size = atoi( q ); in main()
1424 if( opt.buffer_size < 1 || opt.buffer_size > MBEDTLS_SSL_MAX_CONTENT_LEN + 1 ) in main()
1429 opt.response_size = atoi( q ); in main()
1430 if( opt.response_size < 0 || opt.response_size > MBEDTLS_SSL_MAX_CONTENT_LEN ) in main()
1432 if( opt.buffer_size < opt.response_size ) in main()
1433 opt.buffer_size = opt.response_size; in main()
1436 opt.ca_file = q; in main()
1438 opt.ca_path = q; in main()
1440 opt.crt_file = q; in main()
1442 opt.key_file = q; in main()
1444 opt.crt_file2 = q; in main()
1446 opt.key_file2 = q; in main()
1448 opt.dhm_file = q; in main()
1451 opt.async_operations = q; in main()
1453 opt.async_private_delay1 = atoi( q ); in main()
1455 opt.async_private_delay2 = atoi( q ); in main()
1465 opt.async_private_error = n; in main()
1469 opt.psk = q; in main()
1471 opt.psk_identity = q; in main()
1473 opt.psk_list = q; in main()
1475 opt.ecjpake_pw = q; in main()
1478 opt.force_ciphersuite[0] = mbedtls_ssl_get_ciphersuite_id( q ); in main()
1480 if( opt.force_ciphersuite[0] == 0 ) in main()
1485 opt.force_ciphersuite[1] = 0; in main()
1488 opt.curves = q; in main()
1490 opt.version_suites = q; in main()
1493 opt.renegotiation = (atoi( q )) ? in main()
1502 opt.allow_legacy = MBEDTLS_SSL_LEGACY_BREAK_HANDSHAKE; in main()
1505 opt.allow_legacy = MBEDTLS_SSL_LEGACY_NO_RENEGOTIATION; in main()
1508 opt.allow_legacy = MBEDTLS_SSL_LEGACY_ALLOW_RENEGOTIATION; in main()
1515 opt.renegotiate = atoi( q ); in main()
1516 if( opt.renegotiate < 0 || opt.renegotiate > 1 ) in main()
1521 opt.renego_delay = atoi( q ); in main()
1526 opt.renego_period = _strtoui64( q, NULL, 10 ); in main()
1528 if( sscanf( q, "%" SCNu64, &opt.renego_period ) != 1 ) in main()
1531 if( opt.renego_period < 2 ) in main()
1536 opt.exchanges = atoi( q ); in main()
1537 if( opt.exchanges < 0 ) in main()
1543 opt.min_version = MBEDTLS_SSL_MINOR_VERSION_0; in main()
1545 opt.min_version = MBEDTLS_SSL_MINOR_VERSION_1; in main()
1548 opt.min_version = MBEDTLS_SSL_MINOR_VERSION_2; in main()
1551 opt.min_version = MBEDTLS_SSL_MINOR_VERSION_3; in main()
1558 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_0; in main()
1560 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_1; in main()
1563 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_2; in main()
1566 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_3; in main()
1574 case 0: opt.arc4 = MBEDTLS_SSL_ARC4_DISABLED; break; in main()
1575 case 1: opt.arc4 = MBEDTLS_SSL_ARC4_ENABLED; break; in main()
1583 case 0: opt.allow_sha1 = 0; break; in main()
1584 case 1: opt.allow_sha1 = 1; break; in main()
1592 opt.min_version = MBEDTLS_SSL_MINOR_VERSION_0; in main()
1593 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_0; in main()
1597 opt.min_version = MBEDTLS_SSL_MINOR_VERSION_1; in main()
1598 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_1; in main()
1602 opt.min_version = MBEDTLS_SSL_MINOR_VERSION_2; in main()
1603 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_2; in main()
1607 opt.min_version = MBEDTLS_SSL_MINOR_VERSION_3; in main()
1608 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_3; in main()
1612 opt.min_version = MBEDTLS_SSL_MINOR_VERSION_2; in main()
1613 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_2; in main()
1614 opt.transport = MBEDTLS_SSL_TRANSPORT_DATAGRAM; in main()
1618 opt.min_version = MBEDTLS_SSL_MINOR_VERSION_3; in main()
1619 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_3; in main()
1620 opt.transport = MBEDTLS_SSL_TRANSPORT_DATAGRAM; in main()
1627 if( ( opt.auth_mode = get_auth_mode( q ) ) < 0 ) in main()
1632 opt.cert_req_ca_list = atoi( q ); in main()
1633 if( opt.cert_req_ca_list < 0 || opt.cert_req_ca_list > 1 ) in main()
1639 opt.mfl_code = MBEDTLS_SSL_MAX_FRAG_LEN_512; in main()
1641 opt.mfl_code = MBEDTLS_SSL_MAX_FRAG_LEN_1024; in main()
1643 opt.mfl_code = MBEDTLS_SSL_MAX_FRAG_LEN_2048; in main()
1645 opt.mfl_code = MBEDTLS_SSL_MAX_FRAG_LEN_4096; in main()
1651 opt.alpn_string = q; in main()
1657 case 0: opt.trunc_hmac = MBEDTLS_SSL_TRUNC_HMAC_DISABLED; break; in main()
1658 case 1: opt.trunc_hmac = MBEDTLS_SSL_TRUNC_HMAC_ENABLED; break; in main()
1667 opt.extended_ms = MBEDTLS_SSL_EXTENDED_MS_DISABLED; in main()
1670 opt.extended_ms = MBEDTLS_SSL_EXTENDED_MS_ENABLED; in main()
1679 case 0: opt.etm = MBEDTLS_SSL_ETM_DISABLED; break; in main()
1680 case 1: opt.etm = MBEDTLS_SSL_ETM_ENABLED; break; in main()
1686 opt.tickets = atoi( q ); in main()
1687 if( opt.tickets < 0 || opt.tickets > 1 ) in main()
1692 opt.ticket_timeout = atoi( q ); in main()
1693 if( opt.ticket_timeout < 0 ) in main()
1698 opt.cache_max = atoi( q ); in main()
1699 if( opt.cache_max < 0 ) in main()
1704 opt.cache_timeout = atoi( q ); in main()
1705 if( opt.cache_timeout < 0 ) in main()
1710 opt.cookies = atoi( q ); in main()
1711 if( opt.cookies < -1 || opt.cookies > 1) in main()
1716 opt.anti_replay = atoi( q ); in main()
1717 if( opt.anti_replay < 0 || opt.anti_replay > 1) in main()
1722 opt.badmac_limit = atoi( q ); in main()
1723 if( opt.badmac_limit < 0 ) in main()
1731 opt.hs_to_min = atoi( q ); in main()
1732 opt.hs_to_max = atoi( p ); in main()
1733 if( opt.hs_to_min == 0 || opt.hs_to_max < opt.hs_to_min ) in main()
1738 opt.dtls_mtu = atoi( q ); in main()
1739 if( opt.dtls_mtu < 0 ) in main()
1744 opt.dgram_packing = atoi( q ); in main()
1745 if( opt.dgram_packing != 0 && in main()
1746 opt.dgram_packing != 1 ) in main()
1753 opt.sni = q; in main()
1762 if( opt.event == 1 && opt.nbio != 1 ) in main()
1765 opt.nbio = 1; in main()
1769 mbedtls_debug_set_threshold( opt.debug_level ); in main()
1771 buf = mbedtls_calloc( 1, opt.buffer_size + 1 ); in main()
1774 mbedtls_printf( "Could not allocate %u bytes\n", opt.buffer_size ); in main()
1779 if( opt.force_ciphersuite[0] > 0 ) in main()
1783 mbedtls_ssl_ciphersuite_from_id( opt.force_ciphersuite[0] ); in main()
1785 if( opt.max_version != -1 && in main()
1786 ciphersuite_info->min_minor_ver > opt.max_version ) in main()
1792 if( opt.min_version != -1 && in main()
1793 ciphersuite_info->max_minor_ver < opt.min_version ) in main()
1802 if( opt.max_version == -1 || in main()
1803 opt.max_version > ciphersuite_info->max_minor_ver ) in main()
1805 opt.max_version = ciphersuite_info->max_minor_ver; in main()
1807 if( opt.min_version < ciphersuite_info->min_minor_ver ) in main()
1809 opt.min_version = ciphersuite_info->min_minor_ver; in main()
1811 if( opt.transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM && in main()
1812 opt.min_version < MBEDTLS_SSL_MINOR_VERSION_2 ) in main()
1813 opt.min_version = MBEDTLS_SSL_MINOR_VERSION_2; in main()
1819 if( opt.arc4 == MBEDTLS_SSL_ARC4_DISABLED ) in main()
1826 opt.arc4 = MBEDTLS_SSL_ARC4_ENABLED; in main()
1830 if( opt.version_suites != NULL ) in main()
1835 for( i = 0, p = (char *) opt.version_suites; in main()
1875 if( unhexify( psk, opt.psk, &psk_len ) != 0 ) in main()
1881 if( opt.psk_list != NULL ) in main()
1883 if( ( psk_info = psk_parse( opt.psk_list ) ) == NULL ) in main()
1892 if( opt.curves != NULL ) in main()
1894 p = (char *) opt.curves; in main()
1948 if( opt.alpn_string != NULL ) in main()
1950 p = (char *) opt.alpn_string; in main()
1993 if( strlen( opt.ca_path ) ) in main()
1994 if( strcmp( opt.ca_path, "none" ) == 0 ) in main()
1997 ret = mbedtls_x509_crt_parse_path( &cacert, opt.ca_path ); in main()
1998 else if( strlen( opt.ca_file ) ) in main()
1999 if( strcmp( opt.ca_file, "none" ) == 0 ) in main()
2002 ret = mbedtls_x509_crt_parse_file( &cacert, opt.ca_file ); in main()
2035 if( strlen( opt.crt_file ) && strcmp( opt.crt_file, "none" ) != 0 ) in main()
2038 if( ( ret = mbedtls_x509_crt_parse_file( &srvcert, opt.crt_file ) ) != 0 ) in main()
2045 if( strlen( opt.key_file ) && strcmp( opt.key_file, "none" ) != 0 ) in main()
2048 if( ( ret = mbedtls_pk_parse_keyfile( &pkey, opt.key_file, "" ) ) != 0 ) in main()
2060 if( strlen( opt.crt_file2 ) && strcmp( opt.crt_file2, "none" ) != 0 ) in main()
2063 if( ( ret = mbedtls_x509_crt_parse_file( &srvcert2, opt.crt_file2 ) ) != 0 ) in main()
2070 if( strlen( opt.key_file2 ) && strcmp( opt.key_file2, "none" ) != 0 ) in main()
2073 if( ( ret = mbedtls_pk_parse_keyfile( &pkey2, opt.key_file2, "" ) ) != 0 ) in main()
2087 strcmp( opt.crt_file, "none" ) != 0 && in main()
2088 strcmp( opt.key_file, "none" ) != 0 && in main()
2090 strcmp( opt.crt_file2, "none" ) != 0 && in main()
2091 strcmp( opt.key_file2, "none" ) != 0 ) in main()
2142 if( opt.dhm_file != NULL ) in main()
2147 if( ( ret = mbedtls_dhm_parse_dhmfile( &dhm, opt.dhm_file ) ) != 0 ) in main()
2159 if( opt.sni != NULL ) in main()
2164 if( ( sni_info = sni_parse( opt.sni ) ) == NULL ) in main()
2178 opt.transport == MBEDTLS_SSL_TRANSPORT_STREAM ? "tcp" : "udp", in main()
2179 opt.server_addr ? opt.server_addr : "*", in main()
2180 opt.server_port ); in main()
2183 if( ( ret = mbedtls_net_bind( &listen_fd, opt.server_addr, opt.server_port, in main()
2184 opt.transport == MBEDTLS_SSL_TRANSPORT_STREAM ? in main()
2201 opt.transport, in main()
2212 if( opt.allow_sha1 > 0 ) in main()
2220 if( opt.auth_mode != DFL_AUTH_MODE ) in main()
2221 mbedtls_ssl_conf_authmode( &conf, opt.auth_mode ); in main()
2223 if( opt.cert_req_ca_list != DFL_CERT_REQ_CA_LIST ) in main()
2224 mbedtls_ssl_conf_cert_req_ca_list( &conf, opt.cert_req_ca_list ); in main()
2227 if( opt.hs_to_min != DFL_HS_TO_MIN || opt.hs_to_max != DFL_HS_TO_MAX ) in main()
2228 mbedtls_ssl_conf_handshake_timeout( &conf, opt.hs_to_min, opt.hs_to_max ); in main()
2230 if( opt.dgram_packing != DFL_DGRAM_PACKING ) in main()
2231 mbedtls_ssl_set_datagram_packing( &ssl, opt.dgram_packing ); in main()
2235 if( ( ret = mbedtls_ssl_conf_max_frag_len( &conf, opt.mfl_code ) ) != 0 ) in main()
2243 if( opt.trunc_hmac != DFL_TRUNC_HMAC ) in main()
2244 mbedtls_ssl_conf_truncated_hmac( &conf, opt.trunc_hmac ); in main()
2248 if( opt.extended_ms != DFL_EXTENDED_MS ) in main()
2249 mbedtls_ssl_conf_extended_master_secret( &conf, opt.extended_ms ); in main()
2253 if( opt.etm != DFL_ETM ) in main()
2254 mbedtls_ssl_conf_encrypt_then_mac( &conf, opt.etm ); in main()
2258 if( opt.alpn_string != NULL ) in main()
2270 if( opt.cache_max != -1 ) in main()
2271 mbedtls_ssl_cache_set_max_entries( &cache, opt.cache_max ); in main()
2273 if( opt.cache_timeout != -1 ) in main()
2274 mbedtls_ssl_cache_set_timeout( &cache, opt.cache_timeout ); in main()
2282 if( opt.tickets == MBEDTLS_SSL_SESSION_TICKETS_ENABLED ) in main()
2287 opt.ticket_timeout ) ) != 0 ) in main()
2301 if( opt.transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) in main()
2304 if( opt.cookies > 0 ) in main()
2319 if( opt.cookies == 0 ) in main()
2330 if( opt.anti_replay != DFL_ANTI_REPLAY ) in main()
2331 mbedtls_ssl_conf_dtls_anti_replay( &conf, opt.anti_replay ); in main()
2335 if( opt.badmac_limit != DFL_BADMAC_LIMIT ) in main()
2336 mbedtls_ssl_conf_dtls_badmac_limit( &conf, opt.badmac_limit ); in main()
2341 if( opt.force_ciphersuite[0] != DFL_FORCE_CIPHER ) in main()
2342 mbedtls_ssl_conf_ciphersuites( &conf, opt.force_ciphersuite ); in main()
2345 if( opt.arc4 != DFL_ARC4 ) in main()
2346 mbedtls_ssl_conf_arc4_support( &conf, opt.arc4 ); in main()
2349 if( opt.version_suites != NULL ) in main()
2365 if( opt.allow_legacy != DFL_ALLOW_LEGACY ) in main()
2366 mbedtls_ssl_conf_legacy_renegotiation( &conf, opt.allow_legacy ); in main()
2368 mbedtls_ssl_conf_renegotiation( &conf, opt.renegotiation ); in main()
2370 if( opt.renego_delay != DFL_RENEGO_DELAY ) in main()
2371 mbedtls_ssl_conf_renegotiation_enforced( &conf, opt.renego_delay ); in main()
2373 if( opt.renego_period != DFL_RENEGO_PERIOD ) in main()
2375 PUT_UINT64_BE( renego_period, opt.renego_period, 0 ); in main()
2381 if( strcmp( opt.ca_path, "none" ) != 0 && in main()
2382 strcmp( opt.ca_file, "none" ) != 0 ) in main()
2390 if( opt.async_private_delay1 >= 0 ) in main()
2393 opt.async_private_delay1 ); in main()
2413 if( opt.async_private_delay2 >= 0 ) in main()
2416 opt.async_private_delay2 ); in main()
2434 if( opt.async_operations[0] != '-' ) in main()
2439 for( r = opt.async_operations; *r; r++ ) in main()
2451 ssl_async_keys.inject_error = ( opt.async_private_error < 0 ? in main()
2452 - opt.async_private_error : in main()
2453 opt.async_private_error ); in main()
2467 if( opt.sni != NULL ) in main()
2471 if( opt.async_private_delay2 >= 0 ) in main()
2478 opt.async_private_delay2 ); in main()
2493 if( opt.curves != NULL && in main()
2494 strcmp( opt.curves, "default" ) != 0 ) in main()
2501 if( strlen( opt.psk ) != 0 && strlen( opt.psk_identity ) != 0 ) in main()
2504 (const unsigned char *) opt.psk_identity, in main()
2505 strlen( opt.psk_identity ) ); in main()
2513 if( opt.psk_list != NULL ) in main()
2522 if( opt.dhm_file != NULL ) in main()
2532 if( opt.min_version != DFL_MIN_VERSION ) in main()
2533 mbedtls_ssl_conf_min_version( &conf, MBEDTLS_SSL_MAJOR_VERSION_3, opt.min_version ); in main()
2535 if( opt.max_version != DFL_MIN_VERSION ) in main()
2536 mbedtls_ssl_conf_max_version( &conf, MBEDTLS_SSL_MAJOR_VERSION_3, opt.max_version ); in main()
2544 if( opt.nbio == 2 ) in main()
2548 opt.nbio == 0 ? mbedtls_net_recv_timeout : NULL ); in main()
2551 if( opt.dtls_mtu != DFL_DTLS_MTU ) in main()
2552 mbedtls_ssl_set_mtu( &ssl, opt.dtls_mtu ); in main()
2617 if( opt.nbio > 0 ) in main()
2627 mbedtls_ssl_conf_read_timeout( &conf, opt.read_timeout ); in main()
2630 if( opt.transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) in main()
2643 if( opt.ecjpake_pw != DFL_ECJPAKE_PW ) in main()
2646 (const unsigned char *) opt.ecjpake_pw, in main()
2647 strlen( opt.ecjpake_pw ) ) ) != 0 ) in main()
2679 if( opt.event == 1 /* level triggered IO */ ) in main()
2714 if( opt.async_private_error < 0 ) in main()
2737 if( opt.alpn_string != NULL ) in main()
2775 if( opt.exchanges == 0 ) in main()
2778 exchanges_left = opt.exchanges; in main()
2789 if( opt.transport == MBEDTLS_SSL_TRANSPORT_STREAM ) in main()
2794 len = opt.buffer_size - 1; in main()
2795 memset( buf, 0, opt.buffer_size ); in main()
2800 if( opt.event == 1 /* level triggered IO */ ) in main()
2895 len = opt.buffer_size - 1; in main()
2896 memset( buf, 0, opt.buffer_size ); in main()
2913 opt.event == 1 /* level triggered IO */ ) in main()
2957 if( opt.renegotiate && exchanges_left == opt.exchanges ) in main()
2971 if( opt.event == 1 /* level triggered IO */ ) in main()
2995 if( opt.response_size != DFL_RESPONSE_SIZE && in main()
2996 len < opt.response_size ) in main()
2998 memset( buf + len, 'B', opt.response_size - len ); in main()
2999 len += opt.response_size - len; in main()
3003 if( opt.response_size != DFL_RESPONSE_SIZE && in main()
3004 len > opt.response_size ) in main()
3006 len = opt.response_size; in main()
3013 if( opt.transport == MBEDTLS_SSL_TRANSPORT_STREAM ) in main()
3033 if( opt.event == 1 /* level triggered IO */ ) in main()
3054 if( opt.event == 1 /* level triggered IO */ ) in main()