ping
Eric Norum
norume at aps.anl.gov
Fri Apr 11 17:52:07 UTC 2003
Joel Sherrill wrote:
>
> Charles Steaderman wrote:
>
>>Sounds right to me. There are some types which also need to be
>>declared (quad_t and in_addr_t).
>
>
> quad_t is defined in rtems_bsdnet_internal.h which is only for
> inside the stack and drivers. Hmmm.. any ideas on this one Eric?
Hmmm indeed.
A command-line -Dquad_t=xxxxxxx perhaps?
>
>
> If the signals are defined at all to a number then yes. SIGALARM
> works because alarm() works. SIGVTALRM and SIGPROF are not defined
> in the rtems part of newlib's sys/signal.h. Which signal does ping use?
> Eric N and I reworked this set recently for some stuff he needed to
> support (ncurses?). Maybe he has thoughts here also.
Be aware that there are no signals from termios (i.e. console) devices.
>
>
>>What about "command line"
>>argument processing? Should I rename main()
>
>
> Yes. Probably something like ping_main().
>
Easily handled by a command-line define.
Have a look at how I managed to port ttcp to RTEMS with *no* changes to
the ttcp sources.
--
Eric Norum norume at aps.anl.gov
Advanced Photon Source Phone: (630) 252-4793
Argonne National Laboratory
More information about the users
mailing list