Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Dec 2007 01:01:58 +0100
From:      Marko Zec <zec@imunes.net>
To:        cvs-src@freebsd.org
Subject:   Re: cvs commit: src/sys/netgraph ng_cisco.c
Message-ID:  <200712010101.59111.zec@imunes.net>
In-Reply-To: <20071130233148.Y53707@maildrop.int.zabbadoz.net>
References:  <200711302327.lAUNRdV9025350@repoman.freebsd.org> <20071130233148.Y53707@maildrop.int.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 01 December 2007 00:34:51 Bjoern A. Zeeb wrote:
> On Fri, 30 Nov 2007, Julian Elischer wrote:
> > julian      2007-11-30 23:27:39 UTC
> >
> >  FreeBSD src repository
> >
> >  Modified files:
> >    sys/netgraph         ng_cisco.c
> >  Log:
> >  Add ipv6 to ng_cisco node. ipv6 wasn't a reality when I wrote it..
>
> It only hit the FreeBSD tree about 1 month earlier than in6.c did;-)
>
> I wonder if that should be #ifdef INET6 or what happens for people
> not haveing INET6 support in but still being able to configure it?

ng_cisco is a pure netgraph node, it only muxes/demuxes data from one 
HDLC to many protocol-specific hooks and vice versa, i.e. it doesn't 
interact with protocol-specific code in the network stack at all - that 
happens in ng_iface to which ng_cisco nodes typically connect to.  
There's no need / place for #ifdef INET6 in ng_cisco.

Marko



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