bsdnet attach

Joel Sherrill joel.sherrill at OARcorp.com
Fri Jun 8 12:44:06 UTC 2001


peter.o.mueller at gmx.de wrote:
> 
> Hi,
> 
> building some network code I found that the attach function required in
> rtems_bsdnet_ifconfig has a 2nd parameter.  But in the rtems_bsdnet.h file
> the prototype for rtems_bsdnet_attach does not have this 2nd parameter. I
> think this function is not intended for use in the struct. More confusing is
> that the attach function for the loopback does not have the 2nd parameter
> too.
> 
> void
> rtems_bsdnet_loopattach(dummy)
>         void *dummy;
> {
> 
> Can anybody bring some light into this?

The parameter was added and not everything was consistently updated. 
The
send parameter is an attach/detach flag.
 
> Thank you,
> Peter
> 
> --
> Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
> http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a
> 
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985



More information about the users mailing list