Home
last modified time | relevance | path

Searched refs:payload_start (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub.c416 const uint8_t *payload_start; in install_update_cb() local
447 payload_start = coap_packet_get_payload(&response_packet, &payload_len); in install_update_cb()
457 payload_start, in install_update_cb()
465 if (updatehub_storage_write(&ctx.storage_ctx, payload_start, payload_len, in install_update_cb()
689 const uint8_t *payload_start; in probe_cb() local
715 payload_start = coap_packet_get_payload(&reply, &payload_len); in probe_cb()
729 memcpy(metadata, payload_start, payload_len); in probe_cb()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_pull_context.c232 const uint8_t *payload_start; in do_firmware_transfer_reply_cb() local
285 payload_start = coap_packet_get_payload(response, &payload_len); in do_firmware_transfer_reply_cb()
287 payload_offset = payload_start - response->data; in do_firmware_transfer_reply_cb()
Dlwm2m_message_handling.c2083 const uint8_t *payload_start; in parse_write_op() local
2086 payload_start = coap_packet_get_payload(msg->in.in_cpkt, &payload_len); in parse_write_op()
2088 msg->in.offset = payload_start - msg->in.in_cpkt->data; in parse_write_op()
2194 const uint8_t *payload_start; in do_composite_write_op() local
2197 payload_start = coap_packet_get_payload(msg->in.in_cpkt, &payload_len); in do_composite_write_op()
2199 msg->in.offset = payload_start - msg->in.in_cpkt->data; in do_composite_write_op()
/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c109 const uint8_t *payload_start; in ZTEST() local
138 payload_start = coap_packet_get_payload(&cpkt, &payload_len); in ZTEST()
141 zassert_equal_ptr(payload_start, cpkt.data + cpkt.offset - payload_len, in ZTEST()
232 const uint8_t *payload_start; in ZTEST() local
247 payload_start = coap_packet_get_payload(&cpkt, &payload_len); in ZTEST()
250 zassert_equal_ptr(payload_start, cpkt.data + cpkt.offset - payload_len, in ZTEST()