<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/netstat, branch release/7.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2008-02-24T05:45:17+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2008-02-24T05:45:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a9c219fa3cec18ef9f30edec6fa106bf0e2d423d'/>
<id>a9c219fa3cec18ef9f30edec6fa106bf0e2d423d</id>
<content type='text'>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</pre>
</div>
</content>
</entry>
<entry>
<title> Fix spelling error in netstat output for netstat -s</title>
<updated>2007-10-29T12:50:28+00:00</updated>
<author>
<name>Randall Stewart</name>
<email>rrs@FreeBSD.org</email>
</author>
<published>2007-10-29T12:50:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5aaa6872b4070900541468dd30dcdd7e107d6c79'/>
<id>5aaa6872b4070900541468dd30dcdd7e107d6c79</id>
<content type='text'>
PR:		115641
Approved by:	re@freeBSD.org(Ken Smith)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		115641
Approved by:	re@freeBSD.org(Ken Smith)
</pre>
</div>
</content>
</entry>
<entry>
<title>- Netstat warning removal for 64 bit aware platforms.</title>
<updated>2007-09-09T11:03:56+00:00</updated>
<author>
<name>Randall Stewart</name>
<email>rrs@FreeBSD.org</email>
</author>
<published>2007-09-09T11:03:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a3a60860c82b854af51d9f97e1a7fd53b4e28f1e'/>
<id>a3a60860c82b854af51d9f97e1a7fd53b4e28f1e</id>
<content type='text'>
Approved by:	re@freebsd.org (B Mah)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by:	re@freebsd.org (B Mah)
</pre>
</div>
</content>
</entry>
<entry>
<title>- Fix typo in netstat's display of Nagle algorithm - refer to the RFC.</title>
<updated>2007-08-24T00:35:18+00:00</updated>
<author>
<name>Randall Stewart</name>
<email>rrs@FreeBSD.org</email>
</author>
<published>2007-08-24T00:35:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d37c5193242c438d79804716dbebbe2e89005f2d'/>
<id>d37c5193242c438d79804716dbebbe2e89005f2d</id>
<content type='text'>
Submitted by:	bruce@cran.org.uk
Approved by:	re@freebsd.org (Bruce Mah)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	bruce@cran.org.uk
Approved by:	re@freebsd.org (Bruce Mah)
</pre>
</div>
</content>
</entry>
<entry>
<title>Make tcpstates[] static, and make sure TCPSTATES is defined before</title>
<updated>2007-07-30T11:06:42+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2007-07-30T11:06:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=218cbbea9a4ff5953d6c1b87438a876388b5a181'/>
<id>218cbbea9a4ff5953d6c1b87438a876388b5a181</id>
<content type='text'>
&lt;netinet/tcp_fsm.h&gt; is included into any compilation unit that needs
tcpstates[].  Also remove incorrect extern declarations and TCPDEBUG
conditionals.  This allows kernels both with and without TCPDEBUG to
build, and unbreaks the tinderbox.

Approved by:	re (rwatson)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
&lt;netinet/tcp_fsm.h&gt; is included into any compilation unit that needs
tcpstates[].  Also remove incorrect extern declarations and TCPDEBUG
conditionals.  This allows kernels both with and without TCPDEBUG to
build, and unbreaks the tinderbox.

Approved by:	re (rwatson)
</pre>
</div>
</content>
</entry>
<entry>
<title>Bah, fix a cosmetic nit and remove a debugging aid missed in the previous</title>
<updated>2007-07-16T18:13:12+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2007-07-16T18:13:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=55fd53e237087793de39914acf4fd3c801e2cd8c'/>
<id>55fd53e237087793de39914acf4fd3c801e2cd8c</id>
<content type='text'>
fixes for netstat -M.

Pointy hat to:	jhb
Approved by:	re (kensmith)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes for netstat -M.

Pointy hat to:	jhb
Approved by:	re (kensmith)
</pre>
</div>
</content>
</entry>
<entry>
<title>Restore netstat -M functionality for most statistics on core dumps.  In</title>
<updated>2007-07-16T17:15:55+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2007-07-16T17:15:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=feda1a4372d5e340da97042375dfb783dea52eda'/>
<id>feda1a4372d5e340da97042375dfb783dea52eda</id>
<content type='text'>
general, when support was added to netstat for fetching data using sysctl,
no provision was left for fetching equivalent data from a core dump, and
in fact, netstat would _always_ fetch data from the live kernel using
sysctl even when -M was specified resulting in the user believing they
were getting data from coredumps when they actually weren't.  Some specific
changes:
- Add a global 'live' variable that is true if netstat is running against
  the live kernel and false if -M has been specified.
- Stop abusing the sysctl flag in the protocol tables to hold the protocol
  number.  Instead, the protocol is now its own field in the tables, and
  it is passed as a separate parameter to the PCB and stat routines rather
  than overloading the KVM offset parameter.
- Don't run PCB or stats functions who don't have a namelist offset if we
  are being run against a crash dump (!live).
- For the inet and unix PCB routines, we generate the same buffer from KVM
  that the sysctl usually generates complete with the header and trailer.
- Don't run bpf stats for !live (before it would just silently always run
  live).
