OpenBSD CVS

CVS log for src/usr.bin/netstat/show.c


[BACK] Up to [local] / src / usr.bin / netstat

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.60 / (download) - annotate - [select for diffs], Wed Nov 9 18:00:02 2022 UTC (18 months, 1 week ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.59: +5 -4 lines
Diff to previous 1.59 (colored)

ndp, route, netstat: adjust ipv6 address width

It has been annoying me for too long that fully specififed GUAs
(2001:0db8:3333:4444:5555:6666:7777:8888) mess up alignment.

systat(1)'s netstat is the only view that has a big enough limit and thus
never misaligns.

Unify ndp(8), route(8) and netstat(1) views to always align nicely.

Feedback OK claudio

Revision 1.59 / (download) - annotate - [select for diffs], Sun Jun 19 13:59:22 2022 UTC (23 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.58: +1 -2 lines
Diff to previous 1.58 (colored)

There is no reason to print the RTF_DONE bit in the routing table output.
It is now set on all routes (and before it was never set).
OK tb@ anton@

Revision 1.58 / (download) - annotate - [select for diffs], Sun Jan 24 08:58:50 2021 UTC (3 years, 3 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.57: +5 -1 lines
Diff to previous 1.57 (colored)

Add missing __KAME__ markers.
OK claudio

Revision 1.57 / (download) - annotate - [select for diffs], Sat Jan 16 17:42:52 2021 UTC (3 years, 4 months ago) by claudio
Branch: MAIN
Changes since 1.56: +4 -3 lines
Diff to previous 1.56 (colored)

Unle recover the scope_id from a possible embedded scope if the scope_id
is not initalized. Do not reset the scope_id if it was already set.
OK bluhm@ florian@

Revision 1.56 / (download) - annotate - [select for diffs], Tue Sep 15 20:28:27 2020 UTC (3 years, 8 months ago) by pamela
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.55: +10 -18 lines
Diff to previous 1.55 (colored)

"Route show" and "netstat -r" provide formatting for routing tables with
sufficient space to display v4 addresses cleanly, but which truncate v6
addresses. The -n flag on each already provides additional column width
for IPv6 addresses. Make this formatting the default.

OK phessler kn

Revision 1.55 / (download) - annotate - [select for diffs], Fri Aug 31 15:18:02 2018 UTC (5 years, 8 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.54: +1 -3 lines
Diff to previous 1.54 (colored)

Dont print "default" for "0.0.0.0" if it is a host route.
diff from asou at soum.co.jp

ok claudio kn

Revision 1.54 / (download) - annotate - [select for diffs], Mon Jun 4 19:17:37 2018 UTC (5 years, 11 months ago) by kn
Branch: MAIN
Changes since 1.53: +1 -3 lines
Diff to previous 1.53 (colored)

Zap unused sockaddr.

OK bluhm deraadt jca

Revision 1.53 / (download) - annotate - [select for diffs], Sat Jan 21 11:32:04 2017 UTC (7 years, 3 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.52: +3 -4 lines
Diff to previous 1.52 (colored)

The POSIX APIs that that sockaddrs all ignore the s*_len field in the
incoming socket, so userspace doesn't need to set it unless it has its
own reasons for tracking the size along with the sockaddr.

ok phessler@ deraadt@ florian@

Revision 1.52 / (download) - annotate - [select for diffs], Sat Sep 3 14:23:14 2016 UTC (7 years, 8 months ago) by phessler
Branch: MAIN
Changes since 1.51: +2 -1 lines
Diff to previous 1.51 (colored)

Add userland parts for BFD.  Can't work if you don't have it enabled in
the kernel.

OK claudio@, henning@

Revision 1.51 / (download) - annotate - [select for diffs], Thu Sep 1 09:41:34 2016 UTC (7 years, 8 months ago) by bluhm
Branch: MAIN
Changes since 1.50: +7 -5 lines
Diff to previous 1.50 (colored)

Display all route flags in "route get", "route show" and "netstat -r"
output.  Sort them according to the RTF_... defines in route.h.
OK claudio@ mpi@

Revision 1.50 / (download) - annotate - [select for diffs], Wed Jul 13 08:40:46 2016 UTC (7 years, 10 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

Introduce RTF_MULTICAST and flag corresponding IPv6 routes as such
instead of abusing RTF_CLONING.

Fix a leak reporeted by Aaron Riekenberg on misc@, ok sthen@

Revision 1.49 / (download) - annotate - [select for diffs], Fri Sep 11 20:10:26 2015 UTC (8 years, 8 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.48: +1 -2 lines
Diff to previous 1.48 (colored)

Remove XRESOLVE support.

dlg@ is sad because we won't be able to implement arpd(8) the way
people intended it in the 80s.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Apr 27 09:54:04 2015 UTC (9 years ago) by benno
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.47: +1 -3 lines
Diff to previous 1.47 (colored)

sync with rev 1.99 of sbin/route/show.c
requested by claudio@ and mpi@

Revision 1.47 / (download) - annotate - [select for diffs], Thu Feb 12 23:31:12 2015 UTC (9 years, 3 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.46: +2 -3 lines
Diff to previous 1.46 (colored)

Free the buffers used for the sysctl. OK sthen@

Revision 1.46 / (download) - annotate - [select for diffs], Mon Feb 9 12:25:03 2015 UTC (9 years, 3 months ago) by claudio
Branch: MAIN
Changes since 1.45: +27 -16 lines
Diff to previous 1.45 (colored)

Get rid of another KVM reader and convert the multicast output to use
the new sysctls. Looks good deraadt@

Revision 1.45 / (download) - annotate - [select for diffs], Fri Feb 6 03:22:00 2015 UTC (9 years, 3 months ago) by reyk
Branch: MAIN
Changes since 1.44: +1 -232 lines
Diff to previous 1.44 (colored)

Remove route/netstat -f encap in favor of ipsecctl -s flow.

OK deraadt@

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:10 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.43 / (download) - annotate - [select for diffs], Thu Oct 23 16:45:57 2014 UTC (9 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.42: +3 -11 lines
Diff to previous 1.42 (colored)

Remove networks(5) support.
In particular, do not call getnetbyaddr(3), use gethostbyaddr(3) only.
Do not call setnetent(3) and the dummy sethostent(3).
OK henning@; and deraadt@ agrees with the general direction.

Revision 1.42 / (download) - annotate - [select for diffs], Thu May 8 09:28:08 2014 UTC (10 years ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.41: +3 -1 lines
Diff to previous 1.41 (colored)

Introduce two new route flags: RTF_LOCAL and RTF_BROADCAST.

Nothing use them for the moment, but here is the plan:

Since a route lookup is always necessary to output a packet it makes
sense to store all the information regarding how the packet should be
sent in the routing entry.  This will save us some expensive lookups
on address lists.

But once we have all the information about our addresses in the routing
table, we can even use it in the input path with the hope that the number
of lookups in the forwarding case can be reduce to one.

ok henning@, chris@

Revision 1.41 / (download) - annotate - [select for diffs], Thu Apr 17 15:36:53 2014 UTC (10 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.40: +6 -9 lines
Diff to previous 1.40 (colored)

Sync show.c with the route version. Make the two files more similar but
still not identical. OK sthen@ mpi@ jca@

Revision 1.40 / (download) - annotate - [select for diffs], Thu Nov 21 17:32:13 2013 UTC (10 years, 5 months ago) by mikeb
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored)

split kernel parts of the if.h into a separate header file if_var.h
which allows us to modify ifnet structure in a relatively safe way;
discussed with deraadt, ok mpi

Revision 1.39 / (download) - annotate - [select for diffs], Wed Nov 13 21:19:30 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

handle lack of proto

Revision 1.38 / (download) - annotate - [select for diffs], Wed Mar 20 15:23:37 2013 UTC (11 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.37: +26 -16 lines
Diff to previous 1.37 (colored)

As non-root, whenever netstat is about to print out a kernel pointer...
print 0x0 instead.  Hides a lot stuff people don't need to see.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Jan 16 10:53:14 2013 UTC (11 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.36: +1 -2 lines
Diff to previous 1.36 (colored)

sys/mbuf.h not needed

Revision 1.36 / (download) - annotate - [select for diffs], Sat Mar 17 10:16:41 2012 UTC (12 years, 2 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.35: +1 -2 lines
Diff to previous 1.35 (colored)

remove IP_JUMBO, SO_JUMBO, and RTF_JUMBO.

no objection from mcbride@ krw@ markus@ deraadt@

Revision 1.35 / (download) - annotate - [select for diffs], Tue Nov 1 17:30:04 2011 UTC (12 years, 6 months ago) by mikeb
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.34: +4 -7 lines
Diff to previous 1.34 (colored)

Do some cleanup and improve the manpage. From Andreas Bartelt; ok henning, jmc

Revision 1.34 / (download) - annotate - [select for diffs], Mon Oct 11 12:33:36 2010 UTC (13 years, 7 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.33: +10 -7 lines
Diff to previous 1.33 (colored)

Do similar changes to netstat as done to route(8). Try to show the
most expected rtable when doing a netstat -rn.
OK henning@

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jul 30 12:55:12 2010 UTC (13 years, 9 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Do not print "Label" caption for "netstat -rvA".
ok markus@

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jul 29 16:35:40 2010 UTC (13 years, 9 months ago) by bluhm
Branch: MAIN
Changes since 1.31: +9 -3 lines
Diff to previous 1.31 (colored)

Print a column with the routing label if "netstat -vr" or "route
-v show" are called with the -v switch.
ok markus@

Revision 1.31 / (download) - annotate - [select for diffs], Wed May 19 13:07:15 2010 UTC (14 years ago) by chl
Branch: MAIN
Changes since 1.30: +1 -3 lines
Diff to previous 1.30 (colored)

remove unused variables

ok claudio@ michele@

Revision 1.30 / (download) - annotate - [select for diffs], Tue Mar 23 16:26:01 2010 UTC (14 years, 2 months ago) by claudio
Branch: MAIN
Changes since 1.29: +24 -40 lines
Diff to previous 1.29 (colored)

Sync with show.c of route(8). OK michele@

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jan 14 00:02:08 2010 UTC (14 years, 4 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

Similar fix for default route printing as done in netstat. Make sure mask
is 0 when sa_len is 0.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jan 11 08:28:44 2010 UTC (14 years, 4 months ago) by dlg
Branch: MAIN
Changes since 1.27: +1 -1 lines
Diff to previous 1.27 (colored)

"default" routes need a mask of 0 too.

from and ok claudio@

Revision 1.27 / (download) - annotate - [select for diffs], Fri Aug 7 09:09:31 2009 UTC (14 years, 9 months ago) by martynas
Branch: MAIN
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

if buffers overlap;  result will be undefined.  ok claudio@, michele@

Revision 1.26 / (download) - annotate - [select for diffs], Wed Aug 5 03:26:59 2009 UTC (14 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

missing break

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jun 27 11:35:57 2009 UTC (14 years, 10 months ago) by michele
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

Mark MPLS routes with T (tagged) in route output.

suggested by dlg@, ok claudio@, laurent@, blambert@

Revision 1.24 / (download) - annotate - [select for diffs], Sun May 31 18:03:42 2009 UTC (14 years, 11 months ago) by claudio
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

There is no need to mask priority with RTP_MASK because it is already done
by the kernel.

Revision 1.23 / (download) - annotate - [select for diffs], Sat May 23 18:28:45 2009 UTC (14 years, 11 months ago) by chris
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

typo

Revision 1.22 / (download) - annotate - [select for diffs], Sat May 23 17:03:06 2009 UTC (14 years, 11 months ago) by chris
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

missed rtm_hdrlen conversion in two places

ok claudio@

Revision 1.21 / (download) - annotate - [select for diffs], Tue Apr 28 12:09:36 2009 UTC (15 years ago) by michele
Branch: MAIN
Changes since 1.20: +4 -2 lines
Diff to previous 1.20 (colored)

Sync with kernel changes.
Add support to route(8) for a new dummy operation to allow packets coming in
with a particular label to leave the MPLS cloud and join ipv4/ipv6 stack.

ok claudio@ laurent@

Revision 1.20 / (download) - annotate - [select for diffs], Fri Feb 6 19:58:31 2009 UTC (15 years, 3 months ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.19: +1 -3 lines
Diff to previous 1.19 (colored)

remove unused variables.

ok henning@ michele@

Revision 1.19 / (download) - annotate - [select for diffs], Tue Feb 3 16:44:15 2009 UTC (15 years, 3 months ago) by michele
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Reflect MPLS kernel changes. Operations are stored now in rt_mpls field.

ok claudio@ laurent@

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jan 26 17:28:09 2009 UTC (15 years, 3 months ago) by claudio
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

Again use P to mark multipath routes in route output. OK henning@

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jan 8 12:52:36 2009 UTC (15 years, 4 months ago) by michele
Branch: MAIN
Changes since 1.16: +43 -22 lines
Diff to previous 1.16 (colored)

Reflect MPLS kernel changes.

ok claudio@

Revision 1.16 / (download) - annotate - [select for diffs], Mon Dec 15 21:18:37 2008 UTC (15 years, 5 months ago) by michele
Branch: MAIN
Changes since 1.15: +18 -16 lines
Diff to previous 1.15 (colored)

Unbreak netstat, reflecting kernel changes.
Now it shows MPLS informations correctly.

OK claudio@

Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 15 20:16:20 2008 UTC (15 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +7 -1 lines
Diff to previous 1.14 (colored)

work around tree breakage by mpls people

Revision 1.14 / (download) - annotate - [select for diffs], Mon Sep 15 20:13:10 2008 UTC (15 years, 8 months ago) by claudio
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Similar to route(8) change mask rtm->rtm_priority with RTP_MASK to show
correct values. OK henning@

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 8 07:19:42 2008 UTC (16 years ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.12: +100 -17 lines
Diff to previous 1.12 (colored)

Sync netstat show.c with route show.c to gain mpls support and to show the
routing priority. hai norby@

Revision 1.12 / (download) - annotate - [select for diffs], Fri Dec 14 18:35:46 2007 UTC (16 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

remove 21 nlist variables, and instead use sysctl to query the kernel
turn on INET6 the default (remove the #ifdef's)
ok claudio reyk

Revision 1.11 / (download) - annotate - [select for diffs], Wed Sep 5 20:29:05 2007 UTC (16 years, 8 months ago) by claudio
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Correct the format strings after the recent rt_metrics changes.
rmx_pksent is not u_int64_t all others are just u_int.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jul 25 11:50:47 2007 UTC (16 years, 9 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.9: +7 -6 lines
Diff to previous 1.9 (colored)

Make it possible to show alternate routing tables in netstat. This mostly
comes from route(8) which already had the -T option.  OK henning@

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jul 24 20:36:34 2007 UTC (16 years, 9 months ago) by claudio
Branch: MAIN
Changes since 1.8: +6 -6 lines
Diff to previous 1.8 (colored)

Bring back a few things from route/show.c which I like better.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jul 21 15:43:42 2007 UTC (16 years, 10 months ago) by claudio
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

Similar to sbin/route/show.c:
Check the rtm_version before trying to print an entry. If the rtmsg has a
different version skip it and don't try to print it. Solves a SIGSEGV I have
triggered with one of my scarier diffs.  OK henning@

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 19 05:37:10 2007 UTC (16 years, 11 months ago) by ray
Branch: MAIN
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored)

Remove unused variable.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jun 4 12:20:24 2007 UTC (16 years, 11 months ago) by henning
Branch: MAIN
Changes since 1.5: +1 -61 lines
Diff to previous 1.5 (colored)

remove IPX support, agreed by many

Revision 1.5 / (download) - annotate - [select for diffs], Fri Mar 23 10:59:38 2007 UTC (17 years, 2 months ago) by pyr
Branch: MAIN
Changes since 1.4: +5 -2 lines
Diff to previous 1.4 (colored)

Add a new flag -F to netstat restricting route display in conjuction
with -r to routes in the same address family as the destination.
ok henning@, claudio@

Revision 1.4 / (download) - annotate - [select for diffs], Fri Dec 29 10:09:09 2006 UTC (17 years, 4 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Netstat has the same issue problem as route when printing a default inet6
route.  Need to typecast the sizeof() to int so that the compare works.
Having a negativ lim is OK.  Reported by Björn Ketelaars. OK deraadt@

Revision 1.3 / (download) - annotate - [select for diffs], Fri Nov 17 01:11:23 2006 UTC (17 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.2: +5 -3 lines
Diff to previous 1.2 (colored)

change semantics of ff01::/16 to interface local multicast
(to sync up with more recent IPv6 spec)

ok from: deraadt mcbride

Revision 1.2 / (download) - annotate - [select for diffs], Tue May 30 19:42:58 2006 UTC (17 years, 11 months ago) by todd
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.1: +7 -7 lines
Diff to previous 1.1 (colored)

this fixes a crash observed by Naddy on amd64, and permits the src/dst ip's to
be visible .. when IPv6 sa flows are present
ok claudio@

Revision 1.1 / (download) - annotate - [select for diffs], Sat May 27 19:16:37 2006 UTC (17 years, 11 months ago) by claudio
Branch: MAIN

Moving netstat from kvm snooping to retrieving the routing tables via
sysctl. Most code is stolen from route -- which was stolen from netstat.
kvm snooping code is still in and useable. Put it in deraadt@ henning@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.