Searched defs:hdr (Results 1 - 25 of 577) sorted by relevance

1234567891011>>

/freebsd-head/stand/efi/fdt/
H A Defi_fdt.c46 struct fdt_header *hdr; local
48 hdr = efi_get_table(&fdtdtb);
49 if (hdr == NULL)
51 if (fdt_load_dtb_addr(hdr) != 0)
53 printf("Using DTB provided by EFI at %p.\n", hdr);
/freebsd-head/lib/libc/arm/aeabi/
H A Daeabi_unwind_exidx.c68 const Elf_Phdr *hdr; local
73 hdr = info.dlpi_phdr;
74 for (i = 0; i < info.dlpi_phnum; i++, hdr++) {
75 if (hdr->p_type == PT_ARM_EXIDX) {
76 *pcount = hdr->p_memsz / sizeof(exidx_entry);
77 return ((void *)(info.dlpi_addr + hdr->p_vaddr));
/freebsd-head/contrib/tcpdump/
H A Dprint-bt.c46 const pcap_bluetooth_h4_header* hdr = (const pcap_bluetooth_h4_header*)p; local
56 ND_PRINT((ndo, "hci length %d, direction %s, ", length, (EXTRACT_32BITS(&hdr->direction)&0x1)?"in":"out"));
H A Dprint-enc.c95 const struct enchdr *hdr; local
102 hdr = (const struct enchdr *)p;
103 flags = hdr->flags;
111 ND_PRINT((ndo, "SPI 0x%08x: ", EXTRACT_32BITS(&hdr->spi)));
117 switch (hdr->af) {
H A Dprint-nflog.c50 nflog_hdr_print(netdissect_options *ndo, const nflog_hdr_t *hdr, u_int length) argument
52 ND_PRINT((ndo, "version %d, resource ID %d", hdr->nflog_version, ntohs(hdr->nflog_rid)));
57 hdr->nflog_family),
58 hdr->nflog_family));
63 hdr->nflog_family)));
73 const nflog_hdr_t *hdr = (const nflog_hdr_t *)p; local
85 if (hdr->nflog_version != 0) {
86 ND_PRINT((ndo, "version %u (unknown)", hdr->nflog_version));
91 nflog_hdr_print(ndo, hdr, lengt
[all...]
H A Dprint-pflog.c89 pflog_print(netdissect_options *ndo, const struct pfloghdr *hdr) argument
93 rulenr = EXTRACT_32BITS(&hdr->rulenr);
94 subrulenr = EXTRACT_32BITS(&hdr->subrulenr);
98 ND_PRINT((ndo, "rule %u.%s.%u/", rulenr, hdr->ruleset, subrulenr));
100 ND_PRINT((ndo, "%s", tok2str(pf_reasons, "unkn(%u)", hdr->reason)));
102 if (hdr->uid != UID_MAX)
103 ND_PRINT((ndo, " [uid %u]", (unsigned)hdr->uid));
106 tok2str(pf_actions, "unkn(%u)", hdr->action),
107 tok2str(pf_directions, "unkn(%u)", hdr->dir),
108 hdr
118 const struct pfloghdr *hdr; local
[all...]
/freebsd-head/sys/dev/smartpqi/
H A Dsmartpqi_cmd.c40 iu_header_t *hdr = (iu_header_t *)req; local
41 uint32_t iu_len = hdr->iu_length + 4 ; /* header size */
67 ib_q->pi_local, hdr->iu_length);
/freebsd-head/contrib/pf/pflogd/
H A Dprivsep_fdpass.c54 struct cmsghdr hdr; member in union:__anon3896
93 struct cmsghdr hdr; member in union:__anon3897
/freebsd-head/contrib/wpa/src/tls/
H A Dpkcs8.c21 struct asn1_hdr hdr; local
30 if (asn1_get_next(buf, len, &hdr) < 0 ||
31 hdr.class != ASN1_CLASS_UNIVERSAL ||
32 hdr.tag != ASN1_TAG_SEQUENCE) {
37 pos = hdr.payload;
38 end = pos + hdr.length;
41 if (asn1_get_next(pos, end - pos, &hdr) < 0 ||
42 hdr.class != ASN1_CLASS_UNIVERSAL || hdr.tag != ASN1_TAG_INTEGER) {
45 hdr
124 struct asn1_hdr hdr; local
[all...]
/freebsd-head/contrib/elftoolchain/libpe/
H A Dlibpe_dos.c40 libpe_parse_msdos_header(PE *pe, char *hdr) argument
51 memcpy(pe->pe_stub, hdr, sizeof(PE_DosHdr));
60 memcpy(dh->dh_magic, hdr, 2);
61 hdr += 2;
62 PE_READ16(hdr, dh->dh_lastsize);
63 PE_READ16(hdr, dh->dh_nblock);
64 PE_READ16(hdr, dh->dh_nreloc);
65 PE_READ16(hdr, dh->dh_hdrsize);
66 PE_READ16(hdr, dh->dh_minalloc);
67 PE_READ16(hdr, d
211 char tmp[sizeof(PE_DosHdr)], *hdr; local
[all...]
/freebsd-head/crypto/openssh/
H A Dmonitor_fdpass.c58 struct cmsghdr hdr; member in union:__anon24
119 struct cmsghdr hdr; member in union:__anon25
/freebsd-head/sys/dev/cxgbe/cudbg/
H A Dcudbg_common.c72 static inline void init_cudbg_hdr(struct cudbg_init_hdr *hdr) argument
74 hdr->major_ver = CUDBG_MAJOR_VERSION;
75 hdr->minor_ver = CUDBG_MINOR_VERSION;
76 hdr->build_ver = CUDBG_BUILD_VERSION;
77 hdr->init_struct_size = sizeof(struct cudbg_init);
/freebsd-head/lib/libutil/
H A Dhexdump.c47 hexdump(const void *ptr, int length, const char *hdr, int flags) argument
66 if (hdr != NULL)
67 printf("%s", hdr);
/freebsd-head/sys/dev/acpica/Osd/
H A DOsdTable.c73 ACPI_TABLE_HEADER *hdr; local
90 hdr = preload_fetch_addr(acpi_table);
92 if (hdr == NULL || sz == 0)
98 *NewTable = hdr;
/freebsd-head/sys/contrib/ngatm/netnatm/msg/
H A Dprivmsg.c64 out->u.hdr.cref.flag = (*msg->b_rptr & 0x80) ? 1 : 0;
65 out->u.hdr.cref.cref = (*msg->b_rptr++ & 0x7f) << 16;
66 out->u.hdr.cref.cref |= *msg->b_rptr++ << 8;
67 out->u.hdr.cref.cref |= *msg->b_rptr++;
77 out->u.hdr.act = UNI_MSGACT_DEFAULT;
81 out->u.hdr.act = *msg->b_rptr & 0x3;
85 out->u.hdr.act = UNI_MSGACT_REPORT;
89 out->u.hdr.pass = 1;
91 out->u.hdr.pass = 0;
116 struct uni_iehdr hdr; local
[all...]
/freebsd-head/contrib/wpa/src/crypto/
H A Daes-eax.c21 * @hdr: Header data to be authenticity protected
29 const u8 *hdr, size_t hdr_len,
58 os_memcpy(buf + 16, hdr, hdr_len);
85 * @hdr: Header data to be authenticity protected
93 const u8 *hdr, size_t hdr_len,
124 os_memcpy(buf + 16, hdr, hdr_len);
28 aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len, const u8 *hdr, size_t hdr_len, u8 *data, size_t data_len, u8 *tag) argument
92 aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len, const u8 *hdr, size_t hdr_len, u8 *data, size_t data_len, const u8 *tag) argument
/freebsd-head/sys/dev/hyperv/utilities/
H A Dvmbus_heartbeat.c87 struct vmbus_icmsg_hdr *hdr; local
102 if (dlen < sizeof(*hdr)) {
106 hdr = data;
111 switch (hdr->ic_type) {
130 device_printf(sc->ic_dev, "got 0x%08x icmsg\n", hdr->ic_type);
/freebsd-head/sys/netpfil/pf/
H A Dpf_mtag.h47 void *hdr; /* saved hdr pos in mbuf, for ECN */ member in struct:pf_mtag
/freebsd-head/usr.sbin/ppp/
H A Dauth.h45 struct fsmheader hdr; member in struct:authinfo::__anon3327
/freebsd-head/sys/compat/cloudabi/
H A Dcloudabi_sock.c80 struct msghdr hdr = { local
89 hdr.msg_flags |= MSG_PEEK;
91 hdr.msg_flags |= MSG_WAITALL;
94 error = kern_recvit(td, fd, &hdr, UIO_SYSSPACE,
104 if (hdr.msg_flags & MSG_TRUNC)
111 hdr.msg_control = mtod(control, void *);
112 hdr.msg_controllen = control->m_len;
113 for (chdr = CMSG_FIRSTHDR(&hdr); chdr != NULL;
114 chdr = CMSG_NXTHDR(&hdr, chdr)) {
150 struct msghdr hdr local
[all...]
/freebsd-head/sys/dev/netmap/
H A Dnetmap_null.c113 netmap_get_null_na(struct nmreq_header *hdr, struct netmap_adapter **na, argument
116 struct nmreq_register *req = (struct nmreq_register *)(uintptr_t)hdr->nr_body;
140 snprintf(nna->up.name, sizeof(nna->up.name), "null:%s", hdr->nr_name);
H A Dnetmap_legacy.c62 nmreq_register_from_legacy(struct nmreq *nmr, struct nmreq_header *hdr, argument
98 if (strlen(hdr->nr_name) + strlen(suffix)
99 >= sizeof(hdr->nr_name)) {
103 strlcat(hdr->nr_name, suffix, sizeof(hdr->nr_name));
125 struct nmreq_header *hdr = nm_os_malloc(sizeof(*hdr)); local
127 if (hdr == NULL) {
137 hdr->nr_version = NETMAP_API; /* new API */
138 strlcpy(hdr
292 nmreq_to_legacy(struct nmreq_header *hdr, struct nmreq *nmr) argument
372 struct nmreq_header *hdr; local
[all...]
/freebsd-head/sys/dev/rtwn/
H A Dif_rtwn_fw.c118 const struct r92c_fw_hdr *hdr; local
134 if (len < sizeof(*hdr) || len > sc->fwsize_limit) {
140 hdr = (const struct r92c_fw_hdr *)ptr;
142 if ((le16toh(hdr->signature) >> 4) == sc->fwsig) {
143 sc->fwver = le16toh(hdr->version);
147 le16toh(hdr->version), le16toh(hdr->subversion),
148 hdr->month, hdr->date, hdr
[all...]
/freebsd-head/contrib/binutils/gas/config/
H A Dobj-ecoff.c144 HDRR *hdr; local
150 hdr = &ecoff_data (stdoutput)->debug_info.symbolic_header;
151 ecoff_build_debug (hdr, &buf, debug_swap);
156 if (hdr->count == 0) \
161 set += hdr->count * size; \
/freebsd-head/contrib/netbsd-tests/net/fdpass/
H A Dfdpass.c51 struct cmsghdr hdr; member in union:__anon66
103 struct cmsghdr hdr; member in union:__anon67

Completed in 128 milliseconds

1234567891011>>