/external/libnl/lib/genl/ |
genl.c | 25 * <------- genlmsg_len(ghdr) ------> 30 * genlmsg_data(ghdr)--------------^ ^ 31 * genlmsg_attrdata(ghdr, hdrlen)------------------------- 148 struct genlmsghdr *ghdr; local 153 ghdr = nlmsg_data(nlh); 154 if (genlmsg_len(ghdr) < NLMSG_ALIGN(hdrlen)) 163 struct genlmsghdr *ghdr; local 168 ghdr = nlmsg_data(nlh); 169 return nla_validate(genlmsg_attrdata(ghdr, hdrlen), 170 genlmsg_attrlen(ghdr, hdrlen), maxtype, policy) 176 struct genlmsghdr *ghdr; local [all...] |
mngt.c | 97 struct genlmsghdr *ghdr; local 100 ghdr = nlmsg_data(nlh); 107 if (cmd->c_id == ghdr->cmd) 122 .genlhdr = ghdr, 123 .userhdr = genlmsg_data(ghdr),
|
/toolchain/binutils/binutils-2.25/gprof/ |
bb_exit_func.c | 51 struct gmon_hdr ghdr; 73 memcpy (&ghdr.cookie[0], GMON_MAGIC, 4); 74 memcpy (&ghdr.version, &version, sizeof (version)); 75 fwrite (&ghdr, sizeof (ghdr), 1, fp); 50 struct gmon_hdr ghdr; local
|
gmon_io.c | 296 struct gmon_hdr ghdr; 317 if (fread (&ghdr, sizeof (struct gmon_hdr), 1, ifp) != 1) 325 || (file_format == FF_AUTO && !strncmp (&ghdr.cookie[0], GMON_MAGIC, 4))) 327 if (file_format == FF_MAGIC && strncmp (&ghdr.cookie[0], GMON_MAGIC, 4)) 335 gmon_file_version = bfd_get_32 (core_bfd, (bfd_byte *) ghdr.version); 599 struct gmon_hdr ghdr; 612 memcpy (&ghdr.cookie[0], GMON_MAGIC, 4); 613 bfd_put_32 (core_bfd, (bfd_vma) GMON_VERSION, (bfd_byte *) ghdr.version); 615 if (fwrite (&ghdr, sizeof (ghdr), 1, ofp) != 1 295 struct gmon_hdr ghdr; local 598 struct gmon_hdr ghdr; local [all...] |
/external/iproute2/lib/ |
libgenl.c | 15 struct genlmsghdr *ghdr = NLMSG_DATA(nlh); local 32 if (ghdr->cmd != CTRL_CMD_NEWFAMILY) { 33 fprintf(stderr, "Unknown controller command %d\n", ghdr->cmd); 37 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN);
|
/external/iproute2/genl/ |
ctrl.c | 46 struct genlmsghdr *ghdr; local 60 ghdr = NLMSG_DATA(&req.n); 61 ghdr->cmd = CTRL_CMD_GETFAMILY; 77 struct genlmsghdr *ghdr = NLMSG_DATA(nlh); local 87 if (ghdr->cmd != CTRL_CMD_NEWFAMILY) { 88 fprintf(stderr, "Unknown controller command %d\n", ghdr->cmd); 99 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); 185 struct genlmsghdr *ghdr = NLMSG_DATA(n); local 197 if (ghdr->cmd != CTRL_CMD_GETFAMILY && 198 ghdr->cmd != CTRL_CMD_DELFAMILY & 295 struct genlmsghdr *ghdr; local [all...] |
/external/iproute2/ip/ |
tcp_metrics.c | 95 struct genlmsghdr *ghdr; local 109 ghdr = NLMSG_DATA(n); 110 if (ghdr->cmd != TCP_METRICS_CMD_GET) 113 parse_rtattr(attrs, TCP_METRICS_ATTR_MAX, (void *) ghdr + GENL_HDRLEN,
|
ipl2tp.c | 245 struct genlmsghdr *ghdr; local 256 ghdr = NLMSG_DATA(n); 257 len = n->nlmsg_len - NLMSG_LENGTH(sizeof(*ghdr)); 261 parse_rtattr(attrs, L2TP_ATTR_MAX, (void *)ghdr + GENL_HDRLEN, len);
|
/external/dhcpcd-6.8.2/ |
if-linux.c | 940 struct genlmsghdr ghdr; member in struct:nlmg 991 struct genlmsghdr *ghdr; local 997 ghdr = NLMSG_DATA(nlm); 998 head = (struct nlattr *)(void *)((char *) ghdr + GENL_HDRLEN); 1035 nlm.ghdr.cmd = CTRL_CMD_GETFAMILY; 1036 nlm.ghdr.version = 1; 1087 nlm.ghdr.cmd = NL80211_CMD_GET_INTERFACE; [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
objcopy.c | 1018 Elf_Internal_Shdr *ghdr; local [all...] |
/toolchain/binutils/binutils-2.25/bfd/ |
elf.c | 514 group_signature (bfd *abfd, Elf_Internal_Shdr *ghdr) 523 if (ghdr->sh_link >= elf_numsections (abfd)) 525 hdr = elf_elfsections (abfd) [ghdr->sh_link]; 527 || ! bfd_section_from_shdr (abfd, ghdr->sh_link)) 532 if (bfd_elf_get_elf_syms (abfd, hdr, 1, ghdr->sh_info, [all...] |