Searched refs:coap_pdu_encode_header (Results 1 – 11 of 11) sorted by relevance
/third_party/libcoap/tests/ |
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 | 469 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 …]
|
D | test_pdu.c | 350 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/ |
D | pdu_parse_tcp_target.c | 4 size_t coap_pdu_encode_header(coap_pdu_t *, coap_proto_t); 15 coap_pdu_encode_header(pdu, COAP_PROTO_TCP); in LLVMFuzzerTestOneInput()
|
D | pdu_parse_udp_target.c | 4 size_t coap_pdu_encode_header(coap_pdu_t *, coap_proto_t); 15 coap_pdu_encode_header(pdu, COAP_PROTO_UDP); in LLVMFuzzerTestOneInput()
|
D | pdu_parse_ws_target.c | 4 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/ |
D | coap_pdu_internal.h | 317 size_t coap_pdu_encode_header(coap_pdu_t *pdu, coap_proto_t proto);
|
/third_party/libcoap/src/ |
D | coap_oscore.c | 643 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()
|
D | coap_pdu.c | 1420 coap_pdu_encode_header(coap_pdu_t *pdu, coap_proto_t proto) { in coap_pdu_encode_header() function
|
D | coap_net.c | 1518 if (!coap_pdu_encode_header(pdu, session->proto)) { in coap_send_internal() 3272 if (!coap_pdu_encode_header(response, session->proto)) { in handle_request()
|
D | coap_session.c | 845 || coap_pdu_encode_header(pdu, session->proto) == 0 in coap_session_send_csm()
|