Home | History | Annotate | Download | only in netstat
History log of /src/usr.bin/netstat/inet6.c
RevisionDateAuthorComments
 1.84  28-Oct-2022  ozaki-r Adjust userland commands for struct inpcb separation

Only kvm users are affected.
 1.83  28-Oct-2022  ozaki-r Adjust userland commands for struct inpcb integration

Only kvm users are affected.
 1.82  21-Sep-2022  msaitoh s/u_quad_t/uint64_t/. No functional change.
 1.81  02-Sep-2022  msaitoh KNF. No functional change.
 1.80  01-Sep-2022  msaitoh KNF. No functional change.
 1.79  30-Oct-2021  nia netstat(1): convert malloc(x * y) and realloc(x * y) to reallocarr
 1.78  10-Sep-2021  rillig usr.bin: remove unnecessary lint comment CONSTCOND

Since 2021-01-31, lint no longer warns about 'do ... while (0)'.

No functional change.
 1.77  28-Aug-2020  ozaki-r netstat: strengthen against kernel changes

netstat uses sysctlbyname to get counter data from the kernel.
sysctlbyname fails with ENOMEM if actual counter data in the kernel is
larger than a passed buffer. netstat just skips showing counters of a
category if sysctlbyname fails, so if we added new counters of the
category to the kernel, nestat shows nothing for the category.

Fortunately sysctlbyname fills data as much as possible even if a passed
buffer is short. So we can allow netstat to show the filled data anyway
if sysctlbyname fails with ENOMEM.

Note that this backcompat mechanism works only if new counters are
appended, and doesn't work if new counters are inserted into the middle
or counters are moved.
 1.76  28-Aug-2020  ozaki-r netstat: support new packet counters
 1.75  06-Aug-2020  knakahara add missing {IP,IP6}_STAT_NOIPSEC to netstat.
 1.74  23-Apr-2020  joerg sockb is only used locally, so move it into the function
 1.73  18-Aug-2019  kamil netstat: Add indirection of symbols to remove clash with sanitizers

Add indirection and symbol renaming under MKSANITIZER for the linked in
version of sysctlbyname, sysctlgetmibinfo and sysctlnametomib.
 1.72  13-May-2019  ozaki-r branches: 1.72.2;
Show the number of packets dropped by pfil
 1.71  03-May-2018  maxv branches: 1.71.2;
Remove now unused tcpip.h includes. Some were already unused before.
 1.70  19-Dec-2017  kre branches: 1.70.2;
Add names of a few more ICMPv6 messages, from RFC6275 (Mobile IPv6)
and RFC4286 (Multicast Router Discovery.) and as shown in the IANA
parameters page available at:
https://www.ietf.org/assignments/icmpv6-parameters/icmpv6-parameters.txt

Also make the array be explicitly 256 entries long, one for each possible
code, which will detect attempts to insert names without deleting the
place holder (and mean a good solid NULL de-ref if too many place holders
are deleted, rather than just random results.)
 1.69  17-Dec-2016  mlelstv branches: 1.69.6;
Print previously missing fields from a TCP6 PCB.
 1.68  08-Feb-2015  christos branches: 1.68.2;
Allocate the right size for pcb blocks.
XXX: pullup-7!
 1.67  07-Feb-2015  christos print the timer flags.
 1.66  23-Nov-2013  christos branches: 1.66.4;
Update for new pcb tailq's.
While here fix ipv6 pcb printing by making tcp6_dump with tcp.
XXX: Merge the inet and the inet6 code. It is silly to need to specify
-p tcp6 to print a tcp6 pcb, we already know what it is.
 1.65  19-Oct-2013  christos use correct function and symbolic constants
 1.64  19-Oct-2013  christos use new scopeid functions
 1.63  18-Oct-2013  christos - avoid pointer gymnastics
- remove unused variables
 1.62  20-Jun-2013  martin Not all pointers are 64bit - use uintptr_t instead of uint64_t.
 1.61  19-Jun-2013  christos Don't use -P as a kmem printer, verify that the address points to a pcb first!
 1.60  01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.59  24-May-2011  spz branches: 1.59.4; 1.59.6; 1.59.10; 1.59.12; 1.59.16;
