Lines Matching refs:tx
252 unsigned long rx = 0, tx = 0;
253 if (readInterfaceCounters(argv[2], &rx, &tx)) {
270 unsigned long rx = 0, tx = 0;
271 if (readInterfaceCounters(argv[2], &rx, &tx)) {
277 asprintf(&msg, "%lu", tx);
282 if (argc != 4 || (argc == 4 && (strcmp(argv[3], "rx") && (strcmp(argv[3], "tx"))))) {
284 "Usage: interface getthrottle <interface> <rx|tx>", false);
938 int CommandListener::readInterfaceCounters(const char *iface, unsigned long *rx, unsigned long *tx) {
955 name, rx, &d, &d, &d, &d, &d, &d, &d, tx);
961 // note that all the %lu will be off by one and the real tx value will be in d
963 *tx = d;
975 *tx = 0;