Home | History | Annotate | Download | only in netd

Lines Matching defs:tx

112         unsigned long rx = 0, tx = 0;
113 if (readInterfaceCounters(argv[2], &rx, &tx)) {
130 unsigned long rx = 0, tx = 0;
131 if (readInterfaceCounters(argv[2], &rx, &tx)) {
137 asprintf(&msg, "%lu", tx);
142 if (argc != 4 || (argc == 4 && (strcmp(argv[3], "rx") && (strcmp(argv[3], "tx"))))) {
144 "Usage: interface getthrottle <interface> <rx|tx>", false);
674 int CommandListener::readInterfaceCounters(const char *iface, unsigned long *rx, unsigned long *tx) {
691 name, rx, &d, &d, &d, &d, &d, &d, &d, tx);
697 // note that all the %lu will be off by one and the real tx value will be in d
699 *tx = d;
711 *tx = 0;