On 10/9/07, Cathy Zhou <[EMAIL PROTECTED]> wrote:
> >
> > Today if I'm given a network interface name of "bge0", the most
> > correct way to ask kstat about it is to use a call like this:
> >
> > kstat_lookup(kc, "bge", 0, "bge0")
> >
> Note that this would still work (if vanity naming is not used), as we kept
> the "legacy" kstats.
>
> The things won't work is that if you renamed bge0 to net0, and tries to
> lookup its kstat using kstat_lookup(kc, "net", 0, "net0").

[Sorry, catching up.]

So, if a user renames bge0 to net0, what kstats exist?

Does bge:0:bge0 exist? Does bge:0:net0 exist?

If the kstat names change, does the accumulated data transfer to
the new kstat? How can I tell that a kstat has changed name?

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to