cvs commit: src/sys/netgraph ng_cisco.c

Marko Zec zec at imunes.net
Fri Nov 30 16:16:40 PST 2007


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


More information about the cvs-src mailing list