Home
last modified time | relevance | path

Searched refs:ifs (Results 1 – 3 of 3) sorted by relevance

/system/core/toolbox/
Diftop.c100 static int get_interfaces(struct if_stats *ifs) in get_interfaces() argument
143 ret = sscanf(p, "%" STR(IFNAMSIZ) "s", ifs->name); in get_interfaces()
153 c = strchr(ifs->name, ':'); in get_interfaces()
160 "%*u %*u\n", &ifs->rx_bytes, &ifs->rx_packets, in get_interfaces()
161 &ifs->rx_errors, &ifs->rx_dropped, &ifs->tx_bytes, in get_interfaces()
162 &ifs->tx_packets, &ifs->tx_errors, &ifs->tx_dropped); in get_interfaces()
168 ifs->mtu = get_mtu(ifs->name); in get_interfaces()
176 ifs++; in get_interfaces()
228 struct if_stats ifs[2][MAX_IF]; in iftop_main() local
261 get_interfaces(ifs[!toggle]); in iftop_main()
[all …]
/system/core/sh/
Dmiscbltin.c95 const char *ifs; in readcmd() local
120 if ((ifs = bltinlookup("IFS", 1)) == NULL) in readcmd()
121 ifs = " \t\n"; in readcmd()
144 if (strchr(ifs, c)) in readcmd()
194 if (!strchr(ifs, *p)) in readcmd()
Dexpand.c188 const char *ifs = 0; in argstr() local
192 ifs = ifsset() ? ifsval() : " \t\n"; in argstr()
248 if (flag & EXP_IFS_SPLIT & ifs_split && strchr(ifs, c) != NULL) { in argstr()
951 const char *ifs; in ifsbreakup() local
968 ifs = ifsset() ? ifsval() : " \t\n"; in ifsbreakup()
985 if (!strchr(ifs, *p)) { in ifsbreakup()
1013 if (strchr(ifs, *p) == NULL) { in ifsbreakup()