Home
last modified time | relevance | path

Searched refs:COAP_PROTO_RELIABLE (Results 1 – 5 of 5) sorted by relevance

/third_party/libcoap/include/coap3/
Dcoap_session.h36 #define COAP_PROTO_RELIABLE(p) ((p)==COAP_PROTO_TCP || (p)==COAP_PROTO_TLS) macro
/third_party/libcoap/src/
Dnet.c832 } else if(COAP_PROTO_RELIABLE(session->proto)) { in coap_send_pdu()
1091 ((pdu->type == COAP_MESSAGE_NON || COAP_PROTO_RELIABLE(session->proto)) && in coap_send()
1267 if (COAP_PROTO_RELIABLE(session->proto) && in coap_send_internal()
1300 if (COAP_PROTO_RELIABLE(session->proto) && in coap_send_internal()
1313 || COAP_PROTO_RELIABLE(session->proto)) { in coap_send_internal()
2452 COAP_PROTO_RELIABLE(session->proto))) { in no_response()
2505 if (COAP_PROTO_RELIABLE(session->proto) || pdu->type != COAP_MESSAGE_NON) { in handle_request()
Dcoap_session.c362 assert(COAP_PROTO_RELIABLE(session->proto)); in coap_session_send_csm()
536 if (COAP_PROTO_RELIABLE(session->proto)) { in coap_session_disconnected()
Dcoap_io.c1261 && COAP_PROTO_RELIABLE(s->proto)
/third_party/libcoap/examples/
Dcoap-client.c1376 hints.ai_socktype = COAP_PROTO_RELIABLE(proto) ? SOCK_STREAM : SOCK_DGRAM; /* Coap uses UDP */ in get_session()