Gilles Chanteperdrix wrote:
> Gilles Chanteperdrix wrote:
>> Hi,
>>
>> here is another patch to RTnet, which replaces the list of UDP sockets
>> with a hash, so makes the searching for an RTnet registered socket a bit
>> faster.
> 
> Ok. Should have read the patch better before sending it. There are two
> more features poured into this patch:
> - we add a "receiving" member to the UDP socket structure, which is only
> sets either if the program using the socket has called recv, or if the
> program has bound the socket to a particular port, this is to prevent a
> problem which happens when putting an RTnet box on an heterogenous
> network, with an application which only uses a socket to send packets:
> if the network sends some packets to the automatically assigned port,
> they use rtskbs from the socket pool, until the socket pool becomes
> empty, and no more packet can be sent using the socket.
> - when a socket is bound to a particular IP address, we use this IP as
> the source IP of the packets sent by this socket, even if they end-up
> being sent through another interface, this is Linux behaviour, and was
> required for one of our applications to work correctly with
> off-the-shelf IP phones (they do filtering based on the source IP).

Could you break those two changes out and post them separately? Such
changes are too critical to have them all-in-one.

TiA,
Jan

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to