Searched refs:command_num (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/networking/libiproute/
H A Dipaddress.c763 int command_num = 2; /* default command is list */ local
766 command_num = index_in_substrings(commands, *argv);
768 if (command_num < 0 || command_num > 5)
772 if (command_num == 0) /* add */
774 else if (command_num == 1) /* delete */
776 else if (command_num == 5) /* flush */
H A Diproute.c838 int command_num = 6; local
845 command_num = index_in_substrings(ip_route_commands, *argv);
847 switch (command_num) {

Completed in 130 milliseconds