Home
last modified time | relevance | path

Searched refs:transport (Results 1 – 7 of 7) sorted by relevance

/net-tools-3.6.0/mbedtls-2.4.0/include/mbedtls/
Dssl_internal.h443 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()
Dssl.h718 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/
Dssl_client2.c314 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 …]
Dssl_server2.c397 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/
Dssl_tls.c65 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 …]
Dssl_srv.c730 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 …]
Dssl_cli.c679 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 …]