/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() 75 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu4() 81 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu4() 93 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu5() 115 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu6() 128 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu7() 153 result = coap_pdu_parse(COAP_PROTO_UDP, teststr, sizeof(teststr), pdu); in t_parse_pdu8() 174 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_oscore.c | 455 result = coap_pdu_parse(COAP_PROTO_UDP, unprotected_coap_request, in t_oscore_c_4() 462 session->proto = COAP_PROTO_UDP; in t_oscore_c_4() 522 result = coap_pdu_parse(COAP_PROTO_UDP, unprotected_coap_request, in t_oscore_c_5() 529 session->proto = COAP_PROTO_UDP; in t_oscore_c_5() 591 result = coap_pdu_parse(COAP_PROTO_UDP, unprotected_coap_request, in t_oscore_c_6() 598 session->proto = COAP_PROTO_UDP; in t_oscore_c_6() 671 result = coap_pdu_parse(COAP_PROTO_UDP, protected_coap_request, in t_oscore_c_7() 675 result = coap_pdu_parse(COAP_PROTO_UDP, unprotected_coap_response, in t_oscore_c_7() 682 session->proto = COAP_PROTO_UDP; in t_oscore_c_7() 778 result = coap_pdu_parse(COAP_PROTO_UDP, unprotected_coap_request, in t_oscore_c_7_2() [all …]
|
D | test_session.c | 161 session = coap_new_client_session(ctx, &saddr, &laddr, COAP_PROTO_UDP); in t_session6() 186 session = coap_new_client_session(ctx, NULL, &addr, COAP_PROTO_UDP); in t_session_tests_create()
|
D | test_wellknown.c | 205 session = coap_new_client_session(ctx, NULL, &addr, COAP_PROTO_UDP); in t_wkc_tests_create()
|
D | test_sendqueue.c | 289 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_udp_target.c | 11 if (coap_pdu_parse(COAP_PROTO_UDP, data, size, pdu)) { in LLVMFuzzerTestOneInput() 15 coap_pdu_encode_header(pdu, COAP_PROTO_UDP); in LLVMFuzzerTestOneInput()
|
/third_party/libcoap/src/ |
D | coap_address.c | 382 case COAP_PROTO_UDP: in coap_get_available_scheme_hint_bits() 448 proto = COAP_PROTO_UDP; in coap_resolve_address_info() 541 proto = COAP_PROTO_UDP; in coap_resolve_address_info() 717 proto = COAP_PROTO_UDP; in coap_resolve_address_info()
|
D | coap_session.c | 1031 if (session->proto == COAP_PROTO_UDP) in coap_session_disconnected() 1232 if (endpoint->proto == COAP_PROTO_UDP) in coap_endpoint_get_session() 1269 case COAP_PROTO_UDP: in coap_session_create_client() 1821 case COAP_PROTO_UDP: in coap_proto_name() 2052 if (endpoint->proto == COAP_PROTO_UDP) { in coap_endpoint_str()
|
D | coap_pdu.c | 931 } else if (proto == COAP_PROTO_UDP || proto==COAP_PROTO_DTLS) { in coap_pdu_parse_header_size() 1000 if (proto == COAP_PROTO_UDP || proto == COAP_PROTO_DTLS) { in coap_pdu_parse_header()
|
D | coap_subscribe.c | 79 if (e_proto != COAP_PROTO_UDP) in coap_persist_observe_add()
|
D | coap_net.c | 542 coap_endpoint_t *endpoint = coap_new_endpoint(c, listen_addr, COAP_PROTO_UDP); in coap_new_context() 1731 } else if (session->proto == COAP_PROTO_UDP) { in coap_handle_dgram_for_proto() 4255 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 | oscore-interop-server.c | 467 ep_udp = coap_new_endpoint(ctx, &addr, COAP_PROTO_UDP); in get_context()
|
/third_party/libcoap/include/coap3/ |
D | coap_session.h | 36 #define COAP_PROTO_NOT_RELIABLE(p) ((p)==COAP_PROTO_UDP || (p)==COAP_PROTO_DTLS)
|
D | coap_pdu.h | 310 COAP_PROTO_UDP, enumerator
|
/third_party/libcoap/examples/riot/examples_libcoap_client/ |
D | client-coap.c | 168 COAP_PROTO_UDP); in client_coap_init()
|
/third_party/libcoap/examples/lwip/ |
D | client-coap.c | 179 COAP_PROTO_UDP); in client_coap_init()
|
/third_party/libcoap/man/ |
D | coap_endpoint_client.txt.in | 97 COAP_PROTO_UDP 242 session = coap_new_client_session(context, NULL, &server, COAP_PROTO_UDP); 290 session = coap_new_client_session(context, &local, &server, COAP_PROTO_UDP);
|
D | coap_endpoint_server.txt.in | 148 COAP_PROTO_UDP 238 endpoint = coap_new_endpoint(context, &listen_addr, COAP_PROTO_UDP); 282 endpoint = coap_new_endpoint(context, &listen_addr, COAP_PROTO_UDP);
|
D | coap_oscore.txt.in | 286 COAP_PROTO_UDP, oscore_conf); 288 session = coap_new_client_session(context, NULL, &server, COAP_PROTO_UDP);
|
D | coap_uri.txt.in | 184 if (proto != COAP_PROTO_UDP)
|
D | coap_session.txt.in | 174 COAP_PROTO_UDP
|
D | coap_persist.txt.in | 341 ep = coap_new_endpoint(ctx, &addr, COAP_PROTO_UDP);
|
D | coap_observe.txt.in | 297 ep = coap_new_endpoint(ctx, &addr, COAP_PROTO_UDP);
|