Searched defs:nhdr (Results 1 - 17 of 17) sorted by path

/external/elfutils/backends/
H A Dlinux-core-note.c207 EBLHOOK(core_note) (const GElf_Nhdr *nhdr, const char *name, argument
212 switch (nhdr->n_namesz)
215 if (memcmp (name, "CORE", nhdr->n_namesz) == 0)
220 if (memcmp (name, "CORE", nhdr->n_namesz) == 0)
226 if (memcmp (name, "LINUX", nhdr->n_namesz) == 0)
231 if (nhdr->n_type != 0
244 switch (nhdr->n_type)
247 if (nhdr->n_descsz != sizeof (struct EBLHOOK(prstatus)))
257 if (nhdr->n_descsz != sizeof (struct EBLHOOK(prpsinfo)))
268 if (nhdr
[all...]
/external/elfutils/libdwelf/
H A Ddwelf_elf_gnu_build_id.c44 GElf_Nhdr nhdr; local
47 while ((pos = gelf_getnote (data, pos, &nhdr, &name_pos, &desc_pos)) > 0)
48 if (nhdr.n_type == NT_GNU_BUILD_ID
49 && nhdr.n_namesz == sizeof "GNU"
55 *build_id_len = nhdr.n_descsz;
/external/elfutils/libdwfl/
H A Dcore-file.c504 GElf_Nhdr nhdr; local
507 while ((pos = gelf_getnote (notes, pos, &nhdr,
509 if (nhdr.n_namesz == sizeof "CORE"
512 if (nhdr.n_type == NT_AUXV)
515 auxv_size = nhdr.n_descsz;
517 if (nhdr.n_type == NT_FILE)
520 note_file_size = nhdr.n_descsz;
H A Dlinux-core-attach.c104 GElf_Nhdr nhdr; local
128 &nhdr, &name_offset,
139 if (! ebl_core_note (core_arg->ebl, &nhdr, name,
145 if (nhdr.n_type != NT_PRSTATUS)
173 GElf_Nhdr nhdr; local
180 size_t getnote_err = gelf_getnote (note_data, offset, &nhdr, &name_offset,
192 int core_note_err = ebl_core_note (core_arg->ebl, &nhdr, name, &regs_offset,
196 assert (nhdr.n_type == NT_PRSTATUS);
366 GElf_Nhdr nhdr; local
371 &nhdr,
[all...]
H A Dlinux-kernel-modules.c525 GElf_Nhdr nhdr; member in union:__anon6203
539 GElf_Nhdr *nhdr = (void *) p; local
540 p += sizeof *nhdr;
542 p += (nhdr->n_namesz + 3) & -4U;
544 p += (nhdr->n_descsz + 3) & -4U;
547 && nhdr->n_type == NT_GNU_BUILD_ID
548 && nhdr->n_namesz == sizeof "GNU"
562 nhdr->n_descsz, vaddr);
/external/elfutils/libebl/
H A Deblcorenote.c43 ebl_core_note (Ebl *ebl, const GElf_Nhdr *nhdr, const char *name, argument
48 int result = ebl->core_note (nhdr, name,
57 switch (nhdr->n_type)
/external/elfutils/src/
H A Delflint.c4251 GElf_Nhdr nhdr; local
4256 &nhdr, &name_offset, &desc_offset)) > 0)
4262 switch (nhdr.n_type)
4286 phndx, (uint32_t) nhdr.n_type, start + offset);
4292 (uint32_t) nhdr.n_type, offset);
4295 switch (nhdr.n_type)
4305 if (nhdr.n_namesz == sizeof "Linux"
4313 phndx, (uint32_t) nhdr.n_type, offset);
4319 (uint32_t) nhdr.n_type, offset);
H A Dreadelf.c9304 handle_core_note (Ebl *ebl, const GElf_Nhdr *nhdr, argument
9313 if (! ebl_core_note (ebl, nhdr, name,
9322 nregloc == 0 ? nhdr->n_descsz : 0,
9343 GElf_Nhdr nhdr; local
9348 &nhdr, &name_offset, &desc_offset)) > 0)
9356 (int) nhdr.n_namesz, name, nhdr.n_descsz,
9358 ? ebl_core_note_type_name (ebl, nhdr.n_type,
9360 : ebl_object_note_type_name (ebl, name, nhdr.n_type,
9364 if (memchr (name, '\0', nhdr
[all...]
/external/google-breakpad/src/tools/linux/md2core/
H A Dminidump-2-core.cc756 Nhdr nhdr; local
757 memset(&nhdr, 0, sizeof(nhdr));
758 nhdr.n_namesz = 5;
759 nhdr.n_descsz = sizeof(struct prstatus);
760 nhdr.n_type = NT_PRSTATUS;
761 if (!writea(1, &nhdr, sizeof(nhdr)) ||
768 nhdr.n_descsz = sizeof(user_fpregs_struct);
769 nhdr
1169 Nhdr nhdr; local
[all...]
/external/libnl/lib/route/
H A Dneigh.c567 struct ndmsg nhdr = { local
575 nhdr.ndm_family = nl_addr_get_family(tmpl->n_dst);
578 nhdr.ndm_family = AF_BRIDGE;
581 nhdr.ndm_flags = tmpl->n_flags;
584 nhdr.ndm_state = tmpl->n_state;
590 if (nlmsg_append(msg, &nhdr, sizeof(nhdr), NLMSG_ALIGNTO) < 0)
/external/tcpdump/
H A Dprint-ppi.c63 struct pcap_pkthdr nhdr; local
94 nhdr = *h;
95 nhdr.caplen = caplen;
96 nhdr.len = length;
97 hdrlen = printer(ndo, &nhdr, p);
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_peap.c806 struct eap_hdr *nhdr; local
813 nhdr = wpabuf_put(nmsg, sizeof(*nhdr));
815 nhdr->code = req->code;
816 nhdr->identifier = req->identifier;
817 nhdr->length = host_to_be16(sizeof(struct eap_hdr) +
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_peap.c1090 struct eap_hdr *nhdr; local
1100 nhdr = wpabuf_put(nbuf, sizeof(*nhdr));
1101 nhdr->code = resp->code;
1102 nhdr->identifier = resp->identifier;
1103 nhdr->length = host_to_be16(sizeof(struct eap_hdr) +
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_peap.c806 struct eap_hdr *nhdr; local
813 nhdr = wpabuf_put(nmsg, sizeof(*nhdr));
815 nhdr->code = req->code;
816 nhdr->identifier = req->identifier;
817 nhdr->length = host_to_be16(sizeof(struct eap_hdr) +
/external/wpa_supplicant_8/src/eap_server/
H A Deap_server_peap.c1090 struct eap_hdr *nhdr; local
1100 nhdr = wpabuf_put(nbuf, sizeof(*nhdr));
1101 nhdr->code = resp->code;
1102 nhdr->identifier = resp->identifier;
1103 nhdr->length = host_to_be16(sizeof(struct eap_hdr) +
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_peap.c806 struct eap_hdr *nhdr; local
813 nhdr = wpabuf_put(nmsg, sizeof(*nhdr));
815 nhdr->code = req->code;
816 nhdr->identifier = req->identifier;
817 nhdr->length = host_to_be16(sizeof(struct eap_hdr) +
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Deap_server_peap.c1090 struct eap_hdr *nhdr; local
1100 nhdr = wpabuf_put(nbuf, sizeof(*nhdr));
1101 nhdr->code = resp->code;
1102 nhdr->identifier = resp->identifier;
1103 nhdr->length = host_to_be16(sizeof(struct eap_hdr) +

Completed in 628 milliseconds