Home
last modified time | relevance | path

Searched refs:nextArg (Results 1 – 2 of 2) sorted by relevance

/system/netd/server/
DCommandListener.cpp1375 int nextArg = 2; in runCommand() local
1378 if (!strcmp(argv[nextArg], "legacy")) { in runCommand()
1379 ++nextArg; in runCommand()
1381 uid = strtoul(argv[nextArg++], NULL, 0); in runCommand()
1385 if (!strcmp(argv[nextArg], "add")) { in runCommand()
1387 } else if (strcmp(argv[nextArg], "remove")) { in runCommand()
1390 ++nextArg; in runCommand()
1392 if (argc < nextArg + 3 || argc > nextArg + 4) { in runCommand()
1396 unsigned netId = stringToNetId(argv[nextArg++]); in runCommand()
1397 const char* interface = argv[nextArg++]; in runCommand()
[all …]
DTetherController.cpp199 int nextArg = TETHER_START_CONST_ARG; in startTethering() local
201 asprintf(&(args[nextArg++]),"--dhcp-range=%s,%s,1h", in startTethering()