Home
last modified time | relevance | path

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

/mcuboot-3.4.0/boot/boot_serial/src/
Dboot_serial.c135 static struct nmgr_hdr *bs_hdr; variable
964 bs_hdr = hdr; in boot_serial_input()
1025 char buf[BOOT_SERIAL_OUT_MAX + sizeof(*bs_hdr) + sizeof(crc) + sizeof(totlen)]; in boot_serial_output()
1031 bs_hdr->nh_op++; in boot_serial_output()
1032 bs_hdr->nh_flags = 0; in boot_serial_output()
1033 bs_hdr->nh_len = htons(len); in boot_serial_output()
1034 bs_hdr->nh_group = htons(bs_hdr->nh_group); in boot_serial_output()
1037 crc = crc16_itu_t(CRC16_INITIAL_CRC, (uint8_t *)bs_hdr, sizeof(*bs_hdr)); in boot_serial_output()
1041 crc = ~esp_crc16_be(~CRC16_INITIAL_CRC, (uint8_t *)bs_hdr, sizeof(*bs_hdr)); in boot_serial_output()
1044 crc = crc16_ccitt(CRC16_INITIAL_CRC, bs_hdr, sizeof(*bs_hdr)); in boot_serial_output()
[all …]