#
bce2e7c8 |
| 12-Apr-2004 |
Ruslan Ermilov <ru@FreeBSD.org> |
Fixed alignment of multicast addresses when printing that got broken in previous revision.
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0 |
|
#
25d295e1 |
| 28-Nov-2003 |
Bruce M Simpson <bms@FreeBSD.org> |
Fix some minor nits in netstat whereby large interface names would be truncated. In environments where many tunnel or vlan interfaces are created, interface names have high numbers which overflow the
Fix some minor nits in netstat whereby large interface names would be truncated. In environments where many tunnel or vlan interfaces are created, interface names have high numbers which overflow the field width.
PRs: bin/52349, bin/35838 Submitted by: Mike Tancsa, Scot W. Hetzel Approved by: re (rwatson)
show more ...
|
#
9bf40ede |
| 31-Oct-2003 |
Brooks Davis <brooks@FreeBSD.org> |
Replace the if_name and if_unit members of struct ifnet with new members if_xname, if_dname, and if_dunit. if_xname is the name of the interface and if_dname/unit are the driver name and instance.
T
Replace the if_name and if_unit members of struct ifnet with new members if_xname, if_dname, and if_dunit. if_xname is the name of the interface and if_dname/unit are the driver name and instance.
This change paves the way for interface renaming and enhanced pseudo device creation and configuration symantics.
Approved By: re (in principle) Reviewed By: njl, imp Tested On: i386, amd64, sparc64 Obtained From: NetBSD (if_xname)
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.
|
#
ec3b72e9 |
| 10-Feb-2003 |
Robert Drehmel <robert@FreeBSD.org> |
- Determine the size of buffers with sizeof() instead of using plain magic numbers - one of them was apparently wrong but unharmful. - Remove empty line.
|
Revision tags: release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs |
|
#
a01e3379 |
| 05-Sep-2002 |
David Malone <dwmalone@FreeBSD.org> |
Warns cleanups for netstat: 1) Include arpa/inet.h for ntohs. 2) Constness fixes. 3) Fix shadowing except for "sin" which shouldn't be in scope. 4) Remove register keyword. 5) Add missing initialsers
Warns cleanups for netstat: 1) Include arpa/inet.h for ntohs. 2) Constness fixes. 3) Fix shadowing except for "sin" which shouldn't be in scope. 4) Remove register keyword. 5) Add missing initialsers to user defined structs. 5) Make prototype of netname6 globally visable. 6) Use right macros for printing syncache stats (even though entrie isn't a word).
show more ...
|
Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
#
e65dd7bc |
| 28-Apr-2002 |
Mark Murray <markm@FreeBSD.org> |
fix warnings; change variable/argument names that mask global names.
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
6f9cdfce |
| 19-Oct-2001 |
Matthew N. Dodd <mdodd@FreeBSD.org> |
Print statistics for AF_IPX. Note that the IPX code doesn't update these correctly yet, but should.
|
#
acb60e59 |
| 09-Oct-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
The previous change also disaligned lines with AF_IPX and AF_NS addresses. Unshrink "Network" width to the previous value, and make sure everything is aligned again.
|
#
dd1f8b9b |
| 09-Oct-2001 |
Matthew N. Dodd <mdodd@FreeBSD.org> |
Minor output formatting for 'netstat -i': - Right align Mtu - Print AF_INET family with correct field width.
|
#
d44ddba9 |
| 11-Sep-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
Implement the ``-f address_family'' filter for -i.
Prodded by: Igor Podlesny <poige@morning.ru>
|
#
f964d60d |
| 16-Jun-2001 |
Assar Westerlund <assar@FreeBSD.org> |
remove warnings remove superfluous declarations make things more consistent
|
#
5e051718 |
| 16-Jun-2001 |
Assar Westerlund <assar@FreeBSD.org> |
remove K&R support
|
#
e9370a2e |
| 16-Jun-2001 |
Assar Westerlund <assar@FreeBSD.org> |
revert removal of warning and K&R support
Requested by: bde
|
#
cf5e44f8 |
| 15-Jun-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
First round of netstat(1) cleanup.
Removed the ambiguity in -s, -f, -p and -i flags handling. Basically, there are four displays (except others):
1. PCB display. 2. Protocol statistics display. (
First round of netstat(1) cleanup.
Removed the ambiguity in -s, -f, -p and -i flags handling. Basically, there are four displays (except others):
1. PCB display. 2. Protocol statistics display. (-s) 3. Interface statistics display. (-i) 4. Per-interface protocol statistics display. (-i -s)
All of the above except 3) can be limited to a particular protocol family (-f) or a single protocol (-p).
Some examples:
1. netstat -f inet -- show PCBs of all INET protocols 2. netstat -p udp -- show PCB of UDP protocol only (NEW!) 3. netstat -s -- show protocol statistics for all families 4. netstat -s -f inet -- show INET protocols statistics 5. netstat -s -p icmp -- show ICMP protocol statistics
This is a work in progress. Manpage has been fixed slightly, but is still incomplete.
show more ...
|
#
af7a0a2d |
| 15-Jun-2001 |
Assar Westerlund <assar@FreeBSD.org> |
remove most of the warnings
|
#
b9d92bf5 |
| 26-Apr-2001 |
Bill Fenner <fenner@FreeBSD.org> |
Add missing break when printing IPv6 multicast addresses. Use the sockaddr_dl sdl_type, not ifnet.if_type, to decide what type a multicast sockaddr_dl is.
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
0b23654b |
| 30-Mar-2001 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Don't core dump when given "-i -a". Problem caused by a mistaken dereference of a kernel-pointer in userland.
PR: 26168 Submitted by: Peter Pentchev <roam@orbitel.bg>
|
#
445f17bb |
| 04-Mar-2001 |
Josef Karthauser <joe@FreeBSD.org> |
When displaying interface statistics with -i show a '-' for any values that aren't updated for a particular network-layer address.
|
#
6817526d |
| 06-Feb-2001 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Convert if_multiaddrs from LIST to TAILQ so that it can be traversed backwards in the three drivers which want to do that.
Reviewed by: mikeh
|
#
4d51ef63 |
| 30-Dec-2000 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Use macro API to <sys/queue.h>
Submitted by: "Jason" <jsmethers@pdq.net> Reviewed by: phk
|
Revision tags: release/4.2.0 |
|
#
591c194a |
| 30-Oct-2000 |
Guido van Rooij <guido@FreeBSD.org> |
Now that the amount of (pseudo) interfaces is growing with IPv6, get rid of stupid upperbound on the amount of interfaces (was 8).
|
#
5da9f8fa |
| 20-Oct-2000 |
Josef Karthauser <joe@FreeBSD.org> |
Augment the 'ifaddr' structure with a 'struct if_data' to keep statistics on a per network address basis.
Teach the IPv4 and IPv6 input/output routines to log packets/bytes against the network addre
Augment the 'ifaddr' structure with a 'struct if_data' to keep statistics on a per network address basis.
Teach the IPv4 and IPv6 input/output routines to log packets/bytes against the network address connected to the flow.
Teach netstat to display the per-address stats for IP protocols when 'netstat -i' is evoked, instead of displaying the per-interface stats.
show more ...
|
Revision tags: release/4.1.1_cvs |
|
#
3cfac2c5 |
| 28-Jul-2000 |
John Polstra <jdp@FreeBSD.org> |
Fix bug: "netstat -si" prints interface information, but the header line is missing. This apparently was broken in revision 1.31 of "if.c".
Submitted by: Maxime Henrion <mhenrion@cybercable.fr>
|
Revision tags: release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs |
|
#
e54ca68c |
| 03-Jan-2000 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Print mac addresses in standard byte:byte format rather than byte.byte. This makes it consistent with our other utilities like arp(8) and ifconfig(8).
Submitted by: Paul Vixie <paul@vix.com>
|