Stefan Hajnoczi, le Fri 08 Mar 2013 09:43:18 +0100, a écrit : > On Thu, Mar 07, 2013 at 06:14:28PM +0100, Samuel Thibault wrote: > > Stefan Hajnoczi, le Thu 07 Mar 2013 10:38:26 +0100, a écrit : > > > On Wed, Mar 06, 2013 at 02:15:25PM +0100, Samuel Thibault wrote: > > > > Stefan Hajnoczi, le Wed 06 Mar 2013 13:29:37 +0100, a écrit : > > > > > On Tue, Mar 05, 2013 at 05:35:10PM +0100, Samuel Thibault wrote: > > > > > Unfortunately net/socket.c does not have the concept of a link-layer > > > > > address, so we cannot easily filter out multicast packets coming from > > > > > our NIC's address. > > > > > > > > > > Are you aware of a way to filter out just the packets sent by *this* > > > > > process? > > > > > > > > I haven't seen any in the Linux source code. One thing that should > > > > work, however, is to use recvfrom, and drop whatever comes from our > > > > sockname. > > > > > > Sounds like a plan :). > > > > Except that the sockname is the multicast address itself... I'll have a > > closer look. > > What about the port number?
It needs to be the same. There does exist some unique address, which is returned by recvfrom, I'll have a look at how to get access to it. Samuel