qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PER] Re: socket, mcast looping back frames -> IPv6 br


From: Samuel Thibault
Subject: Re: [Qemu-devel] [PER] Re: socket, mcast looping back frames -> IPv6 broken
Date: Fri, 8 Mar 2013 10:08:55 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]