Lines Matching refs:tx
133 unsigned long rx = 0, tx = 0;
134 if (readInterfaceCounters(argv[2], &rx, &tx)) {
151 unsigned long rx = 0, tx = 0;
152 if (readInterfaceCounters(argv[2], &rx, &tx)) {
158 asprintf(&msg, "%lu", tx);
163 if (argc != 4 || (argc == 4 && (strcmp(argv[3], "rx") && (strcmp(argv[3], "tx"))))) {
165 "Usage: interface getthrottle <interface> <rx|tx>", false);
847 int CommandListener::readInterfaceCounters(const char *iface, unsigned long *rx, unsigned long *tx) {
864 name, rx, &d, &d, &d, &d, &d, &d, &d, tx);
870 // note that all the %lu will be off by one and the real tx value will be in d
872 *tx = d;
884 *tx = 0;