Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2013 10:45:12 -0800
From:      John-Mark Gurney <jmg@funkthat.com>
To:        "Alexander V. Chernikov" <melifaro@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r259562 - head/usr.bin/netstat
Message-ID:  <20131218184512.GM99167@funkthat.com>
In-Reply-To: <201312181825.rBIIPR25014515@svn.freebsd.org>
References:  <201312181825.rBIIPR25014515@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander V. Chernikov wrote this message on Wed, Dec 18, 2013 at 18:25 +0000:
> Author: melifaro
> Date: Wed Dec 18 18:25:27 2013
> New Revision: 259562
> URL: http://svnweb.freebsd.org/changeset/base/259562
> 
> Log:
>   Switch netstat -rn to use standard API for retrieving list of routes
>   instead of peeking inside in-kernel radix via kget.
>   This permits us to change kernel structures without breaking userland.
>   Additionally, this change provide more reliable and faster output.
>   
>   `Refs` and `Use` fields available in IPv4 by default (and via -W
>   for other families) were removed. `Refs` is radix-specific thing
>   which is not informative for users. `Use` field value is handy sometimes,
>   but a) current API does not support it and b) I'm not sure we will
>   support per-rte pcpu counters in near future.
>   
>   Old method of retrieving data is still supported (either by defining
>   NewTree=0 or running netstat with -A). However, Refs/Use fields are
>   hidden.
>   
>   Sponsored by:	Yandex LLC
>   MFC after:	4 weeks
>   PR:		kern/167204

How will this impact the use of netstat -rn -M vmcore -N kernel ?  Will
this change make it not usable, or will you still automatically use
it when they are specified?

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131218184512.GM99167>