Home
last modified time | relevance | path

Searched refs:COAP_PROTO_TLS (Results 1 – 15 of 15) sorted by relevance

/third_party/libcoap/src/
Dcoap_session.c200 else if (session->proto == COAP_PROTO_TLS) in coap_session_mfree()
477 else if (session->proto == COAP_PROTO_TLS) in coap_session_disconnected()
837 case COAP_PROTO_TLS: in coap_session_create_client()
862 } else if (proto == COAP_PROTO_TCP || proto == COAP_PROTO_TLS) { in coap_session_create_client()
864 proto == COAP_PROTO_TLS ? COAPS_DEFAULT_PORT : COAP_DEFAULT_PORT, in coap_session_create_client()
910 if (session->proto == COAP_PROTO_TCP || session->proto == COAP_PROTO_TLS) { in coap_session_connect()
913 } else if (session->proto == COAP_PROTO_TLS) { in coap_session_connect()
942 if (session->proto == COAP_PROTO_TCP || session->proto == COAP_PROTO_TLS) in coap_session_accept()
946 } else if (session->proto == COAP_PROTO_TLS) { in coap_session_accept()
1312 if (proto == COAP_PROTO_TLS && !coap_tls_is_supported()) { in coap_new_endpoint()
[all …]
Dpdu.c775 if (proto == COAP_PROTO_TCP || proto==COAP_PROTO_TLS) { in coap_pdu_parse_header_size()
797 assert(proto == COAP_PROTO_TCP || proto == COAP_PROTO_TLS); in coap_pdu_parse_size()
802 if ((proto == COAP_PROTO_TCP || proto==COAP_PROTO_TLS) && length >= 1) { in coap_pdu_parse_size()
837 } else if (proto == COAP_PROTO_TCP || proto == COAP_PROTO_TLS) { in coap_pdu_parse_header()
1145 } else if (proto == COAP_PROTO_TCP || proto == COAP_PROTO_TLS) { in coap_pdu_encode_header()
Dnet.c784 case COAP_PROTO_TLS: in coap_session_send_pdu()
835 session->proto == COAP_PROTO_TLS ? COAPS_DEFAULT_PORT : in coap_send_pdu()
851 if (session->proto == COAP_PROTO_TLS) { in coap_send_pdu()
1461 } else if (session->proto == COAP_PROTO_TLS) { in coap_connect_session()
1504 case COAP_PROTO_TLS: in coap_write_session()
1585 else if (session->proto == COAP_PROTO_TLS) in coap_read_session()
3144 if (session->proto != COAP_PROTO_TCP && session->proto != COAP_PROTO_TLS) { in coap_dispatch()
Dcoap_mbedtls.c1107 if (c_session->proto == COAP_PROTO_TLS) { in setup_client_ssl_session()
Dcoap_gnutls.c1761 if (c_session->proto == COAP_PROTO_TLS) in setup_client_ssl_session()
Dcoap_openssl.c2841 if (session->proto == COAP_PROTO_TLS) in setup_client_ssl_session()
/third_party/libcoap/include/coap3/
Dcoap_session.h36 #define COAP_PROTO_RELIABLE(p) ((p)==COAP_PROTO_TCP || (p)==COAP_PROTO_TLS)
Dpdu.h292 COAP_PROTO_TLS, enumerator
/third_party/libcoap/man/
Dcoap_handler.txt.in173 * (D)TLS events for COAP_PROTO_DTLS and COAP_PROTO_TLS
180 * TCP events for COAP_PROTO_TCP and COAP_PROTO_TLS
Dcoap_session.txt.in141 COAP_PROTO_TLS
Dcoap_endpoint_client.txt.in95 COAP_PROTO_TLS
Dcoap_endpoint_server.txt.in128 COAP_PROTO_TLS
/third_party/libcoap/examples/
Dcoap-client.c1328 if (proto == COAP_PROTO_DTLS || proto == COAP_PROTO_TLS) { in open_session()
1617 scheme==COAP_URI_SCHEME_COAPS_TCP ? COAP_PROTO_TLS : in main()
1619 scheme==COAP_URI_SCHEME_COAPS ? COAP_PROTO_TLS : COAP_PROTO_TCP in main()
Dcoap-server.c953 COAP_PROTO_DTLS : COAP_PROTO_TLS, in get_ongoing_proxy_session()
963 COAP_PROTO_DTLS : COAP_PROTO_TLS, in get_ongoing_proxy_session()
2328 ep_tls = coap_new_endpoint(ctx, &addrs, COAP_PROTO_TLS); in get_context()
Dcoap-rd.c756 ep_tls = coap_new_endpoint(ctx, &addrs, COAP_PROTO_TLS); in get_context()