Commit Graph

13 Commits

Author SHA1 Message Date
Gregory Nutt
c1ec7db8a9 This commite eliminates the ping command from NSH and replaces it with a ping 'built-in' at apps/system/ping. The original NSH version of ping violated the portable POSIX interface and, hence, had to be removed. The new system/ping command uses the new IPPROTO_ICMP AF_INET datagram sockets to implement ping.
Squashed commit of the following:

    apps/system/ping:  Fix some timing issues.
    apps/system/ping:  A few timing related corrections.
    apps/nshlib:  Remove support for the NSH 'ping' command.  The implementation of that command violated the portable POSIX interface and has been replaced with a ping 'built-in' command at apps/system/ping.
    apps/system/ping:  Add larger payload.  Verify content of echoed payload.
    apps/system/ping:  Various fixes for a clean compile
    system/ping: Add new build structure for system ping command.
2017-10-23 08:50:01 -06:00
Alan Carvalho de Assis
8e7ed15cce NSHLIB uname command: Eliminate 'defined but not used' warning in some configurations 2017-03-07 15:36:18 -06:00
Aleksandr Vyhovanec
e832e73b99 nshlib/: Fix missing semicolon; include string.h. 2016-09-05 07:05:17 -06:00
Mateusz Szafoni
6ff8074532 apps/nshlib/nsh_syscmds.c: missing semicolon 2016-08-25 14:26:33 +02:00
Paul A. Patience
266cc147c4 Correct #if to #ifdef when the macro can be undefined 2015-09-01 13:44:06 -04:00
Gregory Nutt
74aa0f21c5 NSH uname command: Uninitialized variable caused failures in some unlucky cases 2015-07-05 09:06:13 -06:00
Gregory Nutt
584284adc3 NSH uname, Use unknown if board name is not known 2015-07-05 08:42:00 -06:00
Gregory Nutt
243694308e NSH uname command will now print the board directory for -i option 2015-07-05 06:47:29 -06:00
Gregory Nutt
d710b7c3b7 Add support for the NSH uname command 2015-07-04 15:13:11 -06:00
Gregory Nutt
95eea325cf Add poweroff and reboot NSH commands as alternatives to the shutdown command 2015-07-04 12:44:24 -06:00
Gregory Nutt
165637ce27 The NSH shutdown option should be called --reboot, not --reset, for compatibility with the statndard shutdown command 2015-07-04 11:39:44 -06:00
Gregory Nutt
a2a1530694 The NSH shutdown command now supports the --reset option, if available in hardware 2015-07-04 11:11:16 -06:00
Gregory Nutt
fa9e1812f8 Oops.. forgot to add a file before the last commit 2015-07-04 08:44:42 -06:00