/external/dhcpcd/ |
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->next = ift->next [all...] |
ifaddrs.c | 135 struct ifaddrs *ifp; local 138 ifp = ifa; 139 free(ifp->ifa_name); 140 if (ifp->ifa_addr) 141 free(ifp->ifa_addr); 142 if (ifp->ifa_netmask) 143 free(ifp->ifa_netmask); 145 free(ifp);
|
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->next) 693 const struct interface *ifp; local [all...] |
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...] |
ipv6rs.c | 166 ipv6rs_makeprobe(struct interface *ifp) 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->hwlen + 2)) >> 3 191 struct interface *ifp = arg; local 275 struct interface *ifp; local 682 struct interface *ifp; local [all...] |
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; ifp = ifp->next) 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...] |
/external/blktrace/ |
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...] |
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) {
|
blktrace.c | 2048 FILE *ifp = my_fopen(optarg, "r"); local [all...] |
/external/libusb/libusb/ |
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, 0) [all...] |