HomeSort by relevance Sort by last modified time
    Searched refs:ifn (Results 1 - 9 of 9) sorted by null

  /system/netd/
ThrottleController.cpp 63 char ifn[65]; local
66 memset(ifn, 0, sizeof(ifn));
67 strncpy(ifn, iface, sizeof(ifn)-1);
70 reset(ifn);
83 sprintf(cmd, "qdisc add dev %s root handle 1: htb default 1 r2q 1000", ifn);
92 sprintf(cmd, "class add dev %s parent 1: classid 1:1 htb rate %dkbit", ifn, txKbps);
128 sprintf(cmd, "qdisc add dev %s ingress", ifn);
135 * Add filter to link <ifn> -> ifb
    [all...]
BandwidthController.cpp 364 int BandwidthController::prepCostlyIface(const char *ifn, QuotaType quotaType) {
375 costString += ifn;
398 snprintf(cmd, sizeof(cmd), "-I INPUT %d -i %s --goto %s", ruleInsertPos, ifn, costCString);
400 snprintf(cmd, sizeof(cmd), "-I OUTPUT %d -o %s --goto %s", ruleInsertPos, ifn, costCString);
405 int BandwidthController::cleanupCostlyIface(const char *ifn, QuotaType quotaType) {
414 costString += ifn;
422 snprintf(cmd, sizeof(cmd), "-D INPUT -i %s --goto %s", ifn, costCString);
424 snprintf(cmd, sizeof(cmd), "-D OUTPUT -o %s --goto %s", ifn, costCString);
439 char ifn[MAX_IFACENAME_LEN]; local
452 if (StrncpyAndCheck(ifn, iface, sizeof(ifn)))
506 char ifn[MAX_IFACENAME_LEN]; local
544 char ifn[MAX_IFACENAME_LEN]; local
629 char ifn[MAX_IFACENAME_LEN]; local
    [all...]
BandwidthController.h 83 QuotaInfo(std::string ifn, int64_t q, int64_t a)
84 : ifaceName(ifn), quota(q), alert(a) {};
99 int prepCostlyIface(const char *ifn, QuotaType quotaType);
100 int cleanupCostlyIface(const char *ifn, QuotaType quotaType);
  /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 228 char ifn[IF_NAMESIZE + 1]; local
264 if (if_indextoname(idx, ifn))
265 rt.iface = find_interface(ifn);
289 char ifn[IF_NAMESIZE + 1]; local
303 if (if_indextoname(ifa->ifa_index, ifn) == NULL)
305 iface = find_interface(ifn);
328 handle_ifa(nlm->nlmsg_type, ifn, &addr, &net, &dest);
338 char ifn[IF_NAMESIZE + 1]; local
359 *ifn = '\0';
369 strlcpy(ifn, RTA_DATA(rta), sizeof(ifn))
    [all...]
dhcpcd.c 1232 struct interface *ifs, *ifp, *ifn, *ifl = NULL; local
1260 for (ifn = ifaces; ifn; ifn = ifn->next) {
1261 if (strcmp(ifn->name, ifp->name) == 0)
1263 ifl = ifn;
1265 if (ifn) {
1267 ifn->flags = ifp->flags;
1268 ifn->hwlen = ifp->hwlen
1409 struct interface *ifl, *ifn, *ifp, *ifs, *ift; local
    [all...]
net.c 321 char ifn[IF_NAMESIZE]; local
364 strlcpy(ifn, argv[i], sizeof(ifn));
365 p = strchr(ifn, ':');
368 if (strcmp(ifn, ifa->ifa_name) == 0)
  /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...]

Completed in 380 milliseconds