Searched refs:COAP_PROTO_TLS (Results 1 – 15 of 15) sorted by relevance
200 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 …]
775 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()
784 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()
1107 if (c_session->proto == COAP_PROTO_TLS) { in setup_client_ssl_session()
1761 if (c_session->proto == COAP_PROTO_TLS) in setup_client_ssl_session()
2841 if (session->proto == COAP_PROTO_TLS) in setup_client_ssl_session()
36 #define COAP_PROTO_RELIABLE(p) ((p)==COAP_PROTO_TCP || (p)==COAP_PROTO_TLS)
292 COAP_PROTO_TLS, enumerator
173 * (D)TLS events for COAP_PROTO_DTLS and COAP_PROTO_TLS180 * TCP events for COAP_PROTO_TCP and COAP_PROTO_TLS
141 COAP_PROTO_TLS
95 COAP_PROTO_TLS
128 COAP_PROTO_TLS
1328 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()
953 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()
756 ep_tls = coap_new_endpoint(ctx, &addrs, COAP_PROTO_TLS); in get_context()