Marco Pantaleoni wrote:
> Hi,
> I'm writing an application using rtnet 0.9.3 and vulcano CVS (using LXRT)
> that should send and receive raw ethernet frames from multiple NICs. I've
The first behaviour is explainable as only one listener can register on
the same protocol so far. The original packet demultiplexer design
supported even only one listener per hash value. This restriction has
been remove some time ago, but no one yet asked for enhancing the
interface for a scenario like yours.
Ok.
The second oddity remains strange (different protocols must be feasible
already). Please re-check if you _really_ tried to register _different_
protocol numbers.
I'm sure that I've tried to use a different protocol (I remembed having choosen 0x1234 for the first and 0x1235 for the second), but I'll re-check because I could have introduced a bug when actually calling rt_dev_socket().
>
> Do you have any explanation or suggestion?
Give attached patch a try. To do so, run in your rtnet directory:
patch -p1 -i multi-af_packet-listeners.patch
Then recompile RTnet. Note that I only compile-tested this extension
yet, so I count on YOU to give feedback if it works or breaks anything.
Once I got your ok and that damn server at berlios.de gained some disk
space again, I will commit the patch to SVN for 0.9.4.
Jan
this is great! Thank you very much. I believe I'll be able to test the patch one of the next days (the system belongs to one of my customers).
Thank you again!
Cheers,
Marco
--
Marco Pantaleoni
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users