RA flood mitigation via a limit on accepted routes:
- introduce a limit for the routes accepted via IPv6 Router Advertisement:
a common 2 interface client will have 6, the default limit is 100 and
can be adjusted via sysctl
- report the current number of routes installed via RA via sysctl
- count discarded route additions. Note that one RA message is two routes.
This is at present only across all interfaces even though per-interface
would be more useful, since the per-interface structure complies to RFC2466
- bump kernel version due to the previous change
- adjust netstat to use the new value (with netstat -p icmp6)
 1.58  11-May-2011  dyoung Suppress whitespace at EOL to fix lib/librumphijack/t_tcpip.
 1.57  11-May-2011  drochner use getmicrouptime(9) rather than microtime(9) for TIME_WAIT duration
calculation, because this doesn't get confused by system time changes,
and uses less CPU cycles
reviewed by dyoung
 1.56  04-May-2011  dyoung Don't use type qualifier 'register'.
 1.55  03-May-2011  dyoung Do not display expired or reclaimed vestigial TIME_WAIT entries.
 1.54  03-May-2011  dyoung Reduces the resources demanded by TCP sessions in TIME_WAIT-state using
methods called Vestigial Time-Wait (VTW) and Maximum Segment Lifetime
Truncation (MSLT).

MSLT and VTW were contributed by Coyote Point Systems, Inc.

Even after a TCP session enters the TIME_WAIT state, its corresponding
socket and protocol control blocks (PCBs) stick around until the TCP
Maximum Segment Lifetime (MSL) expires. On a host whose workload
necessarily creates and closes down many TCP sockets, the sockets & PCBs
for TCP sessions in TIME_WAIT state amount to many megabytes of dead
weight in RAM.

Maximum Segment Lifetimes Truncation (MSLT) assigns each TCP session to
a class based on the nearness of the peer. Corresponding to each class
is an MSL, and a session uses the MSL of its class. The classes are
loopback (local host equals remote host), local (local host and remote
host are on the same link/subnet), and remote (local host and remote
host communicate via one or more gateways). Classes corresponding to
nearer peers have lower MSLs by default: 2 seconds for loopback, 10
seconds for local, 60 seconds for remote. Loopback and local sessions
expire more quickly when MSLT is used.

Vestigial Time-Wait (VTW) replaces a TIME_WAIT session's PCB/socket
dead weight with a compact representation of the session, called a
"vestigial PCB". VTW data structures are designed to be very fast and
memory-efficient: for fast insertion and lookup of vestigial PCBs,
the PCBs are stored in a hash table that is designed to minimize the
number of cacheline visits per lookup/insertion. The memory both
for vestigial PCBs and for elements of the PCB hashtable come from
fixed-size pools, and linked data structures exploit this to conserve
memory by representing references with a narrow index/offset from the
start of a pool instead of a pointer. When space for new vestigial PCBs
runs out, VTW makes room by discarding old vestigial PCBs, oldest first.
VTW cooperates with MSLT.

It may help to think of VTW as a "FIN cache" by analogy to the SYN
cache.

A 2.8-GHz Pentium 4 running a test workload that creates TIME_WAIT
sessions as fast as it can is approximately 17% idle when VTW is active
versus 0% idle when VTW is inactive. It has 103 megabytes more free RAM
when VTW is active (approximately 64k vestigial PCBs are created) than
when it is inactive.
 1.53  13-Dec-2010  pooka Add netstat rump client. For now, it always sets -X, i.e. will
use only sysctl and no kvm (implementing /dev/mem for a rump kernel
would probably not be hard, but still a non-zero effort).

Note: since there is absolutely no network activity in a fresh rump
kernel, rump.netstat usually displays exactly nothing when invoked
without parameters. Arguments like -r, -bi, -p icmp etc. produce
more stuff.
 1.52  12-Apr-2009  lukem Fix many WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare).
