Home
last modified time | relevance | path

Searched refs:nh_len (Results 1 – 13 of 13) sorted by relevance

/Zephyr-Core-3.5.0/tests/subsys/mgmt/mcumgr/mcumgr_client/src/
Dsmp_stub.c61 dst_hdr->nh_len = sys_be16_to_cpu(dst_hdr->nh_len); in smp_transport_read_hdr()
79 res_hdr.nh_len = sys_be16_to_cpu(res_hdr.nh_len); in smp_uart_tx_pkt()
/Zephyr-Core-3.5.0/tests/subsys/mgmt/mcumgr/smp_client/src/
Dsmp_transport_stub.c23 dst_hdr->nh_len = sys_be16_to_cpu(dst_hdr->nh_len); in smp_transport_read_hdr()
/Zephyr-Core-3.5.0/tests/subsys/mgmt/mcumgr/smp_reassembly/src/
Dmain.c50 mh->nh_len = sys_cpu_to_be16(TRANSPORT_NETBUF_SIZE - sizeof(struct smp_hdr) + 1); in ZTEST()
56 mh->nh_len = sys_cpu_to_be16(TEST_FRAME_SIZE - sizeof(struct smp_hdr)); in ZTEST()
89 mh->nh_len = sys_cpu_to_be16(TEST_FRAME_SIZE - sizeof(struct smp_hdr)); in ZTEST()
116 mh->nh_len = sys_cpu_to_be16(TEST_FRAME_SIZE - sizeof(struct smp_hdr)); in ZTEST()
194 mh->nh_len = sys_cpu_to_be16(TEST_FRAME_SIZE); in ZTEST()
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/smp_client/src/
Dclient.c73 header->nh_len = sys_cpu_to_be16(payload_len); in smp_header_init()
233 LOG_DBG("Response Header len %d, flags %d OP: %d group %d id %d seq %d", res_hdr->nh_len, in smp_client_single_response()
277 dst_hdr->nh_len = sys_be16_to_cpu(dst_hdr->nh_len); in smp_read_hdr()
301 smp_header.nh_len = sys_cpu_to_be16(nb->len - sizeof(smp_header)); in smp_client_send_cmd()
/Zephyr-Core-3.5.0/tests/subsys/mgmt/mcumgr/settings_mgmt/src/
Dmain.c143 zassert_equal(header->nh_len, sys_cpu_to_be16(TEST_RESPONSE_OK_DATA_LENGTH), in ZTEST()
197 zassert_equal(header->nh_len, sys_cpu_to_be16(TEST_RESPONSE_ERROR_DATA_LENGTH), in ZTEST()
273 zassert_equal(header->nh_len, sys_cpu_to_be16(TEST_RESPONSE_OK_DATA_LENGTH), in ZTEST()
327 zassert_equal(header->nh_len, sys_cpu_to_be16(TEST_RESPONSE_ERROR_DATA_LENGTH), in ZTEST()
414 zassert_equal(header->nh_len, sys_cpu_to_be16(TEST_RESPONSE_OK_DATA_LENGTH), in ZTEST()
477 zassert_true(smp_header->nh_len > sys_cpu_to_be16(TEST_RESPONSE_READ_DATA_LENGTH), in ZTEST()
581 zassert_true(smp_header->nh_len > sys_cpu_to_be16(TEST_RESPONSE_READ_DATA_LENGTH), in ZTEST()
673 zassert_equal(header->nh_len, sys_cpu_to_be16(TEST_RESPONSE_ERROR_DATA_LENGTH), in ZTEST()
736 zassert_true(smp_header->nh_len > sys_cpu_to_be16(TEST_RESPONSE_READ_DATA_LENGTH), in ZTEST()
804 zassert_equal(header->nh_len, sys_cpu_to_be16(TEST_RESPONSE_OK_DATA_LENGTH), in ZTEST()
[all …]
Dsmp_test_util.c17 .nh_len = sys_cpu_to_be16(len), in smp_make_hdr()
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/smp/src/
Dsmp.c83 .nh_len = sys_cpu_to_be16(len), in smp_make_rsp_hdr()
101 dst_hdr->nh_len = sys_be16_to_cpu(dst_hdr->nh_len); in smp_read_hdr()
398 if (req->len < req_hdr.nh_len) { in smp_process_request_packet()
441 net_buf_pull(req, req_hdr.nh_len); in smp_process_request_packet()
/Zephyr-Core-3.5.0/tests/subsys/mgmt/mcumgr/cb_notifications/src/
Dsmp_test_util.c16 .nh_len = sys_cpu_to_be16(len), in smp_make_hdr()
/Zephyr-Core-3.5.0/tests/subsys/mgmt/mcumgr/os_mgmt_info/src/
Dsmp_test_util.c17 .nh_len = sys_cpu_to_be16(len), in smp_make_hdr()
/Zephyr-Core-3.5.0/tests/subsys/mgmt/mcumgr/smp_version/src/
Dsmp_test_util.c17 .nh_len = sys_cpu_to_be16(len), in smp_make_hdr()
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/transport/include/mgmt/mcumgr/transport/
Dsmp_internal.h31 uint16_t nh_len; /* Length of the payload */ member
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/transport/src/
Dsmp_reassembly.c41 uint16_t expected = sys_be16_to_cpu(((struct smp_hdr *)buf)->nh_len); in smp_reassembly_collect()
/Zephyr-Core-3.5.0/tests/subsys/mgmt/mcumgr/fs_mgmt_hash_supported/src/
Dmain.c78 uint16_t len = ntohs(response_hdr->nh_len); in ZTEST()