This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

docs on using free bsd API port ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]