summaryrefslogtreecommitdiffstats
path: root/net/ping.c
Commit message (Collapse)AuthorAgeFilesLines
* commands: remove maxargsSascha Hauer2009-10-191-1/+0
| | | | | | | No need to check for maximum argument counts. The commands are safe to be called with more arguments, so lets safe some bytes. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: return COMMAND_ERROR_USAGESascha Hauer2009-10-191-4/+2
| | | | | | | instead of calling u_boot_cmd_usage in each command to safe space. Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* ping: shorten usage infoSascha Hauer2009-10-191-1/+1
| | | | Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* ping: do not return -1 in commandSascha Hauer2009-10-191-5/+2
| | | | | | Also, print usage if not enough arguments given. Signed-off-by: Sascha Hauer <sha@pengutronix.de>
* only the ping code is interested in the ping ipSascha Hauer2009-10-131-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ping.c: refactorSascha Hauer2009-10-131-9/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: remove switch/case in NetLoop()Sascha Hauer2009-10-131-1/+3
| | | | | | | | Instead of having a big switch/case for every protocol, do the right things in the individual functions before callong NetLoop(). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: split NetLoop in NetLoop and NetLoopInitSascha Hauer2009-10-131-0/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: remove NetStartAgain()Sascha Hauer2009-10-131-1/+0
| | | | | | Do not let the network stack restart itself Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix string_to_ipSascha Hauer2008-08-201-2/+1
| | | | | | | | Use a pointer to an ip address instead of the return value in string_to_ip and use the return value for error indication only. 0.0.0.0 can be a valid ip address Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ping.c: remove volatile from variablesSascha Hauer2008-03-311-4/+4
|
* remove unneeded colatile from variableSascha Hauer2007-10-111-1/+1
|
* remove u-boot command paramter flagSascha Hauer2007-09-241-1/+1
|
* svn_rev_556Sascha Hauer2007-07-051-1/+1
| | | | unify help string style
* svn_rev_462Sascha Hauer2007-07-051-1/+1
| | | | | | | - Add help texts for many commands. - Let the linker sort the command table. - Add support for multiple argmuments in several commands (mkdir, rmdir, rm, cat)
* svn_rev_420Sascha Hauer2007-07-051-5/+5
| | | | | | | | | | | - do more POSIX: - use DIR instead of struct dirent - use (struct dirent)->d_name instead of (struct dirent)->name - switch to a new layout for U_BOOT_CMD: - use C99 initializers to be able to add more fields to the command struct - add aliases for commands (needed mainly for help -> ? and test -> [ - This is not done for all commands yet, but the compiler will tell you ;)
* svn_rev_101Sascha Hauer2007-07-051-0/+116