Searched refs:addrs (Results 1 – 3 of 3) sorted by relevance
99 int TetherController::startTethering(int num_addrs, struct in_addr* addrs) { in startTethering() argument151 char *start = strdup(inet_ntoa(addrs[addrIndex++])); in startTethering()152 char *end = strdup(inet_ntoa(addrs[addrIndex++])); in startTethering()
40 int startTethering(int num_addrs, struct in_addr* addrs);
755 in_addr *addrs = (in_addr *)malloc(sizeof(in_addr) * num_addrs); in runCommand() local757 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()