Home
last modified time | relevance | path

Searched refs:endpoint (Results 1 – 16 of 16) sorted by relevance

/openthread-latest/src/core/net/
Dtcp6.cpp627 Endpoint *endpoint; in HandleMessage() local
650 endpoint = mEndpoints.FindMatching(aMessageInfo); in HandleMessage()
652 if (endpoint != nullptr) in HandleMessage()
654 struct tcpcb *tp = &endpoint->GetTcb(); in HandleMessage()
657 … size_t priorBacklog = endpoint->GetSendBufferBytes() - endpoint->GetInFlightBytes(); in HandleMessage()
663 ProcessSignals(*endpoint, priorHead, priorBacklog, sig); in HandleMessage()
771 for (Endpoint &endpoint : mEndpoints) in CanBind()
773 struct tcpcb *tp = &endpoint.GetTcb(); in CanBind()
779 … VerifyOrExit(memcmp(&endpoint.GetTcb().laddr, &aSockName.mAddress, sizeof(tp->laddr)) != 0); in CanBind()
876 for (Endpoint &endpoint : mEndpoints) in HandleTimer()
[all …]
/openthread-latest/src/core/api/
Dtcp_ext_api.cpp92 otTcpEndpoint *endpoint = pair->mEndpoint; in otTcpMbedTlsSslSendCallback() local
98 error = otTcpCircularSendBufferWrite(endpoint, sendBuffer, aBuf, aLen, &bytes_written, 0); in otTcpMbedTlsSslSendCallback()
110 otTcpEndpoint *endpoint = pair->mEndpoint; in otTcpMbedTlsSslRecvCallback() local
116 error = otTcpReceiveByReference(endpoint, &buffer); in otTcpMbedTlsSslRecvCallback()
126 IgnoreReturnValue(otTcpCommitReceive(endpoint, bytes_read, 0)); in otTcpMbedTlsSslRecvCallback()
/openthread-latest/src/cli/
DREADME_TCP.md73 …nection, if one exists, associated with the example TCP endpoint, transitioning the TCP endpoint t…
83 …ytes using the TCP connection currently associated with the example TCP endpoint (this TCP connect…
111 Associates a name (i.e. IPv6 address and port) to the example TCP endpoint.
125 …ablishment is successful, the resulting TCP connection is associated with the example TCP endpoint.
149 Deinitializes the example TCP listener and the example TCP endpoint.
178 Initializes the example TCP listener and the example TCP endpoint.
181 - size: the size of the receive buffer to associate with the example TCP endpoint. If left unspecif…
183 …her both should use TLS or neither should (a non-TLS endpoint cannot communicate with a TLS endpoi…
196 …e example TCP endpoint, then any incoming connections matching the specified name are accepted and…
208 Send data over the TCP connection associated with the example TCP endpoint.
[all …]
/openthread-latest/third_party/mbedtls/repo/library/
Dssl_tls.c305 if (src->endpoint == MBEDTLS_SSL_IS_CLIENT) { in mbedtls_ssl_session_copy()
425 unsigned endpoint,
1148 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT) { in ssl_handshake_init()
1369 ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT && in ssl_conf_check()
1627 void mbedtls_ssl_conf_endpoint(mbedtls_ssl_config *conf, int endpoint) in mbedtls_ssl_conf_endpoint() argument
1629 conf->endpoint = endpoint; in mbedtls_ssl_conf_endpoint()
1753 ssl->conf->endpoint != MBEDTLS_SSL_IS_CLIENT) { in mbedtls_ssl_set_session()
1989 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_set_hs_ecjpake_password_common()
2095 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_set_hs_ecjpake_password()
3167 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT && in mbedtls_ssl_get_input_max_frag_len()
[all …]
Dssl_tls13_generic.c377 (ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT) ? in mbedtls_ssl_tls13_process_certificate_verify()
639 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in ssl_tls13_validate_certificate()
660 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER) { in ssl_tls13_validate_certificate()
678 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT) { in ssl_tls13_validate_certificate()
715 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT) { in ssl_tls13_validate_certificate()
1038 ssl->conf->endpoint); in ssl_tls13_write_certificate_verify_body()
1174 ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT ? in ssl_tls13_preprocess_finished_message()
1272 ssl->conf->endpoint); in ssl_tls13_prepare_finished_message()
Dssl_tls13_keys.c926 int endpoint, int ciphersuite, in mbedtls_ssl_tls13_populate_transform() argument
985 if (endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_tls13_populate_transform()
993 if (endpoint == MBEDTLS_SSL_IS_CLIENT) { in mbedtls_ssl_tls13_populate_transform()
1256 ssl->conf->endpoint, in mbedtls_ssl_tls13_compute_early_transform()
1728 ssl->conf->endpoint, in mbedtls_ssl_tls13_compute_handshake_transform()
1819 ssl->conf->endpoint, in mbedtls_ssl_tls13_compute_application_transform()
Dssl_tls13_keys.h516 int endpoint,
Dssl_msg.c2274 else if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in mbedtls_ssl_fetch_input()
3941 ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in ssl_check_client_reconnect()
5600 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT) { in ssl_tls13_handle_hs_message_post_handshake()
5635 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT && in ssl_tls12_handle_hs_message_post_handshake()
5651 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in ssl_tls12_handle_hs_message_post_handshake()
5678 ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT) { in ssl_tls12_handle_hs_message_post_handshake()
5928 if (ssl->conf->endpoint == MBEDTLS_SSL_IS_SERVER && in mbedtls_ssl_read()
6085 if (conf->endpoint != MBEDTLS_SSL_IS_CLIENT) { in mbedtls_ssl_write_early_data()
Dssl_tls13_client.c1490 ssl->session_negotiate->endpoint = ssl->conf->endpoint; in ssl_tls13_preprocess_server_hello()
2323 if ((ssl->conf->endpoint != MBEDTLS_SSL_IS_CLIENT) || in mbedtls_ssl_get_early_data_status()
Dssl_tls13_server.c1410 ssl->session_negotiate->endpoint = ssl->conf->endpoint; in ssl_tls13_parse_client_hello()
Dssl_tls12_server.c52 if (ssl->conf->endpoint != MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_set_client_transport_id()
1164 ssl->session_negotiate->endpoint = ssl->conf->endpoint; in ssl_parse_client_hello()
Dssl_tls12_client.c1271 ssl->session_negotiate->endpoint = ssl->conf->endpoint; in ssl_parse_server_hello()
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Dssl.h1242 uint8_t MBEDTLS_PRIVATE(endpoint); /*!< 0: client, 1: server */
1426 uint8_t MBEDTLS_PRIVATE(endpoint); /*!< 0: client, 1: server */
2020 void mbedtls_ssl_conf_endpoint(mbedtls_ssl_config *conf, int endpoint);
2032 return conf->MBEDTLS_PRIVATE(endpoint); in mbedtls_ssl_conf_get_endpoint()
2681 session->MBEDTLS_PRIVATE(endpoint) != MBEDTLS_SSL_IS_SERVER) { in mbedtls_ssl_session_get_ticket_creation_time()
5544 int endpoint, int transport, int preset);
/openthread-latest/third_party/mbedtls/repo/tests/src/test_helpers/
Dssl_helpers.c628 if (ep->conf.endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_test_ssl_endpoint_certificate_init()
1686 session->endpoint = endpoint_type; in mbedtls_test_ssl_tls12_populate_session()
1766 if (session->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_test_ssl_tls12_populate_session()
1791 session->endpoint = endpoint_type == MBEDTLS_SSL_IS_CLIENT ? in mbedtls_test_ssl_tls13_populate_session()
1811 if (session->endpoint == MBEDTLS_SSL_IS_SERVER) { in mbedtls_test_ssl_tls13_populate_session()
1817 if (session->endpoint == MBEDTLS_SSL_IS_CLIENT) { in mbedtls_test_ssl_tls13_populate_session()
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ssl.function1830 int endpoint,
1850 TEST_ASSERT(endpoint == MBEDTLS_SSL_IS_CLIENT ||
1851 endpoint == MBEDTLS_SSL_IS_SERVER);
1853 if (endpoint == MBEDTLS_SSL_IS_SERVER) {
1856 if (endpoint == MBEDTLS_SSL_IS_CLIENT) {
1878 &transform_send, endpoint,
2037 TEST_ASSERT(original.endpoint == restored.endpoint);
2531 * handshake, force the TLS 1.2 version on endpoint under test.
2970 void conf_version(int endpoint, int transport,
2981 mbedtls_ssl_conf_endpoint(&conf, endpoint);
[all …]
/openthread-latest/third_party/mbedtls/repo/
DChangeLog411 `mbedtls_ssl_config.endpoint`.