Searched refs:magic2 (Results 1 – 3 of 3) sorted by relevance
71 uint64_t magic2; // old style: 0x420281861253 big endian in nbdclient_main() member184 if (memcmp(&nbd_header.magic2, in nbdclient_main()186 sizeof(nbd_header.magic2)) == 0 in nbdclient_main()189 } else if (memcmp(&nbd_header.magic2, "IHAVEOPT", 8) == 0) { in nbdclient_main()
16 uint16_t magic2; in check_signature16() local17 if (full_read(xstate->src_fd, &magic2, 2) != 2 || magic2 != magic16) { in check_signature16()
1224 uint16_t magic2; in IF_DESKTOP() local1226 if (full_read(xstate->src_fd, &magic2, 2) != 2) { in IF_DESKTOP()1231 if (magic2 == COMPRESS_MAGIC) { in IF_DESKTOP()1235 if (magic2 != GZIP_MAGIC) in IF_DESKTOP()