Searched refs:transport (Results 1 – 7 of 7) sorted by relevance
/net-tools-3.6.0/mbedtls-2.4.0/include/mbedtls/ |
D | ssl_internal.h | 443 void mbedtls_ssl_write_version( int major, int minor, int transport, 445 void mbedtls_ssl_read_version( int *major, int *minor, int transport, 451 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) in mbedtls_ssl_hdr_len() 462 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) in mbedtls_ssl_hs_hdr_len()
|
D | ssl.h | 718 unsigned int transport : 1; /*!< stream (TLS) or datagram (DTLS) */ member 1009 void mbedtls_ssl_conf_transport( mbedtls_ssl_config *conf, int transport ); 2524 int endpoint, int transport, int preset );
|
/net-tools-3.6.0/mbedtls-2.4.0/programs/ssl/ |
D | ssl_client2.c | 314 int transport; /* TLS or DTLS? */ member 504 opt.transport = DFL_TRANSPORT; in main() 528 opt.transport = MBEDTLS_SSL_TRANSPORT_STREAM; in main() 530 opt.transport = MBEDTLS_SSL_TRANSPORT_DATAGRAM; in main() 734 opt.transport = MBEDTLS_SSL_TRANSPORT_DATAGRAM; in main() 740 opt.transport = MBEDTLS_SSL_TRANSPORT_DATAGRAM; in main() 839 if( opt.transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM && in main() 1052 opt.transport == MBEDTLS_SSL_TRANSPORT_STREAM ? "tcp" : "udp", in main() 1057 opt.transport == MBEDTLS_SSL_TRANSPORT_STREAM ? in main() 1084 opt.transport, in main() [all …]
|
D | ssl_server2.c | 397 int transport; /* TLS or DTLS? */ member 938 opt.transport = DFL_TRANSPORT; in main() 962 opt.transport = MBEDTLS_SSL_TRANSPORT_STREAM; in main() 964 opt.transport = MBEDTLS_SSL_TRANSPORT_DATAGRAM; in main() 1119 opt.transport = MBEDTLS_SSL_TRANSPORT_DATAGRAM; in main() 1125 opt.transport = MBEDTLS_SSL_TRANSPORT_DATAGRAM; in main() 1274 if( opt.transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM && in main() 1581 opt.transport == MBEDTLS_SSL_TRANSPORT_STREAM ? "tcp" : "udp", in main() 1587 opt.transport == MBEDTLS_SSL_TRANSPORT_STREAM ? in main() 1604 opt.transport, in main() [all …]
|
/net-tools-3.6.0/mbedtls-2.4.0/library/ |
D | ssl_tls.c | 65 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) in ssl_ep_len() 1366 ssl->conf->transport, add_data + 9 ); in ssl_encrypt_buf() 1649 ssl->conf->transport, add_data + 9 ); in ssl_decrypt_buf() 2032 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) in ssl_decrypt_buf() 2224 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) in mbedtls_ssl_fetch_input() 2704 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM && in mbedtls_ssl_write_record() 2735 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) in mbedtls_ssl_write_record() 2767 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM && in mbedtls_ssl_write_record() 2815 ssl->conf->transport, ssl->out_hdr + 1 ); in mbedtls_ssl_write_record() 3092 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) in mbedtls_ssl_prepare_handshake_record() [all …]
|
D | ssl_srv.c | 730 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM && in ssl_ciphersuite_match() 1113 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_STREAM ) 1145 mbedtls_ssl_read_version( &major, &minor, ssl->conf->transport, buf + 1 ); 1160 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM 1215 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) 1262 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) 1343 ssl->conf->transport, buf ); 1401 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) 1503 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) 1846 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) [all …]
|
D | ssl_cli.c | 679 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM && 751 ssl->conf->transport, p ); 824 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) 867 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM && 933 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) 1039 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) 1335 mbedtls_ssl_read_version( &major_ver, &minor_ver, ssl->conf->transport, p ); 1445 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) 1485 ssl->conf->transport, buf + 0 ); 1557 if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM ) [all …]
|