RTnet -- receive broadcast frame at the local machine
Dear Xenomai users,
Since RTnet has been integrated with Xenomai I address this question to you. The question is, how to receive a broadcast frame at the local machine without using the localhost? The issue is following, we have two process with separate rtsockets at the single machine (of course we have different machines in the network but this is not a case). One process send a broadcast UDP frame to the specified UDP port -- we have one rteth device on the machine. The second process listen on that port (receivefrom) and does not receive the broadcast frame sent by first process. I have found the following thread on the RTnet mailing list
https://sourceforge.net/p/rtnet/mailman/message/6787561/
Could you please point me the place which should be hacked to duplicate outgoing packets if there are multiple matching routes?
Best,
Mariusz
Quoted 9 lines · Mariusz Janiak
Dear Xenomai users,
Since RTnet has been integrated with Xenomai I address this question to you. The question is, how to receive a broadcast frame at the local machine without using the localhost? The issue is following, we have two process with separate rtsockets at the single machine (of course we have different machines in the network but this is not a case). One process send a broadcast UDP frame to the specified UDP port -- we have one rteth device on the machine. The second process listen on that port (receivefrom) and does not receive the broadcast frame sent by first process. I have found the following thread on the RTnet mailing list
https://sourceforge.net/p/rtnet/mailman/message/6787561/
Could you please point me the place which should be hacked to duplicate outgoing packets if there are multiple matching routes?
I ma not sure I understand what you are looking for, but to receive on a host the frames sent by that host, you need to enable and load the loopback module. When you do that, no hack should be needed.
Signature · 2 lines
Gilles. https://click-hack.org