Searched refs:COAP_PROTO_TCP (Results 1 – 12 of 12) sorted by relevance
760 case COAP_PROTO_TCP: in coap_session_create_client()791 } else if (proto == COAP_PROTO_TCP || proto == COAP_PROTO_TLS) { in coap_session_create_client()839 if (session->proto == COAP_PROTO_TCP || session->proto == COAP_PROTO_TLS) { in coap_session_connect()871 if (session->proto == COAP_PROTO_TCP || session->proto == COAP_PROTO_TLS) in coap_session_accept()873 if (session->proto == COAP_PROTO_TCP) { in coap_session_accept()1246 if (proto == COAP_PROTO_TCP && !coap_tcp_is_supported()) { in coap_new_endpoint()1275 } else if (proto==COAP_PROTO_TCP || proto==COAP_PROTO_TLS) { in coap_new_endpoint()1294 : ep->proto == COAP_PROTO_TCP ? "TCP " in coap_new_endpoint()1404 } else if (session->proto == COAP_PROTO_TCP) { in coap_session_str()
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()1142 } else if (proto == COAP_PROTO_TCP || proto == COAP_PROTO_TLS) { in coap_pdu_encode_header()
778 case COAP_PROTO_TCP: in coap_session_send_pdu()1459 if (session->proto == COAP_PROTO_TCP) { in coap_connect_session()1495 case COAP_PROTO_TCP: in coap_write_session()1579 if (session->proto == COAP_PROTO_TCP) in coap_read_session()3143 if (session->proto != COAP_PROTO_TCP && session->proto != COAP_PROTO_TLS) { in coap_dispatch()
36 #define COAP_PROTO_RELIABLE(p) ((p)==COAP_PROTO_TCP || (p)==COAP_PROTO_TLS)
284 COAP_PROTO_TCP, enumerator
140 COAP_PROTO_TCP
180 * TCP events for COAP_PROTO_TCP and COAP_PROTO_TLS
94 COAP_PROTO_TCP
127 COAP_PROTO_TCP
1616 scheme==COAP_URI_SCHEME_COAP_TCP ? COAP_PROTO_TCP : in main()1619 scheme==COAP_URI_SCHEME_COAPS ? COAP_PROTO_TLS : COAP_PROTO_TCP in main()
753 ep_tcp = coap_new_endpoint(ctx, &addr, COAP_PROTO_TCP); in get_context()
935 COAP_PROTO_UDP : COAP_PROTO_TCP); in get_ongoing_proxy_session()2324 ep_tcp = coap_new_endpoint(ctx, &addr, COAP_PROTO_TCP); in get_context()