Home
last modified time | relevance | path

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

/system/netd/
DTetherController.cpp99 int TetherController::startTethering(int num_addrs, struct in_addr* addrs) { in startTethering() argument
151 char *start = strdup(inet_ntoa(addrs[addrIndex++])); in startTethering()
152 char *end = strdup(inet_ntoa(addrs[addrIndex++])); in startTethering()
DTetherController.h40 int startTethering(int num_addrs, struct in_addr* addrs);
DCommandListener.cpp755 in_addr *addrs = (in_addr *)malloc(sizeof(in_addr) * num_addrs); in runCommand() local
757 if (!inet_aton(argv[arg_index++], &(addrs[array_index++]))) { in runCommand()
759 free(addrs); in runCommand()
763 rc = sTetherCtrl->startTethering(num_addrs, addrs); in runCommand()
764 free(addrs); in runCommand()