<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/netstat/inet.c, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-23T17:43:26+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3d497e17ebd33fe0f58d773e35ab994d750258d6'/>
<id>3d497e17ebd33fe0f58d773e35ab994d750258d6</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/

Similar commit in main:
(cherry picked from commit 1d386b48a555)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/

Similar commit in main:
(cherry picked from commit 1d386b48a555)
</pre>
</div>
</content>
</entry>
<entry>
<title>netstat: Fix typo</title>
<updated>2022-03-04T19:41:55+00:00</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2021-07-02T06:38:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6f9036a6513ef0bd31b40c9d935ae450381d30ea'/>
<id>6f9036a6513ef0bd31b40c9d935ae450381d30ea</id>
<content type='text'>
Correct spelling of "received packers" to "received packets".

(cherry picked from commit c5b8d7b7c14f72a4ad12e610222642c69374dd4a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Correct spelling of "received packers" to "received packets".

(cherry picked from commit c5b8d7b7c14f72a4ad12e610222642c69374dd4a)
</pre>
</div>
</content>
</entry>
<entry>
<title>tcptw: count how many times a tcptw was actually useful</title>
<updated>2022-01-13T21:19:40+00:00</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2022-01-13T21:19:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1e2a0cef6bf10db00f230f33ee14293f5b00e894'/>
<id>1e2a0cef6bf10db00f230f33ee14293f5b00e894</id>
<content type='text'>
This will allow a sysadmin to lower net.inet.tcp.msl and
see how long tcptw are actually useful.

(cherry picked from commit 71d2d5adfe18e80e5f8afeb4f86ef69be1aaad81)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will allow a sysadmin to lower net.inet.tcp.msl and
see how long tcptw are actually useful.

(cherry picked from commit 71d2d5adfe18e80e5f8afeb4f86ef69be1aaad81)
</pre>
</div>
</content>
</entry>
<entry>
<title>netstat: reduce use of historical Internet classes</title>
<updated>2021-12-10T16:27:02+00:00</updated>
<author>
<name>Mike Karels</name>
<email>karels@FreeBSD.org</email>
</author>
<published>2021-10-27T03:39:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2cd55edbb2887c0ceeb10cdbe776a99059fa85fa'/>
<id>2cd55edbb2887c0ceeb10cdbe776a99059fa85fa</id>
<content type='text'>
When attempting to characterize bound addresses, netstat was checking
for host 0 on a (historical) net using inet_lnaof().  Such addresses
are not normally bound, as they would not work, with the exception
of the unspecified address, INADDR_ANY.  Check for that explicitly.
Similarly, don't check bound addresses for a match to a network name.

(cherry picked from commit bd27c71c4573e14916ccd27e545a69606f0a8192)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When attempting to characterize bound addresses, netstat was checking
for host 0 on a (historical) net using inet_lnaof().  Such addresses
are not normally bound, as they would not work, with the exception
of the unspecified address, INADDR_ANY.  Check for that explicitly.
Similarly, don't check bound addresses for a match to a network name.

(cherry picked from commit bd27c71c4573e14916ccd27e545a69606f0a8192)
</pre>
</div>
</content>
</entry>
<entry>
<title>mend</title>
<updated>2021-06-07T09:01:28+00:00</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2021-04-18T14:08:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fa50e98328b48da4fa8dbd97d0a787962cf249f5'/>
<id>fa50e98328b48da4fa8dbd97d0a787962cf249f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Extend netstat to display TCP stack and detailed congestion state</title>
<updated>2020-10-09T10:07:41+00:00</updated>
<author>
<name>Richard Scheffenegger</name>
<email>rscheff@FreeBSD.org</email>
</author>
<published>2020-10-09T10:07:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0e5e35e32239e0aa67726b6ff6fcaa86a79aff56'/>
<id>0e5e35e32239e0aa67726b6ff6fcaa86a79aff56</id>
<content type='text'>
Adding the "-c" option used to show detailed per-connection
congestion control state for TCP sessions.

This is one summary patch, which adds the relevant variables into
xtcpcb. As previous "spare" space is used, these changes are ABI
compatible.

Reviewed by:	tuexen
MFC after:	2 weeks
Sponsored by:	NetApp, Inc.
Differential Revision:	https://reviews.freebsd.org/D26518
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adding the "-c" option used to show detailed per-connection
congestion control state for TCP sessions.

This is one summary patch, which adds the relevant variables into
xtcpcb. As previous "spare" space is used, these changes are ABI
compatible.

Reviewed by:	tuexen
MFC after:	2 weeks
Sponsored by:	NetApp, Inc.
Differential Revision:	https://reviews.freebsd.org/D26518
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a -C option to netstat to display the congestion control for</title>
<updated>2020-09-13T09:14:32+00:00</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2020-09-13T09:14:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b98a21f64ab05014988abf7f375fceb61b5cd2e6'/>
<id>b98a21f64ab05014988abf7f375fceb61b5cd2e6</id>
<content type='text'>
TCP connections.

Reviewed by:		rscheff
MFC after:		1 week
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D26414
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TCP connections.

Reviewed by:		rscheff
MFC after:		1 week
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D26414
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix an issue of net.inet.igmp.stats handler.</title>
<updated>2020-03-07T08:41:10+00:00</updated>
<author>
<name>Hiroki Sato</name>
<email>hrs@FreeBSD.org</email>
</author>
<published>2020-03-07T08:41:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d726e6331b4047efb3737c0e3ecdd13b900df2e8'/>
<id>d726e6331b4047efb3737c0e3ecdd13b900df2e8</id>
<content type='text'>
The header of (struct igmpstat) could be cleared by sysctl(3).
This can be reproduced by "netstat -s -z -p igmp".

PR:	244584
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The header of (struct igmpstat) could be cleared by sysctl(3).
This can be reproduced by "netstat -s -z -p igmp".

PR:	244584
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>netstat: igmp stats, error on unexpected information, not only warn</title>
<updated>2019-11-12T13:57:17+00:00</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2019-11-12T13:57:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4df8c94283e0981885af288035c1eab720a8476a'/>
<id>4df8c94283e0981885af288035c1eab720a8476a</id>
<content type='text'>
The igmp stats tend to print two lines of warning for an unexpected
version and length.  Despite an invalid version and struct size it
continues to try to do something with the data.  Do not try to parse
the remainder of the struct and error on warning.

Note the underlying issue of the data not being available properly
is still there and needs to be fixed seperately.

Reported by:	test cases, lwhsu
MFC after:	3 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The igmp stats tend to print two lines of warning for an unexpected
version and length.  Despite an invalid version and struct size it
continues to try to do something with the data.  Do not try to parse
the remainder of the struct and error on warning.

Note the underlying issue of the data not being available properly
is still there and needs to be fixed seperately.

Reported by:	test cases, lwhsu
MFC after:	3 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Restore description of packets dropped due to full reassembly queue.</title>
<updated>2019-10-03T18:24:41+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2019-10-03T18:24:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fbf0f3106cb21840751022533b4a5c6752792004'/>
<id>fbf0f3106cb21840751022533b4a5c6752792004</id>
<content type='text'>
r265408 renamed tcps_rcvmemdrop to tcps_rcvreassfull and gave it a more
specific description.  r279122 (libxo-ification) reverted that change.
This commit brings it back, but with a small tweak to the description.

MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
r265408 renamed tcps_rcvmemdrop to tcps_rcvreassfull and gave it a more
specific description.  r279122 (libxo-ification) reverted that change.
This commit brings it back, but with a small tweak to the description.

MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
</feed>
