Commit Graph

3 Commits

Author SHA1 Message Date
Sebastian Huber
6b4a22e383 shell: Include <rtems/shell.h> early
This avoids a conflict with the global variable defines.
2014-11-20 10:30:26 +01:00
Chris Johns
56ed56a641 libmisc/shell: Remove the need for -lm when linking from the ping command.
Remove the use of sqrt and so the need to link to -lm.
Clean up some warnings.
2014-10-04 08:55:12 +10:00
Chris Johns
a8fa078f1e shell: Add a ping command.
The ping code is taken from a recent FreeBSD release. Some options have been
tested, other not tested or do not work. This could be due to the age of
our TCP/IP stack.

This version of ping will not work if more than 64 file descriptors are
open at once because the select FD size is 64 as set in newlib.
2014-09-16 15:19:58 +10:00