Searched refs:rx (Results 1 - 4 of 4) sorted by relevance

/system/netd/
H A DThrottleController.h23 static int getInterfaceRxThrottle(const char *iface, int *rx);
H A DThrottleController.cpp161 int ThrottleController::getInterfaceRxThrottle(const char *iface, int *rx) { argument
162 *rx = 0;
H A DCommandListener.cpp133 unsigned long rx = 0, tx = 0; local
134 if (readInterfaceCounters(argv[2], &rx, &tx)) {
140 asprintf(&msg, "%lu", rx);
151 unsigned long rx = 0, tx = 0; local
152 if (readInterfaceCounters(argv[2], &rx, &tx)) {
163 if (argc != 4 || (argc == 4 && (strcmp(argv[3], "rx") && (strcmp(argv[3], "tx"))))) {
165 "Usage: interface getthrottle <interface> <rx|tx>", false);
172 if (!strcmp(argv[3], "rx")) {
847 int CommandListener::readInterfaceCounters(const char *iface, unsigned long *rx, unsigned long *tx) { argument
864 name, rx,
[all...]
H A DCommandListener.h50 static int readInterfaceCounters(const char *iface, unsigned long *rx, unsigned long *tx);

Completed in 938 milliseconds