qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] linux-user: Added IP_ADD_MEMBERSHIP/IP_DROP_MEM


From: Lionel Landwerlin
Subject: Re: [Qemu-devel] [PATCH] linux-user: Added IP_ADD_MEMBERSHIP/IP_DROP_MEMBERSHIP flags to setsockopt
Date: Thu, 30 Apr 2009 01:08:50 +0200

Le mercredi 29 avril 2009 à 21:35 +0100, Jamie Lokier a écrit :
> Riku Voipio wrote:
> > On Mon, Apr 27, 2009 at 08:05:06PM +0200, Lionel Landwerlin wrote:
> > > Le lundi 27 avril 2009 à 10:21 -0700, Nathan Froyd a écrit :
> > > > On Sat, Apr 25, 2009 at 11:30:19PM +0200, Lionel Landwerlin wrote:
> > > > > linux-user: Added IP_ADD_MEMBERSHIP/IP_DROP_MEMBERSHIP flags to 
> > > > > setsockopt
> > 
> > > > Should these be TARGET_IP_* instead, or are they like the FUTEX_*
> > > > constants and the same on every platform?  If the latter, at the very
> > > > least there should be explanatory comments somewhere--just making them
> > > > TARGET_IP_* would be even better, IMHO.
> > 
> > > I'm agree too, I just did the way it was before...
> > 
> > These are defined in include/linux/in.h so they should be same on all archs?
> 
> But what if you're compiling for a non-Linux host?
> 
> IP_ADD_MEMBERSHIP/IP_DROP_MEMBERSHIP are standard BSD sockets options,
> found everywhere, even on Windows I think.

Ok, so I think I can keep the patch as it is now

-- 
Lionel Landwerlin <address@hidden>





reply via email to

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