[PATCH] shell: Add a ping command.

2014-09-14 Thread Chris Johns
This patch adds a ping command to the RTEMS shell. It pings for a count of 5 or so and then stops because there is not ^C in the RTEMS shell. A flood ping also works with the -c option. As stated in the commit message some options work and some do not and I suspect the age of our TCP/IP stack is

[PATCH] shell: Add a ping command.

2014-09-14 Thread Chris Johns
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