#
74fd40c9 |
| 09-Jun-2007 |
Randall Stewart <rrs@FreeBSD.org> |
Adds support for SCTP.
|
Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
#
096146f8 |
| 28-Jul-2006 |
Yaroslav Tykhiy <ytykhiy@gmail.com> |
- Achieve WARNS=3 by using sparse initializers or avoiding initializers at all. - Fix a nlist initialization: it should be terminated by a NULL entry. - Constify. - Catch an unused parameter.
Tested
- Achieve WARNS=3 by using sparse initializers or avoiding initializers at all. - Fix a nlist initialization: it should be terminated by a NULL entry. - Constify. - Catch an unused parameter.
Tested on: i386 amd64 ia64
show more ...
|
#
7b95a1eb |
| 28-Jul-2006 |
Yaroslav Tykhiy <ytykhiy@gmail.com> |
Achieve WARNS=2 by using uintmax_t to pass around 64-bit quantities, including to printf(). Using uintmax_t is also robust to further extensions in both the C language and the bitwidth of kernel cou
Achieve WARNS=2 by using uintmax_t to pass around 64-bit quantities, including to printf(). Using uintmax_t is also robust to further extensions in both the C language and the bitwidth of kernel counters.
Tested on: i386 amd64 ia64
show more ...
|
#
b7dd94d5 |
| 28-Jul-2006 |
Yaroslav Tykhiy <ytykhiy@gmail.com> |
Avoid useless work: Do not build inet6.c if INET6 support is off. This also avoids pretending that netstat includes inet6.c in the output from ident(1).
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
#
e1fe3dba |
| 17-Mar-2006 |
Ruslan Ermilov <ru@FreeBSD.org> |
Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Bro
Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
show more ...
|
#
100b98db |
| 28-Dec-2005 |
Kelly Yancey <kbyanc@FreeBSD.org> |
Add support for printing IPSEC protocol stats if the kernel was compiled with FAST_IPSEC rather than the KAME IPSEC stack.
Note that the output of "netstat -s -p ipsec" differs depending on which st
Add support for printing IPSEC protocol stats if the kernel was compiled with FAST_IPSEC rather than the KAME IPSEC stack.
Note that the output of "netstat -s -p ipsec" differs depending on which stack is compiled into the kernel since they each keep different stats. This delta also adds the "esp", "ah", and "ipcomp" protocol stats, which are also available when the kernel is compiled with the FAST_IPSEC stack (e.g. "netstat -s -p esp").
Submitted by: Matt Titus <titus at nttmcl dot com> MFC after: 3 days
show more ...
|
Revision tags: release/6.0.0_cvs, release/6.0.0 |
|
#
6b463eed |
| 07-Sep-2005 |
Christian S.J. Peron <csjp@FreeBSD.org> |
Merge bpfstat's functionality into the netstat(1) utility. This adds a -B option which causes bpf peers to be printed. This option can be used in conjunction with -I if information about specific int
Merge bpfstat's functionality into the netstat(1) utility. This adds a -B option which causes bpf peers to be printed. This option can be used in conjunction with -I if information about specific interfaces is desired. This is similar to what NetBSD added to their version of netstat.
$ netstat -B Pid Netif Flags Recv Drop Match Sblen Hblen Command 1137 lo0 p--s-- 0 0 0 0 0 tcpdump 205 sis0 -ifs-l 37331 0 1 0 0 dhclient $
$ netstat -I lo0 -B Pid Netif Flags Recv Drop Match Sblen Hblen Command 1174 lo0 p--s-- 0 0 0 0 0 tcpdump $
-Add bpf.c which stores all the code for retrieving and parsing bpf related statistics. -Modify main.c to add support for the -B option and hook it into the program logic. -Add bpf.c to the build. -Document this new functionality in the man page and bump the revision date. -Add prototype for bpf_stats function.
show more ...
|
#
a00553b3 |
| 05-Aug-2005 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Don't include -lipx twice.
|
#
9cc22e5c |
| 05-Aug-2005 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Make IPX support depend on NO_IPX
|
#
c8e6b689 |
| 18-Jul-2005 |
Robert Watson <rwatson@FreeBSD.org> |
Modify "netstat -mb" to use libmemstat(3) when acting on a live system, with a number of positive benefits:
- Start using UMA(9) statistics for mbufs and clusters, which avoids using the mbuf allo
Modify "netstat -mb" to use libmemstat(3) when acting on a live system, with a number of positive benefits:
- Start using UMA(9) statistics for mbufs and clusters, which avoids using the mbuf allocator statistics which suffer from races under load on SMP. This should eliminate "negative" mbuf counts in netstat -mb.
- We are now able to track cached (free) mbufs and clusters and count it towards memory allocated by the network stack.
- We are now also able to track memory allocated to mbuf tags since libmemstat(3) can also query malloc(9). We don't print this except as part of the total (for now - #if 0).
- We are now able to track mbuf/cluster/packet allocation failures, although they are not currently printed (#if 0).
- Don't print out sfbuf statistics when running on a kernel core, as currently that code is able only to query sysctl for statistics.
MFC after: 1 week
show more ...
|
Revision tags: release/5.4.0_cvs, release/5.4.0 |
|
#
7f1a7653 |
| 23-Jan-2005 |
Xin LI <delphij@FreeBSD.org> |
According to style.Makefile(5): WARNS?= should appear before CFLAGS
Reviewed by: ru
|
#
980b4f74 |
| 22-Jan-2005 |
Xin LI <delphij@FreeBSD.org> |
Make sure that we don't define INET6 when NO_INET6 is defined. Without this change, when running netstat with a kernel without INET6 built in, you will get a complain at the end of "netstat -s" outpu
Make sure that we don't define INET6 when NO_INET6 is defined. Without this change, when running netstat with a kernel without INET6 built in, you will get a complain at the end of "netstat -s" output.
X-MFC: NO_INET6 was called "NOINET6" on RELENG_5
show more ...
|
Revision tags: release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0 |
|
#
a35d8893 |
| 24-Oct-2004 |
Ruslan Ermilov <ru@FreeBSD.org> |
For variables that are only checked with defined(), don't provide any fake value.
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
#
1d2a7e07 |
| 25-Mar-2004 |
Bruce M Simpson <bms@FreeBSD.org> |
Sort SRCS in Makefile and document -g option additions.
Nudged by: ru
|
#
9fcc066d |
| 25-Mar-2004 |
Bruce M Simpson <bms@FreeBSD.org> |
Teach netstat(1) how to print the multicast group memberships present within the running system.
Sponsored by: Ralf the Wonder Llama
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0 |
|
#
aa54e1ec |
| 29-Dec-2003 |
Bruce Evans <bde@FreeBSD.org> |
Fixed missing declaration of pluralies(). This showed up as strange printf format warnings for inet6.c (pluralies() was implicit int, but the context requires a "char *").
Added WARNS?=2 to the Mak
Fixed missing declaration of pluralies(). This showed up as strange printf format warnings for inet6.c (pluralies() was implicit int, but the context requires a "char *").
Added WARNS?=2 to the Makefile so that such errors don't come back. Added NO_WERROR?= to the Makefile because I haven't checked that setting WARNS doesn't uncover more bugs except on i386's.
show more ...
|
Revision tags: release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0 |
|
#
ab54ea99 |
| 05-Mar-2003 |
Peter Wemm <peter@FreeBSD.org> |
Kill #ifdef NS and some leftover #ifdef ISO code. Re-pack the nlist[] array, it isn't likely to find any ARPAnet IMP drivers in FreeBSD.
|
Revision tags: release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
#
2d3f94bf |
| 28-Apr-2002 |
Mark Murray <markm@FreeBSD.org> |
Remove GCC-specific flags and commented out cruft.
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
9f5b04e9 |
| 10-Dec-2001 |
David Malone <dwmalone@FreeBSD.org> |
Style improvements recommended by Bruce as a follow up to some of the recent WARNS commits. The idea is:
1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though c
Style improvements recommended by Bruce as a follow up to some of the recent WARNS commits. The idea is:
1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF.
show more ...
|
#
65ea0024 |
| 15-Jun-2001 |
Assar Westerlund <assar@FreeBSD.org> |
add the option -S for printing port numbers symbolically but addresses numerically. clean up the CFLAGS in Makefile.
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
d121b556 |
| 14-Mar-2001 |
Brian Somers <brian@FreeBSD.org> |
MAXHOSTNAMELEN includes space for a NUL. Don't roll our own version of trimdomain(), use the one in libutil.
Not objected to by: freebsd-audit
|
Revision tags: release/4.2.0, release/4.1.1_cvs, release/4.1.0 |
|
#
32cd1d96 |
| 04-Jul-2000 |
Jun-ichiro itojun Hagino <itojun@FreeBSD.org> |
sync with latest kame netstat. basically, more statistics
|
Revision tags: release/3.5.0_cvs, release/4.0.0_cvs |
|
#
0fea3d51 |
| 28-Jan-2000 |
Yoshinobu Inoue <shin@FreeBSD.org> |
IPv6 multicast routing. kernel IPv6 multicast routing support. pim6 dense mode daemon pim6 sparse mode daemon netstat support of IPv6 multicast routing statistics
Merging to the current an
IPv6 multicast routing. kernel IPv6 multicast routing support. pim6 dense mode daemon pim6 sparse mode daemon netstat support of IPv6 multicast routing statistics
Merging to the current and testing with other existing multicast routers is done by Tatsuya Jinmei <jinmei@kame.net>, who writes and maintainances the base code in KAME distribution.
Make world check and kernel build check was also successful.
show more ...
|
#
9a4365d0 |
| 06-Jan-2000 |
Yoshinobu Inoue <shin@FreeBSD.org> |
libipsec and IPsec related apps. (and some KAME related man pages)
Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
|
#
7d56d374 |
| 28-Dec-1999 |
Yoshinobu Inoue <shin@FreeBSD.org> |
Getaddrinfo(), getnameinfo(), and etc support in libc/net. Several udp and raw apps IPv6 support.
Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
|