Lines Matching refs:header
52 dn_header_t header;
71 if (read(confd, &header, sizeof (header)) != sizeof (header) ||
72 header.dnh_magic != DN_MAGIC) {
80 in_addr.s_addr = header.dnh_network;
82 in_addr.s_addr = header.dnh_netmask;
87 (void) printf("%12s: %d\n", "dirtybit", header.dnh_dirty);
88 (void) printf("%12s: %d\n", "version", header.dnh_version);
89 (void) printf("%12s: %d\n", "active image", header.dnh_image);
90 (void) printf("%12s: %d\n", "temp image", header.dnh_tempimage);
91 (void) printf("%12s: %d\n", "checks", header.dnh_checks);
92 (void) printf("%12s: %d\n", "errors", header.dnh_errors);
93 print_hashes(confd, header);
101 print_hashes(int confd, dn_header_t header)
109 if (header.dnh_cidhash[hash][image] == DN_NOREC)
113 recid = header.dnh_cidhash[hash][image];