- kread() no longer trashes memory when opening the buffer if there is an
  error on open and the passed in buffer is smaller than _POSIX2_LINE_MAX.
- The multicast routing code doesn't fallback to kvm on live kernels if
  the sysctl fails.  Keeping this made the code rather hairy, and netstat
  is already tied to the kernel ABI anyway (even when using sysctl's since
  things like xinpcb contain an inpcb) so any kernels this is run against
  that have the multicast routing stuff should have the sysctls.
- Don't try to dig around in the kernel linker in the netgraph PCB routine
  for core dumps.

Other notes:
- sctp's PCB routine only works on live kernels, it looked rather
  complicated to generate all the same stuff via KVM.  Someone can always
  add it later if desired though.
- Fix the ipsec removal bug where N_xxx for IPSEC stats weren't renumbered.
- Use sysctlbyname() everywhere rather than hardcoded mib values.

MFC after:	1 week
Approved by:	re (rwatson)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
general, when support was added to netstat for fetching data using sysctl,
no provision was left for fetching equivalent data from a core dump, and
in fact, netstat would _always_ fetch data from the live kernel using
sysctl even when -M was specified resulting in the user believing they
were getting data from coredumps when they actually weren't.  Some specific
changes:
- Add a global 'live' variable that is true if netstat is running against
  the live kernel and false if -M has been specified.
- Stop abusing the sysctl flag in the protocol tables to hold the protocol
  number.  Instead, the protocol is now its own field in the tables, and
  it is passed as a separate parameter to the PCB and stat routines rather
  than overloading the KVM offset parameter.
- Don't run PCB or stats functions who don't have a namelist offset if we
  are being run against a crash dump (!live).
- For the inet and unix PCB routines, we generate the same buffer from KVM
  that the sysctl usually generates complete with the header and trailer.
- Don't run bpf stats for !live (before it would just silently always run
  live).
- kread() no longer trashes memory when opening the buffer if there is an
  error on open and the passed in buffer is smaller than _POSIX2_LINE_MAX.
- The multicast routing code doesn't fallback to kvm on live kernels if
  the sysctl fails.  Keeping this made the code rather hairy, and netstat
  is already tied to the kernel ABI anyway (even when using sysctl's since
  things like xinpcb contain an inpcb) so any kernels this is run against
  that have the multicast routing stuff should have the sysctls.
- Don't try to dig around in the kernel linker in the netgraph PCB routine
  for core dumps.

Other notes:
- sctp's PCB routine only works on live kernels, it looked rather
  complicated to generate all the same stuff via KVM.  Someone can always
  add it later if desired though.
- Fix the ipsec removal bug where N_xxx for IPSEC stats weren't renumbered.
- Use sysctlbyname() everywhere rather than hardcoded mib values.

MFC after:	1 week
Approved by:	re (rwatson)
</pre>
</div>
</content>
</entry>
<entry>
<title>Commit IPv6 support for FAST_IPSEC to the tree.</title>
<updated>2007-07-01T12:08:08+00:00</updated>
<author>
<name>George V. Neville-Neil</name>
<email>gnn@FreeBSD.org</email>
</author>
<published>2007-07-01T12:08:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8409aedfa67396980986b68417d5e6ef1351b491'/>
<id>8409aedfa67396980986b68417d5e6ef1351b491</id>
<content type='text'>
This commit includes all remaining changes for the time being including
user space updates.

Submitted by:    bz
Approved by:    re
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit includes all remaining changes for the time being including
user space updates.

Submitted by:    bz
Approved by:    re
</pre>
</div>
</content>
</entry>
<entry>
<title>	o style(9) nit.</title>
<updated>2007-06-17T14:45:28+00:00</updated>
<author>
<name>Randall Stewart</name>
<email>rrs@FreeBSD.org</email>
</author>
<published>2007-06-17T14:45:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b8a1761e078086f3eab613bdfe10aa2f2af5f2ab'/>
<id>b8a1761e078086f3eab613bdfe10aa2f2af5f2ab</id>
<content type='text'>
	o shorten explainations which are over 80 columns in console.
	o group rows
	o clean up and change explanations a little bit.
Obtained from:	weongyo.jeong@gmail.com
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	o shorten explainations which are over 80 columns in console.
	o group rows
	o clean up and change explanations a little bit.
Obtained from:	weongyo.jeong@gmail.com
</pre>
</div>
</content>
</entry>
<entry>
<title>- Forced commit to update who actually did this code (I forgot</title>
<updated>2007-06-17T01:57:08+00:00</updated>
<author>
<name>Randall Stewart</name>
<email>rrs@FreeBSD.org</email>
</author>
<published>2007-06-17T01:57:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3f8d71d596ffd1657f2d80365a49bcd21814763b'/>
<id>3f8d71d596ffd1657f2d80365a49bcd21814763b</id>
<content type='text'>
  the obtained from in the original line)
Obtained from:	Weongyo Jeong (weongyo.jeong@gmail.com)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  the obtained from in the original line)
Obtained from:	Weongyo Jeong (weongyo.jeong@gmail.com)
</pre>
</div>
</content>
</entry>
</feed>
