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()
86 hdr->nh_group = htons(MGMT_GROUP_ID_IMAGE); in TEST_CASE()99 hdr->nh_len = htons(len); in TEST_CASE()
114 #define htons(x) sys_cpu_to_be16(x) macro120 #define htons(x) htobe16(x) macro1033 bs_hdr->nh_len = htons(len); in boot_serial_output()1034 bs_hdr->nh_group = htons(bs_hdr->nh_group); in boot_serial_output()1047 crc = htons(crc); in boot_serial_output()1050 totlen = htons(totlen); in boot_serial_output()