[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: doc getsockopt, setsockopt
From: |
Kevin Ryde |
Subject: |
Re: doc getsockopt, setsockopt |
Date: |
Wed, 12 Oct 2005 08:54:00 +1000 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
Greg Troxel <address@hidden> writes:
>
> follow the BSD way, and translate 0.0.0.x/8 in the second arg into
> setting imr_ifindex on Linux.
>
> follow the Linux way, and make it a vector of 3 and translate back
> into the 0.0.0.x/8 on BSD.
>
> I prefer the first way, since this is orginally a BSD interface and
> because it's less burdensome
Is there a good reason for linux to split it out? Some ambiguity
resolved or something?
> those who are blissfully unaware of this complexity, as I suspect
> you wish you still were.
Yep :-).
> The code I submitted just puts the two addresses in the two fields;
> someone could spiff it up for ifindex support on Linux if they were so
> inclined.
Be nice to make sure it worked at least.