Searched refs:nbd_header (Results 1 – 1 of 1) sorted by relevance
73 } nbd_header; in nbdclient_main() local178 xread(sock, &nbd_header, 8 + 8); in nbdclient_main()179 if (memcmp(&nbd_header.magic1, "NBDMAGIC", in nbdclient_main()180 sizeof(nbd_header.magic1)) != 0 in nbdclient_main()184 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()