Fix probable bug with numeric printing of anon ports when using sysctl.
 1.51  22-Feb-2009  dholland Make netstat handle -a properly; that is, don't show unconnected
listener sockets unless -a was given. (It was checking the local
address instead of the remote address for being INADDR_ANY or
equivalent.)

PR 38093 from Dieter Roelants; I adjusted the patch a little.

This needs pullups for both -4 and -5.
 1.50  24-Apr-2008  thorpej branches: 1.50.6; 1.50.8;
Note which things are not available by KVM, and print a nice message
stating so if someone specifically asks for it.
 1.49  15-Apr-2008  thorpej branches: 1.49.2;
Make pim6 stats per-cpu.
 1.48  15-Apr-2008  thorpej Make raw6 stats per-cpu.
 1.47  15-Apr-2008  thorpej Use ANSI function decls throughout.
 1.46  15-Apr-2008  thorpej Make udp6 stats per-cpu.
 1.45  08-Apr-2008  thorpej Change IPv6 stats from a structure to an array of uint64_t's.

Note: This is ABI-compatible with the old ip6stat structure; old netstat
binaries will continue to work properly.
 1.44  08-Apr-2008  thorpej Change ICMP6 stats from a structure to an array of uint64_t's.

Note: This is ABI-compatible with the old icmp6stat structure; old netstat
binaries will continue to work properly.
 1.43  16-Feb-2008  matt Fix more -combine fallout. (mismatched definitions)
 1.42  07-Mar-2007  liamjfoy branches: 1.42.4;
Add new IPv6 Fast Forward statistics
 1.41  17-Jan-2007  hubertf Remove duplicate #includes
From Slava Semushin <slava.semushin@gmail.com>, via private mail
 1.40  22-Sep-2006  elad branches: 1.40.2;
PR/31347: Geoff C. Wing: netstat err message is ambiguous about cause
Applied patch, thanks!
 1.39  31-May-2006  rpaulo Don't print an error if kernel doesn't have INET6 support.
By Jukka Salmi on current-users.
 1.38  28-May-2006  elad Make netstat use sysctl when dumping routing tables/stats.
Heavily based on similar code from Claudio Jeker (at OpenBSD).

While here, fix inet/inet6 sysctl stuff commited previously to
actually work, and some other nits to make netstat more sysctl
friendly.

One step closer to losing setgid kmem on this one...
 1.37  21-May-2006  liamjfoy check if malloc(3) failed

ok joerg@
 1.36  28-Aug-2005  rpaulo branches: 1.36.2;
Use net.inet6.{ip6,udp6,pim6,raw6}.stats for live systems.

Reviewed by Elad Efrat.
 1.35  28-Aug-2005  rpaulo Use net.inet6.tcp6.pcblist, net.inet6.tcp6.stats (not implemented yet) and
net.inet6.icmp6.stats if we are gathering information from a live system.

Reviewed by Elad Efrat.
 1.34  04-Aug-2005  rpaulo Added #include <kvm.h> since netstat.h, which is included too, needs it.
 1.33  13-Feb-2005  atatat print the proper pointer for the pcb address. otherwise, all the udp6
pcb addresses are the same as unrelated udp pcb addresses.
 1.32  16-Nov-2004  itojun NI_WITHSCOPEID was not picked up by IETF standardization process.
 1.31  06-Nov-2003  itojun handle KAME scopeid hack for multicast addr. Matthias Drochner
 1.30  12-Sep-2003  itojun fix PR bin/22739 (netstat -nlv -f inet6 weird)
 1.29  04-Sep-2003  itojun synchronize w/ inpcb/in6pcb change
 1.28  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.27  14-May-2003  itojun use proper #ifdef to determine behavior (__KAME__)
 1.26  22-Mar-2003  jdolecek it's not necessary to limit the service name artificially to 8 characters
