Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/net



On Fri, Aug 14, 2009 at 01:59:57PM -0500, David Young wrote:
> On Fri, Aug 14, 2009 at 08:16:05PM +0200, Manuel Bouyer wrote:
> > On Fri, Aug 14, 2009 at 12:48:13PM -0500, David Young wrote:
> > > > does it work for xvif interfaces?  cf. PR/35074
> > > 
> > > Probably not.  Thanks for bringing this case to my attention.
> > > 
> > > I could change illegal characters in if_xname to dashes or to
> > > underscores in the sysctl node name.  Or I could name the node after the
> > > if_index instead of after the if_xname, if the if_xname contains illegal
> > > characters.  I guess that I like the latter idea better.  What do you
> > > think?
> > 
> > How do you match if_xname to if_index if you use if_index for
> > the sysctl node name ?
> 
> I was thinking about that, too.  I could add a 'name' node, too:
> 
> net.interfaces.3.name=xvif0.0
> net.interfaces.3.sndq.maxlen=...

sure, that would work.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index