Home
last modified time | relevance | path

Searched refs:COAP_PROTO_DTLS (Results 1 – 17 of 17) sorted by relevance

/third_party/libcoap/src/
Dcoap_session.c148 if (proto == COAP_PROTO_DTLS) { in coap_make_session()
197 if (session->proto == COAP_PROTO_DTLS) in coap_session_mfree()
220 …session->context->nack_handler(session, q->pdu, session->proto == COAP_PROTO_DTLS ? COAP_NACK_TLS_… in coap_session_mfree()
418 if ( session->proto==COAP_PROTO_DTLS) { in coap_session_connected()
474 if (session->proto == COAP_PROTO_DTLS) in coap_session_disconnected()
696 if (endpoint->proto == COAP_PROTO_DTLS) { in coap_endpoint_get_session()
751 else if (endpoint->proto == COAP_PROTO_DTLS) { in coap_endpoint_get_session()
825 case COAP_PROTO_DTLS: in coap_session_create_client()
855 if (proto == COAP_PROTO_UDP || proto == COAP_PROTO_DTLS) { in coap_session_create_client()
857 proto == COAP_PROTO_DTLS ? COAPS_DEFAULT_PORT : COAP_DEFAULT_PORT, in coap_session_create_client()
[all …]
Dpdu.c785 } else if (proto == COAP_PROTO_UDP || proto==COAP_PROTO_DTLS) { in coap_pdu_parse_header_size()
827 if (proto == COAP_PROTO_UDP || proto == COAP_PROTO_DTLS) { in coap_pdu_parse_header()
1131 if (proto == COAP_PROTO_UDP || proto == COAP_PROTO_DTLS) { in coap_pdu_encode_header()
Dcoap_io.c1314 if (ep->proto == COAP_PROTO_DTLS) {
1317 s->proto == COAP_PROTO_DTLS && s->tls) {
1341 s->proto == COAP_PROTO_DTLS && s->tls) {
Dnet.c774 case COAP_PROTO_DTLS: in coap_session_send_pdu()
823 if (session->proto == COAP_PROTO_DTLS && !session->tls) { in coap_send_pdu()
1435 if (session->proto == COAP_PROTO_DTLS) { in coap_handle_dgram_for_proto()
1515 case COAP_PROTO_DTLS: in coap_write_session()
1714 … if (endpoint->proto == COAP_PROTO_DTLS && session->type == COAP_SESSION_TYPE_HELLO && result == 1) in coap_read_endpoint()
Dcoap_mbedtls.c894 c_session->proto == COAP_PROTO_DTLS ? in setup_server_ssl_session()
1042 c_session->proto == COAP_PROTO_DTLS ? in setup_client_ssl_session()
Dcoap_openssl.c2082 if (session->proto == COAP_PROTO_DTLS) { in tls_server_name_call_back()
2180 if (c_session->proto == COAP_PROTO_DTLS) { in psk_tls_server_name_call_back()
2823 if (session->proto == COAP_PROTO_DTLS) { in setup_client_ssl_session()
Dcoap_gnutls.c1996 if (c_session->proto == COAP_PROTO_DTLS && g_env && in receive_timeout()
/third_party/libcoap/man/
Dcoap_endpoint_client.txt.in93 COAP_PROTO_DTLS
273 COAP_PROTO_DTLS, &dtls_pki);
353 COAP_PROTO_DTLS, &dtls_psk);
390 COAP_PROTO_DTLS);
Dcoap_endpoint_server.txt.in126 COAP_PROTO_DTLS
337 endpoint = coap_new_endpoint(context, &listen_addr, COAP_PROTO_DTLS);
464 endpoint = coap_new_endpoint(context, &listen_addr, COAP_PROTO_DTLS);
546 COAP_PROTO_DTLS, &dtls_psk);
Dcoap_session.txt.in139 COAP_PROTO_DTLS
Dcoap_handler.txt.in173 * (D)TLS events for COAP_PROTO_DTLS and COAP_PROTO_TLS
Dcoap_encryption.txt.in996 endpoint = coap_new_endpoint(context, &listen_addr, COAP_PROTO_DTLS);
1128 endpoint = coap_new_endpoint(context, &listen_addr, COAP_PROTO_DTLS);
1209 COAP_PROTO_DTLS, &dtls_psk);
/third_party/libcoap/include/coap3/
Dcoap_session.h35 #define COAP_PROTO_NOT_RELIABLE(p) ((p)==COAP_PROTO_UDP || (p)==COAP_PROTO_DTLS)
Dpdu.h290 COAP_PROTO_DTLS, enumerator
/third_party/libcoap/examples/
Dcoap-client.c1328 if (proto == COAP_PROTO_DTLS || proto == COAP_PROTO_TLS) { in open_session()
1620 : scheme==COAP_URI_SCHEME_COAPS ? COAP_PROTO_DTLS : COAP_PROTO_UDP), 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()
2314 ep_dtls = coap_new_endpoint(ctx, &addrs, COAP_PROTO_DTLS); in get_context()
Dcoap-rd.c745 ep_dtls = coap_new_endpoint(ctx, &addrs, COAP_PROTO_DTLS); in get_context()