Home
last modified time | relevance | path

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

/freebsd/tools/test/stress2/misc/
H A Doverflow3.sh49 struct cmsghdr *chdr;
67 chdr = (struct cmsghdr *)hdr.msg_control;
68 chdr->cmsg_len = CMSG_LEN(nfds * sizeof(int));
69 chdr->cmsg_level = SOL_SOCKET;
70 chdr->cmsg_type = SCM_RIGHTS;
/freebsd/crypto/heimdal/kadmin/
H A Drpc.c772 struct call_header chdr; in process_stream() local
782 memset(&chdr, 0, sizeof(chdr)); in process_stream()
843 CHECK(krb5_ret_uint32(msg, &chdr.xid)); in process_stream()
845 CHECK(krb5_ret_uint32(msg, &chdr.rpcvers)); in process_stream()
846 CHECK(krb5_ret_uint32(msg, &chdr.prog)); in process_stream()
847 CHECK(krb5_ret_uint32(msg, &chdr.vers)); in process_stream()
848 CHECK(krb5_ret_uint32(msg, &chdr.proc)); in process_stream()
849 CHECK(ret_auth_opaque(msg, &chdr.cred)); in process_stream()
851 CHECK(ret_auth_opaque(msg, &chdr.verf)); in process_stream()
853 INSIST(chdr.rpcvers == RPC_VERSION); in process_stream()
[all …]
/freebsd/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_elf_init.c211 GElf_Chdr chdr; in _dwarf_elf_decompress() local
215 if (gelf_getchdr(scn, &chdr) == NULL) { in _dwarf_elf_decompress()
220 if (chdr.ch_type != ELFCOMPRESS_ZLIB) { in _dwarf_elf_decompress()
225 if ((ed->ed_alloc = malloc(chdr.ch_size)) == NULL) { in _dwarf_elf_decompress()
230 csize = chdr.ch_size; in _dwarf_elf_decompress()
239 if (csize != chdr.ch_size) { in _dwarf_elf_decompress()
244 ed->ed_size = chdr.ch_size; in _dwarf_elf_decompress()
245 shdr->sh_size = chdr.ch_size; in _dwarf_elf_decompress()
246 shdr->sh_addralign = chdr.ch_addralign; in _dwarf_elf_decompress()
/freebsd/contrib/tcpdump/
H A Dprint-sl.c205 const u_char *chdr, const struct ip *ip, in compressed_sl_print() argument
208 const u_char *cp = chdr; in compressed_sl_print()
256 ND_PRINT(" %u (%ld)", lastlen[dir][lastconn], (long)(cp - chdr)); in compressed_sl_print()
/freebsd/contrib/llvm-project/lld/ELF/
H A DOutputSections.cpp493 auto *chdr = reinterpret_cast<typename ELFT::Chdr *>(buf); in writeTo() local
494 chdr->ch_type = compressed.type; in writeTo()
495 chdr->ch_size = compressed.uncompressedSize; in writeTo()
496 chdr->ch_addralign = addralign; in writeTo()
497 buf += sizeof(*chdr); in writeTo()
504 write32be(buf + (size - sizeof(*chdr) - 4), compressed.checksum); in writeTo()
/freebsd/cddl/contrib/opensolaris/cmd/lockstat/
H A Dlockstat.c1765 char lhdr[80], chdr[80]; in report_stats() local
1779 (void) sprintf(chdr, "%s%s", in report_stats()
1794 "cuml", "rcnt", rectype >= LS_TIME ? buf : "", lhdr, chdr); in report_stats()
1848 "cuml", "rcnt", buf, lhdr, chdr); in report_stats()
/freebsd/tests/atf_python/sys/netpfil/ipfw/
H A Dioctl.py358 chdr = IpFwObjCTlv.from_buffer_copy(data[: sizeof(IpFwObjCTlv)])
372 return cls(chdr.head.n_type, obj_list=rule_list)
/freebsd/contrib/elftoolchain/readelf/
H A Dreadelf.c7028 GElf_Chdr chdr; in decompress_section() local
7034 if (gelf_getchdr(s->scn, &chdr) == NULL) in decompress_section()
7036 if (chdr.ch_type != ELFCOMPRESS_ZLIB) { in decompress_section()
7037 warnx("unknown compression type: %d", chdr.ch_type); in decompress_section()
7042 uncompressed_size = chdr.ch_size; in decompress_section()
7044 compressed_data_buffer += sizeof(chdr); in decompress_section()
7045 compressed_size -= sizeof(chdr); in decompress_section()
/freebsd/sys/netinet/
H A Dsctp_output.c9114 struct sctp_chunkhdr *chdr; in sctp_send_heartbeat_ack() local
9131 chdr = mtod(outchain, struct sctp_chunkhdr *); in sctp_send_heartbeat_ack()
9132 chdr->chunk_type = SCTP_HEARTBEAT_ACK; in sctp_send_heartbeat_ack()
9133 chdr->chunk_flags = 0; in sctp_send_heartbeat_ack()