[ECOS] docs on using free bsd API port ?

Philippe Moutarlier philippe@alliantnetworks.com
Fri Jul 18 14:54:00 GMT 2003


I am having some questions about the right way to interface with the
stack at the interface level. For example, is it safe to use the
if_attach function without data protection mechanism ? I found splnet 
call in if_detach but not in if_attach.

I am also a little confused about the re-definition of malloc in kernel
mode. Can we still use the "classic" method when interfacing with the
stack (i.e. can I do "normal" malloc to create an ifnet before calling
if_attach ?).

More generally, is there documentation I could refer to at that level ?
The code itself doesn't seem to have too much of it..
Thanks  
-- 
Philippe Moutarlier <philippe@alliantnetworks.com>


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list