/external/dhcpcd/ |
if-pref.c | 79 struct interface *sorted, *ifp, *ifn, *ift; local 86 for (ifp = ifaces; ifp && (ifn = ifp->next, 1); ifp = ifn) {
|
if-linux.c | 235 char ifn[IF_NAMESIZE + 1]; local 271 if (if_indextoname(idx, ifn)) 272 rt.iface = find_interface(ifn); 296 char ifn[IF_NAMESIZE + 1]; local 310 if (if_indextoname(ifa->ifa_index, ifn) == NULL) 312 iface = find_interface(ifn); 335 handle_ifa(nlm->nlmsg_type, ifn, &addr, &net, &dest); 345 char ifn[IF_NAMESIZE + 1]; local 366 *ifn = '\0'; 376 strlcpy(ifn, RTA_DATA(rta), sizeof(ifn)) [all...] |
net.c | 339 char ifn[IF_NAMESIZE]; local 382 strlcpy(ifn, argv[i], sizeof(ifn)); 383 p = strchr(ifn, ':'); 386 if (strcmp(ifn, ifa->ifa_name) == 0)
|
dhcpcd.c | 1299 struct interface *ifs, *ifp, *ifn, *ifl = NULL; local 1474 struct interface *ifl, *ifn, *ifp, *ifs, *ift; local [all...] |
/system/netd/ |
ThrottleController.cpp | 62 char ifn[65]; local 65 memset(ifn, 0, sizeof(ifn)); 66 strncpy(ifn, iface, sizeof(ifn)-1); 69 reset(ifn); 82 sprintf(cmd, "qdisc add dev %s root handle 1: htb default 1 r2q 1000", ifn); 91 sprintf(cmd, "class add dev %s parent 1: classid 1:1 htb rate %dkbit", ifn, txKbps); 127 sprintf(cmd, "qdisc add dev %s ingress", ifn); 134 * Add filter to link <ifn> -> ifb [all...] |
BandwidthController.cpp | 412 int BandwidthController::prepCostlyIface(const char *ifn, QuotaType quotaType) { 423 costString += ifn; 452 snprintf(cmd, sizeof(cmd), "-D bw_INPUT -i %s --jump %s", ifn, costCString); 455 snprintf(cmd, sizeof(cmd), "-I bw_INPUT %d -i %s --jump %s", ruleInsertPos, ifn, costCString); 458 snprintf(cmd, sizeof(cmd), "-D bw_OUTPUT -o %s --jump %s", ifn, costCString); 461 snprintf(cmd, sizeof(cmd), "-I bw_OUTPUT %d -o %s --jump %s", ruleInsertPos, ifn, costCString); 466 int BandwidthController::cleanupCostlyIface(const char *ifn, QuotaType quotaType) { 475 costString += ifn; 486 snprintf(cmd, sizeof(cmd), "-D bw_INPUT -i %s --jump %s", ifn, costCString); 488 snprintf(cmd, sizeof(cmd), "-D bw_OUTPUT -o %s --jump %s", ifn, costCString) 503 char ifn[MAX_IFACENAME_LEN]; local 570 char ifn[MAX_IFACENAME_LEN]; local 608 char ifn[MAX_IFACENAME_LEN]; local 693 char ifn[MAX_IFACENAME_LEN]; local [all...] |
/external/libpcap/ |
fad-glifc.c | 88 struct lifnum ifn; local 124 ifn.lifn_family = AF_UNSPEC; 125 ifn.lifn_flags = 0; 126 ifn.lifn_count = 0; 127 if (ioctl(fd4, SIOCGLIFNUM, (char *)&ifn) < 0) { 138 buf_size = ifn.lifn_count * sizeof (struct lifreq);
|
/external/blktrace/ |
blktrace.c | 240 * ifn & ifd represent input information 265 char ifn[MAXPATHLEN + 64]; member in struct:io_info 1432 static inline void read_err(int cpu, char *ifn) 1436 cpu, ifn, errno, strerror(errno)); [all...] |