Date: Wed, 9 Jan 2002 14:29:32 +0200 From: Ruslan Ermilov <ru@FreeBSD.ORG> To: Josef Karthauser <joe@tao.org.uk> Cc: Yusuf Goolamabbas <yusufg@outblaze.com>, freebsd-net@FreeBSD.ORG Subject: Re: Is there a way to clear stats from netstat -i Message-ID: <20020109142932.K41379@sunbay.com> In-Reply-To: <20011228133044.C485@tao.org.uk> References: <20011211123504.A5909@outblaze.com> <20011219182139.A9340@tao.org.uk> <20011220151038.G6625@sunbay.com> <20011228133044.C485@tao.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 28, 2001 at 01:30:44PM +0000, Josef Karthauser wrote: > On Thu, Dec 20, 2001 at 03:10:38PM +0200, Ruslan Ermilov wrote: > > On Wed, Dec 19, 2001 at 06:21:39PM +0000, Josef Karthauser wrote: > > > Hi Ruslan, > > > > > > You've been near this code recently. Do you have any suggestions for > > > how this may work? > > > > > This would require a new SIOCCIFDATA ioctl in group 'i'. > > What's group 'i'? > _IO*()'s macro first argument. See <sys/sockio.h> for details. 's' refers to socket level ioctls, 'r' to routing ioctls, and 'i' to interface ioctls. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020109142932.K41379>