Subject: Re: net stats.
To: None <>
From: None <>
List: current-users
Date: 10/15/1999 05:28:15
>>>In the netstat outpur below, the Ibytes and Obytes for both address
>>>families are the same. Is this a bug, something not yet implemented
>>>or do I miss some option in my kernel to get it to discriminate
>>>between address families?
>>	I believe there's no code for per-AF, per-IF stats.  Ibytes and Obytes
>>	are purely per-if stats (not per-AF).
>	I was wrong.  NetBSD has struct ifaddr_data (sys/net/if.h) which does
>	per-ifaddr stats.  I'll be adding some support for this.

	Sorry again, I was right.  per-ifaddr stats are never used
	(IFA_STATS never defined).  code fragment in ip_output() will panic
	the kernel as it chases dangling pointer.