/third_party/libcoap/tests/ |
D | test_pdu.c | 30 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu1() 46 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu2() 63 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu3() 74 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu4() 79 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu4() 91 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu5() 113 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu6() 126 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu7() 151 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu8() 172 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu9() [all …]
|
D | test_error_response.c | 51 CU_ASSERT(coap_pdu_encode_header(response, COAP_PROTO_UDP) == 4); in t_error_response1() 80 CU_ASSERT(coap_pdu_encode_header(response, COAP_PROTO_UDP) == 4); in t_error_response2() 113 CU_ASSERT(coap_pdu_encode_header(response, COAP_PROTO_UDP) == 4); in t_error_response3() 152 CU_ASSERT(coap_pdu_encode_header(response, COAP_PROTO_UDP) == 4); in t_error_response4() 193 CU_ASSERT(coap_pdu_encode_header(response, COAP_PROTO_UDP) == 4); in t_error_response5() 234 CU_ASSERT(coap_pdu_encode_header(response, COAP_PROTO_UDP) == 4); in t_error_response6() 276 CU_ASSERT(coap_pdu_encode_header(response, COAP_PROTO_UDP) == 4); in t_error_response7() 317 CU_ASSERT(coap_pdu_encode_header(response, COAP_PROTO_UDP) == 4); in t_error_response8()
|
D | test_session.c | 160 session = coap_new_client_session(ctx, &saddr, &laddr, COAP_PROTO_UDP); in t_session6() 185 session = coap_new_client_session(ctx, NULL, &addr, COAP_PROTO_UDP); in t_session_tests_create()
|
D | test_wellknown.c | 267 session = coap_new_client_session(ctx, NULL, &addr, COAP_PROTO_UDP); in t_wkc_tests_create()
|
D | test_sendqueue.c | 288 session = coap_new_client_session(ctx, NULL, &addr, COAP_PROTO_UDP); in t_sendqueue_tests_create()
|
/third_party/libcoap/tests/oss-fuzz/ |
D | pdu_parse_target.c | 8 coap_pdu_parse(COAP_PROTO_UDP, data, size, pdu); in LLVMFuzzerTestOneInput() 12 coap_pdu_encode_header(pdu, COAP_PROTO_UDP); in LLVMFuzzerTestOneInput()
|
/third_party/libcoap/src/ |
D | coap_session.c | 483 if (session->proto == COAP_PROTO_UDP) in coap_session_disconnected() 749 if (endpoint->proto == COAP_PROTO_UDP) in coap_endpoint_get_session() 823 case COAP_PROTO_UDP: in coap_session_create_client() 855 if (proto == COAP_PROTO_UDP || proto == COAP_PROTO_DTLS) { in coap_session_create_client() 893 if (session->proto == COAP_PROTO_UDP) { in coap_session_connect() 1341 if (proto==COAP_PROTO_UDP || proto==COAP_PROTO_DTLS) { in coap_new_endpoint() 1469 if (session->proto == COAP_PROTO_UDP) { in coap_session_str() 1496 if (endpoint->proto == COAP_PROTO_UDP) { in coap_endpoint_str()
|
D | coap_io_lwip.c | 122 LWIP_ASSERT("Proto not supported for LWIP endpoints", proto == COAP_PROTO_UDP); in coap_new_endpoint()
|
D | pdu.c | 785 } 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()
|
D | net.c | 586 coap_endpoint_t *endpoint = coap_new_endpoint(c, listen_addr, COAP_PROTO_UDP); in coap_new_context() 770 case COAP_PROTO_UDP: in coap_session_send_pdu() 1440 } else if (session->proto == COAP_PROTO_UDP) { in coap_handle_dgram_for_proto() 1514 case COAP_PROTO_UDP: in coap_write_session() 3422 if (endpoint->proto == COAP_PROTO_UDP) { in coap_join_mcast_group_intf()
|
/third_party/libcoap/examples/ |
D | tiny.c | 117 session = coap_new_client_session(ctx, NULL, &addr, COAP_PROTO_UDP); in get_session()
|
D | coap-rd.c | 742 ep_udp = coap_new_endpoint(ctx, &addr, COAP_PROTO_UDP); in get_context()
|
D | coap-server.c | 935 COAP_PROTO_UDP : COAP_PROTO_TCP); in get_ongoing_proxy_session() 2311 ep_udp = coap_new_endpoint(ctx, &addr, COAP_PROTO_UDP); in get_context()
|
D | coap-client.c | 1620 : scheme==COAP_URI_SCHEME_COAPS ? COAP_PROTO_DTLS : COAP_PROTO_UDP), in main()
|
/third_party/libcoap/include/coap3/ |
D | coap_session.h | 35 #define COAP_PROTO_NOT_RELIABLE(p) ((p)==COAP_PROTO_UDP || (p)==COAP_PROTO_DTLS)
|
D | pdu.h | 289 COAP_PROTO_UDP, enumerator
|
/third_party/libcoap/man/ |
D | coap_endpoint_client.txt.in | 92 COAP_PROTO_UDP 179 session = coap_new_client_session(context, NULL, &server, COAP_PROTO_UDP);
|
D | coap_endpoint_server.txt.in | 125 COAP_PROTO_UDP 193 endpoint = coap_new_endpoint(context, &listen_addr, COAP_PROTO_UDP);
|
D | coap_session.txt.in | 138 COAP_PROTO_UDP
|
D | coap_observe.txt.in | 265 ep = coap_new_endpoint(ctx, &addr, COAP_PROTO_UDP);
|