Gleb Smirnoff <[email protected]> wrote
  in <[email protected]>:

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: pgpJ69ENJiXsx.pgp
Description: PGP signature

Reply via email to