I'm trying to implement the ethercat protocol into Orocos (www.orocos.org). To do this I want to use the RTNet with a Realtek rtl8139 network card.
So, I've installed RTNet on Xenamai and try to send and receive raw ethernet packages (ethercat data) using the rtl8139 driver. But I'm a bit confused on how to do this, especially the receiving part isn't really clear to me. The way I see it (please correct me if I'm wrong), the rx_interrupt function takes the data from the rx_ring and puts it on the skb_pool. Then the atomic variable \"ref_count\" is incremented with \"rtnetif_rx (skb)\", so the upper layer can see there has new data been received .
Now my question is, how do I reach the data that has been put on the skb_pool? Is there a function to do this? Or do I have to take to take the data with a function like \"sock_queue_rcv_skb()\" and increment \"ref_count\" myself?
Tom
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users