joel.sherrill at OARcorp.com
Fri Apr 11 17:01:44 UTC 2003
Charles Steaderman wrote:
> Has anyone ported ping to RTEMS? I couldn't find anything in the
> archives. I started, but am not sure if signals will work as expected,
> and I am not sure about a replacement function for setitimer. Any thoughts?
I assume you mean the client program for ping.
I would recommend not modifying ping and providing implementations of
getitimer() and setitimer() which were implemented using
Since each process is supposed to support 3 timers, I would recommend
the fields to the rtems_user_env_t structure and managing it that way.
The general RTEMS rule of thumb is for RTEMS to implement missing
routines where possible in a logical and coherent way rather than
packages when porting them. So in this case, implementing the two
routines is easier and safer than attempting to modify ping. Plus it
the next porting job easier.
> - Charlie
More information about the users