netdev
[Top] [All Lists]

Re: [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same

To: davem@xxxxxxxxxx (David S. Miller)
Subject: Re: [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same
From: kuznet@xxxxxxxxxxxxx
Date: Thu, 3 Oct 2002 17:06:48 +0400 (MSD)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20021003.012904.75241727.davem@xxxxxxxxxx> from "David S. Miller" at Oct 3, 2 12:45:01 pm
Sender: netdev-bounce@xxxxxxxxxxx
Hello!

> For example, this IPV6_V6ONLY socket option is flawed.  What we
> really need is a generic socket option which says "my family only"
> 
> There is nothing ipv6 specific about such a socket attribute.
> 
> So please, create instead "SO_ONEFAMILY" or similar generic
> socket option.

No, really! __Sharing__ of port space between IPv4 and IPv6 was mad
idea. It cannot generalized to other protocol families.

So, IPV6_V6ONLY is really unique for IPv6. Well, actually, it could
be negated: be default and the option would be called
IPV6_SHARE_THIS_PORT_TO_IPV4.

Alexey


<Prev in Thread] Current Thread [Next in Thread>