Searched refs:htons (Results 1 – 4 of 4) sorted by relevance
29 hdr->nh_group = htons(MGMT_GROUP_ID_IMAGE); in TEST_CASE()31 hdr->nh_len = htons(2); in TEST_CASE()
52 hdr->nh_group = htons(MGMT_GROUP_ID_IMAGE); in TEST_CASE()56 hdr->nh_len = htons(sizeof payload); in TEST_CASE()
85 hdr->nh_group = htons(MGMT_GROUP_ID_IMAGE); in TEST_CASE()98 hdr->nh_len = htons(len); in TEST_CASE()
76 #define htons(x) sys_cpu_to_be16(x) macro505 bs_hdr->nh_len = htons(len); in boot_serial_output()506 bs_hdr->nh_group = htons(bs_hdr->nh_group); in boot_serial_output()516 crc = htons(crc); in boot_serial_output()521 totlen = htons(totlen); in boot_serial_output()