Jorge Almeida wrote:
> Jan,
> 
> In attach follows the test cases for the SOCK_RAW and ETH_P_ALL features. Its 
> two files written in C code.
> One for sending messages, and other to read they using the ETH_P_ALL feature.

Thanks, will have a look.

> 
> Please test the patch i send to you, after the refactoring that you need to 
> do, and comment.

Well, if you read my comment, this is first of all about fixing your
patch. Therefore I would appreciate some comments on my findings as well
(disagree, ack, answers to my questions...). Even better would be an
updated version that is at least correct wrt/ rtskb_clone and resolves
the layering issue between stack_mgr.c and af_packet.c.

> 
> The problem about the sending messages still happen, i only can send 16 
> messages. Please check if you have the same problem in one of your machines.
> 
> In the loopback device i can send several messages (my test send 1000) but 
> none is received in the rcv program. 
> The loopback device works in a different way?

Yeah, loopback device is likely no good idea as it by-passes the stack
manager, see the code. That driver actually needs to be included in the
ETH_P_ALL patch as well, but we could do this later by extracting the
common features of the stack manager loop and the loopback driver into
one common function.

Jan

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-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-developers

Reply via email to