Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2003 02:33:44 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Jonathan Lemon <jlemon@flugsvamp.com>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/net if_tun.c
Message-ID:  <20030326023344.26c116e8.brian@Awfulhak.org>
In-Reply-To: <20030308113250.H61787@flugsvamp.com>
References:  <200303081626.h28GQZjZ094534@repoman.freebsd.org> <20030309014439Q.matusita@jp.FreeBSD.org> <20030308110805.G61787@flugsvamp.com> <ygek7f993b8.wl%ume@mahoroba.org> <20030308113250.H61787@flugsvamp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 8 Mar 2003 11:32:50 -0600, Jonathan Lemon wrote:
> On Sun, Mar 09, 2003 at 02:27:23AM +0900, Hajimu UMEMOTO wrote:
> > Hi,
> > 
> > >>>>> On Sat, 8 Mar 2003 11:08:05 -0600
> > >>>>> Jonathan Lemon <jlemon@flugsvamp.com> said:
> > 
> > jlemon> On Sun, Mar 09, 2003 at 01:44:39AM +0900, Makoto Matsushita wrote:
> > > 
> > > Just a question.
> > > 
> > > jlemon>   Modified files:
> > > jlemon>     sys/net              if_tun.c 
> > > jlemon>   Log:
> > > jlemon>   The tun driver is INET only.
> > > 
> > > Doesn't this change disable IPv6 support of ppp(8)?
> > 
> > jlemon> Perhaps I goofed, but parts of the code (like tuninit()) certainly
> > jlemon> seem to indicate that the driver is already INET-only.
> > 
> > The code you mentioned has precondition.  Can ppp(8) support IPv6 with
> > any obstruction for IPv6 in if_tun?
> 
> I'm not sure.  However, I've backed the change out, and the current
> level of support should be identical to the historic behavior.

FWIW if_tun does support IPv6 -- it's just abstracted a bit so that we can
build it into a module without knowing in advance whether the kernel has
IPv6 support built in.

tuninit() just *looks* IPv4-only because it sets up a dstaddr for IPv4
configurations, where IPv6 just uses a prefixlen of 128.

Cheers.

> -- 
> Jonathan
> 


-- 
Brian <brian@Awfulhak.org>                       <brian.somers@sun.com>
      <http://www.Awfulhak.org>;                <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour !       <brian@[uk.]OpenBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030326023344.26c116e8.brian>