Jorge Almeida wrote:
> Hi Jan
> 
> I need to port a linux application that uses raw sockets 
> (socket( PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));)
> to a RTAI based aplication and for that i want to use RTnet.
> My aplication uses the Sorce and Destination Address, and Protocol, to 
> identify the several frames that are in the network, and only care about some 
> of them. This application is to replace a very old system that uses an 
> Ethernet Network, in the link layer. That why i need all the frame returned, 
> and not only the paylod of each frame.

I see. SOCK_RAW should be implementable in the RTnet stack, I'm just
hoping there are no tripwires left complicating this.

> 
> I've readed the thread in the development that you indicate me, and i 
> understand that there are some dificulties implementing, not the SOCK_RAW but 
> the ETH_P_ALL (correct me if i'm wrong!).

Maybe ETH_P_ALL for a single listener will be simple as well when
catching the fall-through of this loop [1]. In contrast, multi-listeners
would require to define and implement a sharing model for rtskbs first.

> 
> I'm available to spend some time trying to implement the ETH_P_ALL and the 
> SOCKET_RAW features in Rtnet, if i have some help from you, especially 
> regarding the protocol specificities and some other issues that might appear 
> during the implementation phase.
> 

You will receive it. Maybe Chris can jump on the train with his work as
well.

Jan

[1]http://www.rts.uni-hannover.de/rtnet/lxr/source/stack/stack_mgr.c#L175

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
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

Reply via email to