Home
last modified time | relevance | path

Searched refs:coap_pdu_encode_header (Results 1 – 11 of 11) sorted by relevance

/third_party/libcoap/tests/
Dtest_error_response.c51 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()
Dtest_oscore.c469 result = coap_pdu_encode_header(osc_pdu, session->proto); in t_oscore_c_4()
536 result = coap_pdu_encode_header(osc_pdu, session->proto); in t_oscore_c_5()
605 result = coap_pdu_encode_header(osc_pdu, session->proto); in t_oscore_c_6()
692 result = coap_pdu_encode_header(osc_pdu, session->proto); in t_oscore_c_7()
708 result = coap_pdu_encode_header(osc_pdu, session->proto); in t_oscore_c_7()
799 result = coap_pdu_encode_header(osc_pdu, session->proto); in t_oscore_c_7_2()
816 result = coap_pdu_encode_header(osc_pdu, session->proto); in t_oscore_c_7_2()
906 result = coap_pdu_encode_header(osc_pdu, session->proto); in t_oscore_c_8()
922 result = coap_pdu_encode_header(osc_pdu, session->proto); in t_oscore_c_8()
1013 result = coap_pdu_encode_header(osc_pdu, session->proto); in t_oscore_c_8_2()
[all …]
Dtest_pdu.c350 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu1()
440 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu4()
481 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu5()
503 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu6()
526 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu7()
553 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu8()
604 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu9()
692 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu10()
1064 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu18()
/third_party/libcoap/tests/oss-fuzz/
Dpdu_parse_tcp_target.c4 size_t coap_pdu_encode_header(coap_pdu_t *, coap_proto_t);
15 coap_pdu_encode_header(pdu, COAP_PROTO_TCP); in LLVMFuzzerTestOneInput()
Dpdu_parse_udp_target.c4 size_t coap_pdu_encode_header(coap_pdu_t *, coap_proto_t);
15 coap_pdu_encode_header(pdu, COAP_PROTO_UDP); in LLVMFuzzerTestOneInput()
Dpdu_parse_ws_target.c4 size_t coap_pdu_encode_header(coap_pdu_t *, coap_proto_t);
15 coap_pdu_encode_header(pdu, COAP_PROTO_WS); in LLVMFuzzerTestOneInput()
/third_party/libcoap/include/coap3/
Dcoap_pdu_internal.h317 size_t coap_pdu_encode_header(coap_pdu_t *pdu, coap_proto_t proto);
/third_party/libcoap/src/
Dcoap_oscore.c643 if (!coap_pdu_encode_header(osc_pdu, session->proto)) { in coap_oscore_new_pdu_encrypted()
1378 coap_pdu_encode_header(plain_pdu, session->proto); in coap_oscore_decrypt_pdu()
1545 if (!coap_pdu_encode_header(decrypt_pdu, session->proto)) { in coap_oscore_decrypt_pdu()
Dcoap_pdu.c1420 coap_pdu_encode_header(coap_pdu_t *pdu, coap_proto_t proto) { in coap_pdu_encode_header() function
Dcoap_net.c1518 if (!coap_pdu_encode_header(pdu, session->proto)) { in coap_send_internal()
3272 if (!coap_pdu_encode_header(response, session->proto)) { in handle_request()
Dcoap_session.c845 || coap_pdu_encode_header(pdu, session->proto) == 0 in coap_session_send_csm()