Home
last modified time | relevance | path

Searched refs:COAP_PROTO_TCP (Results 1 – 12 of 12) sorted by relevance

/dports/net/libcoap/libcoap-4.3.0/src/
H A Dcoap_session.c760 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()
H A 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()
1142 } else if (proto == COAP_PROTO_TCP || proto == COAP_PROTO_TLS) { in coap_pdu_encode_header()
H A Dnet.c778 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()
/dports/net/libcoap/libcoap-4.3.0/include/coap3/
H A Dcoap_session.h36 #define COAP_PROTO_RELIABLE(p) ((p)==COAP_PROTO_TCP || (p)==COAP_PROTO_TLS)
H A Dpdu.h284 COAP_PROTO_TCP, enumerator
/dports/net/libcoap/libcoap-4.3.0/man/
H A Dcoap_session.txt.in140 COAP_PROTO_TCP
H A Dcoap_handler.txt.in180 * TCP events for COAP_PROTO_TCP and COAP_PROTO_TLS
H A Dcoap_endpoint_client.txt.in94 COAP_PROTO_TCP
H A Dcoap_endpoint_server.txt.in127 COAP_PROTO_TCP
/dports/net/libcoap/libcoap-4.3.0/examples/
H A Dcoap-client.c1616 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()
H A Dcoap-rd.c753 ep_tcp = coap_new_endpoint(ctx, &addr, COAP_PROTO_TCP); in get_context()
H A Dcoap-server.c935 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()