Searched refs:nh_len (Results 1 – 13 of 13) sorted by relevance
/Zephyr-Core-3.5.0/tests/subsys/mgmt/mcumgr/mcumgr_client/src/ |
D | smp_stub.c | 61 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/ |
D | smp_transport_stub.c | 23 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/ |
D | main.c | 50 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/ |
D | client.c | 73 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/ |
D | main.c | 143 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 …]
|
D | smp_test_util.c | 17 .nh_len = sys_cpu_to_be16(len), in smp_make_hdr()
|
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/smp/src/ |
D | smp.c | 83 .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/ |
D | smp_test_util.c | 16 .nh_len = sys_cpu_to_be16(len), in smp_make_hdr()
|
/Zephyr-Core-3.5.0/tests/subsys/mgmt/mcumgr/os_mgmt_info/src/ |
D | smp_test_util.c | 17 .nh_len = sys_cpu_to_be16(len), in smp_make_hdr()
|
/Zephyr-Core-3.5.0/tests/subsys/mgmt/mcumgr/smp_version/src/ |
D | smp_test_util.c | 17 .nh_len = sys_cpu_to_be16(len), in smp_make_hdr()
|
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/transport/include/mgmt/mcumgr/transport/ |
D | smp_internal.h | 31 uint16_t nh_len; /* Length of the payload */ member
|
/Zephyr-Core-3.5.0/subsys/mgmt/mcumgr/transport/src/ |
D | smp_reassembly.c | 41 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/ |
D | main.c | 78 uint16_t len = ntohs(response_hdr->nh_len); in ZTEST()
|