Hi All,

I am a newbie in RTNET and i have questions. I have to program a specific
MAC protocol for interacting, over an ethernet bus, with hardware specific
distributed units that implement this protocol. Since these units just
have a MAC and an Application Layers, i have to reproduce this network
stack on the PC side, that's why i don't want to use any IP layer on top
of my MAC layer. The MAC Layer will be included in a real-time task
running in kernel space (mandatory in the control architecture i am
developing).

To do the job, i have to deal with Ethernet packet capturing and sending,
in addition of IRQ handling. What i need is a kind of HAL that provide me
an abstraction of Ethernet drivers and a library that provides me all
necessary functions (IRQ handling, packet capturing and sending). In fact,
what I need is something quite like the well-known libpcap library.

Optimally, I search for a way to "easily" plug RTnet low-level layer with
libpcap library. So my questions are :
- Can i use libpacap directly in kernel mode ?
- If no, can i use, by any way, libpcap in hard real-time RTAI tasks in
combination with RTNET ? If yes, How should i proceed ?
- If no, does RTnet provide functions like the ones provided by libpcap ?
If yes, where could I find documentation/examples on these functions ?


Best regards,

Robin


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to