/external/dhcpcd/ |
H A D | configure.h | 39 #define run_script(ifp) run_script_reason(ifp, (ifp)->state->reason);
|
H A D | if-pref.c | 79 struct interface *sorted, *ifp, *ifn, *ift; local 86 for (ifp = ifaces; ifp && (ifn = ifp->next, 1); ifp = ifn) { 88 if (ifcmp(ifp, sorted) == -1) { 89 ifp->next = sorted; 90 sorted = ifp; 95 if (ifcmp(ifp, ift->next) == -1) { 96 ifp [all...] |
H A D | ipv6rs.h | 38 void ipv6rs_free(struct interface *ifp);
|
H A D | ipv6rs.c | 166 ipv6rs_makeprobe(struct interface *ifp) argument 171 free(ifp->rs); 172 ifp->rslen = sizeof(*rs) + ROUNDUP8(ifp->hwlen + 2); 173 ifp->rs = xzalloc(ifp->rslen); 174 if (ifp->rs == NULL) 176 rs = (struct nd_router_solicit *)ifp->rs; 181 nd = (struct nd_opt_hdr *)(ifp->rs + sizeof(*rs)); 183 nd->nd_opt_len = (ROUNDUP8(ifp 191 struct interface *ifp = arg; local 233 ipv6rs_sort(struct interface *ifp) argument 275 struct interface *ifp; local 569 ipv6rs_env(char **env, const char *prefix, const struct interface *ifp) argument 665 ipv6rs_free(struct interface *ifp) argument 682 struct interface *ifp; local 748 ipv6rs_start(struct interface *ifp) argument [all...] |
H A D | dhcpcd.c | 252 struct interface *ifp; local 254 for (ifp = ifaces; ifp; ifp = ifp->next) 255 if (strcmp(ifp->name, ifname) == 0) 256 return ifp; 263 struct interface *ifp, *ifl = NULL; local 275 for (ifp = ifaces; ifp; if 1299 struct interface *ifs, *ifp, *ifn, *ifl = NULL; local 1350 struct interface *ifp; local 1387 struct interface *ifp; local 1474 struct interface *ifl, *ifn, *ifp, *ifs, *ift; local 1511 struct interface *ifp, *ifl; local 1600 struct interface *ifp; local [all...] |
H A D | net.c | 337 struct interface *ifp, *ifs, *ifl; local 373 for (ifp = ifs; ifp; ifp = ifp->next) 374 if (strcmp(ifp->name, ifa->ifa_name) == 0) 376 if (ifp) 414 if ((ifp = init_interface(p)) == NULL) 418 if (!(ifp->flags & IFF_UP) 420 && carrier_status(ifp) ! [all...] |
H A D | ifaddrs.c | 136 struct ifaddrs *ifp; local 139 ifp = ifa; 140 free(ifp->ifa_name); 141 if (ifp->ifa_addr) 142 free(ifp->ifa_addr); 143 if (ifp->ifa_netmask) 144 free(ifp->ifa_netmask); 146 free(ifp);
|
H A D | configure.c | 171 const struct interface *ifp; local 210 for (ifp = ifaces; ifp; ifp = ifp->next) 211 e += strlen(ifp->name) + 1; 216 for (ifp = ifaces; ifp; ifp = ifp 640 add_router_host_route(struct rt *rt, const struct interface *ifp) argument 693 const struct interface *ifp; local [all...] |
/external/libusb/libusb/ |
H A D | descriptor.c | 164 struct libusb_interface_descriptor *ifp = local 167 if (ifp->extra) 168 free((void *) ifp->extra); 169 if (ifp->endpoint) { 170 for (j = 0; j < ifp->bNumEndpoints; j++) 172 ifp->endpoint + j); 173 free((void *) ifp->endpoint); 192 struct libusb_interface_descriptor *ifp; local 209 ifp = altsetting + interface->num_altsetting; 211 usbi_parse_descriptor(buffer, "bbbbbbbbb", ifp, [all...] |
/external/blktrace/ |
H A D | blkrawverify.c | 144 FILE *ifp, *ofp; local 155 ifp = fopen(file, "r"); 156 if (!ifp) 166 fclose(ifp); 174 while ((n = fread(bit, sizeof(struct blk_io_trace), 1, ifp)) == 1) { 175 if (ferror(ifp)) { 176 clearerr(ifp); 199 n = fread(pdu_buf, bit->pdu_len, 1, ifp); 246 if (n == 0 && !feof(ifp)) 249 fclose(ifp); [all...] |
H A D | blkiomon.c | 76 static FILE *ifp; variable 463 if (fread(bit, sizeof(*bit), 1, ifp) != 1) { 464 if (!feof(ifp)) 469 if (ferror(ifp)) { 470 clearerr(ifp); 490 if (fread(pdu_buf, bit->pdu_len, 1, ifp) != 1) { 491 clearerr(ifp); 730 ifp = fdopen(STDIN_FILENO, "r"); 731 if (!ifp) {
|
H A D | blktrace.c | 2048 FILE *ifp = my_fopen(optarg, "r"); local 2050 if (!ifp) { 2057 while (fscanf(ifp, "%s\n", dev_line) == 1)
|
/external/iputils/ |
H A D | rdisc.c | 102 static int sendbcastif(int s, char *packet, int packetlen, struct interface *ifp); 103 static int sendmcastif(int s, char *packet, int packetlen, struct sockaddr_in *sin, struct interface *ifp); 626 struct interface *ifp = &interfaces[i]; local 631 if ((sin->sin_addr.s_addr & ifp->netmask.s_addr) == 632 (ifp->address.s_addr & ifp->netmask.s_addr)) { 637 ifp->name, 638 pr_name(ifp->address)); 1013 sendbcastif(int s, char *packet, int packetlen, struct interface *ifp) argument 1020 baddr.sin_addr = ifp 1055 sendmcastif(int s, char *packet, int packetlen, struct sockaddr_in *sin, struct interface *ifp) argument [all...] |
/external/skia/src/gpu/gl/builders/ |
H A D | GrGLProgramBuilder.cpp | 293 GrGLInstalledFragProc* ifp = SkNEW(GrGLInstalledFragProc); local 296 ifp->fGLProc.reset(fp.createGLInstance()); 299 this->emitSamplers(fp, &samplers, ifp); 301 ifp->fGLProc->emitCode(this, fp, outColor, inColor, fOutCoords[index], samplers); 306 fFragmentProcessors->fProcs.push_back(ifp);
|
/external/vboot_reference/utility/ |
H A D | efidecompress.c | 1044 FILE *ifp = fopen(infile, "rb"); local 1045 if (!ifp) 1063 if (1 != fread(ibuf, isize, 1, ifp)) { 1156 fclose(ifp);
|
H A D | eficompress.c | 1645 FILE *ifp = fopen(infile, "rb"); local 1646 if (!ifp) 1664 if (1 != fread(ibuf, isize, 1, ifp)) { 1726 fclose(ifp);
|