Gleb Smirnoff <gleb...@freebsd.org> wrote
  in <201310150955.r9f9t8pq084...@svn.freebsd.org>:

gl> Author: glebius
gl> Date: Tue Oct 15 09:55:07 2013
gl> New Revision: 256512
gl> URL: http://svnweb.freebsd.org/changeset/base/256512
gl>
gl> Log:
gl>     Rewrite netstat/if.c to use getifaddrs(3) and getifmaddrs(3) instead of
gl>   libkvm digging in kernel memory. This is possible since r231506 made
gl>   getifaddrs(3) to supply if_data for each ifaddr.
gl>
gl>     The pros of this change is that now netstat(1) doesn't know about kernel
gl>   struct ifnet and struct ifaddr. And these structs are about to change
gl>   significantly in head soon. New netstat binary will work well with 10.0
gl>   and any future kernel.
gl>
gl>     The cons is that now it isn't possible to obtain interface statistics
gl>   from a vmcore.

 I think this should be documented in netstat(8) man page.

-- Hiroki

Attachment: pgpNinZNrEzbz.pgp
Description: PGP signature

Reply via email to