in inet*print() - only first 'width' characters of the 'host.service'
string would be printed anyway, so allow full service name if string would fit
 1.25  26-Oct-2002  grant fix typo, from sm@resistor.net in misc/18816.
 1.24  09-Jun-2002  itojun use strchr, not index
 1.23  18-Oct-2001  itojun print rip6stat. sync with kame
 1.22  10-Sep-2001  thorpej Make the PCB address printing look like the IPv4 version.
 1.21  13-Jun-2001  itojun typo
 1.20  28-May-2001  assar add `-s' that prints port numbers symbolically but addresses numerically
 1.19  06-Apr-2001  itojun pedant changes for strcpy/sprintf.
 1.18  20-Mar-2001  itojun add sctp (maybe we should add it to /etc/protocols instead?)
 1.17  07-Feb-2001  itojun during ip6/icmp6 inbound packet processing, do not call log() nor printf() in
normal operation (/var can get filled up by flodding bogus packets).
sysctl net.inet6.icmp6.nd6_debug will turn on diagnostic messages.
(#define ND6_DEBUG will turn it on by default)

improve stats in ND6 code.

lots of synchronziation with kame (including comments and cometic ones).
 1.16  14-Dec-2000  itojun try to lookup /etc/protocols for histogram
 1.15  11-Dec-2000  itojun typo in -s message
 1.14  23-Oct-2000  itojun count path MTU changes.
 1.13  11-Oct-2000  is More format string cleanup by sommerfeld.
 1.12  13-Aug-2000  jhawk Fix netstat -ss handling for a bunch of ISO cases, so that
zero values are not printed.
"tp:" still needs some work, though.
 1.11  13-Jul-2000  itojun do not print m_pulldown statistics. it is too experimental and
belongs to kame tree only (not for *bsd tree).
 1.10  06-Jul-2000  itojun more stats. from kame
 1.9  16-Jun-2000  itojun branches: 1.9.2;
print # of packets filtered by icmp6 rate limitation
 1.8  17-May-2000  itojun branches: 1.8.2;
s/icmp/icmp6/ in message
 1.7  26-Feb-2000  itojun revise IPsec, pfkey, IPv6 multicast and IPv6 statistics. (sync with kame)
 1.6  16-Dec-1999  thorpej Make this compile on the Alpha again.
 1.5  13-Dec-1999  itojun per-interface statistics.
bring in and enable KAME scopeid hack.
lots of cleanups.
(sync with latest KAME)
 1.4  19-Nov-1999  bouyer Change printf formats for 64bit counters.
 1.3  30-Jul-1999  itojun branches: 1.3.4;
do not include netinet/in6_systm.h, which has been empty for a while.
 1.2  06-Jul-1999  itojun add NetBSD RCS ID.
 1.1  01-Jul-1999  itojun make netstat IPv6-ready.
 1.3.4.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8.2.1  23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.9.2.2  18-Oct-2000  tv Pullup usr.bin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.9.2.1  13-Jul-2000  itojun pullup 1.10 -> 1.11 (approved by releng-1-5)
do not print m_pulldown statistics. it is too experimental and
belongs to kame tree only (not for *bsd tree).
 1.36.2.1  19-Jun-2006  chap Sync with head.
 1.40.2.1  31-Mar-2009  bouyer Pull up following revision(s) (requested by dholland in ticket #1292):
usr.bin/netstat/inet.c: revision 1.89
usr.bin/netstat/inet6.c: revision 1.51
usr.bin/netstat/iso.c: revision 1.31
Make netstat handle -a properly; that is, don't show unconnected
listener sockets unless -a was given. (It was checking the local
address instead of the remote address for being INADDR_ANY or
equivalent.)
PR 38093 from Dieter Roelants; I adjusted the patch a little.
 1.42.4.1  23-Mar-2008  matt sync with HEAD
 1.49.2.1  18-May-2008  yamt sync with head.
 1.50.8.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.50.6.2  30-Jul-2013  msaitoh Pull up following revision(s) (requested by christos in ticket #1868):
usr.bin/netstat/main.c: revision 1.86
usr.bin/netstat/netstat.h: revision 1.47
usr.bin/netstat/inet.c: revision 1.102
usr.bin/netstat/inet.c: revision 1.103
usr.bin/netstat/inet6.c: revision 1.61
usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.
 1.50.6.1  26-Mar-2009  snj branches: 1.50.6.1.6; 1.50.6.1.10;
Pull up following revision(s) (requested by dholland in ticket #608):
usr.bin/netstat/inet.c: revision 1.89
usr.bin/netstat/inet6.c: revision 1.51
usr.bin/netstat/iso.c: revision 1.31
Make netstat handle -a properly; that is, don't show unconnected
listener sockets unless -a was given. (It was checking the local
address instead of the remote address for being INADDR_ANY or
equivalent.)
PR 38093 from Dieter Roelants; I adjusted the patch a little.
This needs pullups for both -4 and -5.
 1.50.6.1.10.1  30-Jul-2013  msaitoh Pull up following revision(s) (requested by christos in ticket #1868):
usr.bin/netstat/main.c: revision 1.86
usr.bin/netstat/netstat.h: revision 1.47
usr.bin/netstat/inet.c: revision 1.102
usr.bin/netstat/inet.c: revision 1.103
usr.bin/netstat/inet6.c: revision 1.61
usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.
 1.50.6.1.6.1  30-Jul-2013  msaitoh Pull up following revision(s) (requested by christos in ticket #1868):
usr.bin/netstat/main.c: revision 1.86
usr.bin/netstat/netstat.h: revision 1.47
usr.bin/netstat/inet.c: revision 1.102
usr.bin/netstat/inet.c: revision 1.103
usr.bin/netstat/inet6.c: revision 1.61
usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.
 1.59.16.1  29-Jul-2013  msaitoh Pull up following revision(s) (requested by christos in ticket #912):
usr.bin/netstat/main.c: revision 1.86
usr.bin/netstat/netstat.h: revision 1.47
usr.bin/netstat/inet.c: revision 1.102
usr.bin/netstat/inet.c: revision 1.103
usr.bin/netstat/inet6.c: revision 1.61
usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.
 1.59.12.1  29-Jul-2013  msaitoh Pull up following revision(s) (requested by christos in ticket #912):
usr.bin/netstat/main.c: revision 1.86
usr.bin/netstat/netstat.h: revision 1.47
usr.bin/netstat/inet.c: revision 1.102
usr.bin/netstat/inet.c: revision 1.103
usr.bin/netstat/inet6.c: revision 1.61
usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.
 1.59.10.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.59.10.1  23-Jun-2013  tls resync from head
 1.59.6.2  11-Feb-2015  martin Pull up following revision(s) (requested by christos in ticket #1249):
usr.bin/netstat/inet.c: revision 1.106
usr.bin/netstat/inet6.c: revision 1.68
Allocate the right size for pcb blocks.
 1.59.6.1  29-Jul-2013  msaitoh Pull up following revision(s) (requested by christos in ticket #912):
usr.bin/netstat/main.c: revision 1.86
usr.bin/netstat/netstat.h: revision 1.47
usr.bin/netstat/inet.c: revision 1.102
usr.bin/netstat/inet.c: revision 1.103
usr.bin/netstat/inet6.c: revision 1.61
usr.bin/netstat/inet6.c: revision 1.62
Don't use -P as a kmem printer, verify that the address points to a pcb first!
Not all pointers are 64bit - use uintptr_t instead of uint64_t.
 1.59.4.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.66.4.1  11-Feb-2015  snj Pull up following revision(s) (requested by christos in ticket #503):
usr.bin/netstat/inet.c: revision 1.106
usr.bin/netstat/inet6.c: revision 1.68
Allocate the right size for pcb blocks.
 1.68.2.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.69.6.1  12-Sep-2022  martin Pull up the following, requested by msaitoh in ticket #1762:

usr.bin/netstat/atalk.c 1.18,1.20-1.21
usr.bin/netstat/bpf.c 1.16 via patch
usr.bin/netstat/fast_ipsec.c 1.24 via patch
usr.bin/netstat/if.c 1.97-1.99,1.101-1.104 via patch
usr.bin/netstat/inet.c 1.111,1.115-1.116 via patch
usr.bin/netstat/inet6.c 1.70,1.74-1.75,1.80-1.81 via patch
usr.bin/netstat/main.c 1.100,1.102-1.103
usr.bin/netstat/mbuf.c 1.34-1.35
usr.bin/netstat/mroute.c 1.26-1.27
usr.bin/netstat/mroute6.c 1.16
usr.bin/netstat/netstat.h 1.52-1.53
usr.bin/netstat/pfkey.c 1.4-1.5 via patch
usr.bin/netstat/pfsync.c 1.4-1.5 via patch
usr.bin/netstat/route.c 1.87-1.88
usr.bin/netstat/unix.c 1.36-1.37
usr.bin/netstat/vtw.c 1.11,1.13

- Add names of a few more ICMPv6 messages.
Also make the array be explicitly 256 entries long.
- sprintf() -> snprintf(), and adjust a buffer size to avoid any
potential for overflow.
- Add missing {IP,IP6}_STAT_NOIPSEC to netstat.
- Don't show any of the completely and utterly undocumented VTW info
if the feature isn't enabled.
- Print oqdrops correctly.
- netstat.1: Add various xrefs present in the body to "See Also".
- Limit maximum owner name to appease gcc.
- KNF. Style fixes.
 1.70.2.1  21-May-2018  pgoyette Sync with HEAD
 1.71.2.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.71.2.1  10-Jun-2019  christos Sync with HEAD
 1.72.2.2  12-Sep-2022  martin Pull up the following, requested by msaitoh in ticket #1522:

usr.bin/netstat/atalk.c 1.18,1.20-1.21
usr.bin/netstat/bpf.c 1.16 via patch
usr.bin/netstat/fast_ipsec.c 1.24
usr.bin/netstat/if.c 1.97-1.99,1.101-1.104 via patch
usr.bin/netstat/inet.c 1.111,1.115-1.116 via patch
usr.bin/netstat/inet6.c 1.74-1.75,1.80-1.81 via patch
usr.bin/netstat/main.c 1.100-1.103
usr.bin/netstat/mbuf.c 1.35
usr.bin/netstat/mroute.c 1.26-1.27
usr.bin/netstat/mroute6.c 1.16
usr.bin/netstat/netstat.h 1.52-1.53
usr.bin/netstat/pfkey.c 1.4-1.5 via patch
usr.bin/netstat/pfsync.c 1.4-1.5 via patch
usr.bin/netstat/route.c 1.86-1.88
usr.bin/netstat/unix.c 1.36-1.37
usr.bin/netstat/vtw.c 1.11,1.13

- sprintf() -> snprintf(), and adjust a buffer size to avoid any
potential for overflow.
- Fix netstat -rs to print it correctly.
- Add missing {IP,IP6}_STAT_NOIPSEC to netstat.
- Don't show any of the completely and utterly undocumented VTW info
if the feature isn't enabled.
- Print oqdrops correctly.
- Remove Network ATM soft intr queue reporting, we don't have that
in the kernel anymore.
- netstat.1: Add various xrefs present in the body to "See Also".
- KNF. Style fixes.
 1.72.2.1  19-Aug-2019  martin Pull up following revision(s) (requested by kamil in ticket #94):

usr.bin/netstat/netstat_rumpops.c: revision 1.2
usr.bin/netstat/netstat_hostops.c: revision 1.2
usr.bin/netstat/inet6.c: revision 1.73
usr.bin/netstat/bpf.c: revision 1.14
usr.bin/netstat/Makefile: revision 1.46
usr.bin/netstat/prog_ops.h: revision 1.3
usr.bin/netstat/pfsync.c: revision 1.2
usr.bin/netstat/pfkey.c: revision 1.2
usr.bin/netstat/fast_ipsec.c: revision 1.23
usr.bin/netstat/atalk.c: revision 1.17
usr.bin/netstat/inet.c: revision 1.110

netstat: Add indirection of symbols to remove clash with sanitizers

Add indirection and symbol renaming under MKSANITIZER for the linked in
version of sysctlbyname, sysctlgetmibinfo and sysctlnametomib.

RSS XML Feed