Home
last modified time | relevance | path

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

/openbsd/usr.sbin/tcpdump/
H A Dprint-sl.c233 compressed_sl_print(const u_char *chdr, const struct ip *ip, in compressed_sl_print() argument
236 const u_char *cp = chdr; in compressed_sl_print()
280 printf(" %d (%d)", lastlen[dir][lastconn], (int)(cp - chdr)); in compressed_sl_print()
/openbsd/gnu/llvm/lld/ELF/
H A DOutputSections.cpp453 auto *chdr = reinterpret_cast<typename ELFT::Chdr *>(buf); in writeTo() local
454 chdr->ch_size = compressed.uncompressedSize; in writeTo()
455 chdr->ch_addralign = addralign; in writeTo()
456 buf += sizeof(*chdr); in writeTo()
458 chdr->ch_type = ELFCOMPRESS_ZSTD; in writeTo()
462 chdr->ch_type = ELFCOMPRESS_ZLIB; in writeTo()
477 write32be(buf + (size - sizeof(*chdr) - 4), compressed.checksum); in writeTo()
/openbsd/sys/scsi/
H A Dscsiconf.c1180 struct scsi_vpd_devid_hdr dhdr, chdr; in scsi_devid_pg83() local
1224 chdr = dhdr; in scsi_devid_pg83()
1239 switch (VPD_DEVID_TYPE(chdr.flags)) { in scsi_devid_pg83()
1250 switch (VPD_DEVID_CODE(chdr.pi_code)) { in scsi_devid_pg83()
1259 link->id = devid_alloc(idtype, idflags, chdr.len, id); in scsi_devid_pg83()