Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Quick hack to allow netstat to compile once more: ifdef out MT_SOOPTS | gpalmer | 1998-08-23 | 1 | -1/+3 |
| | |||||
* | Change casts from int to u_long and formats from %x to %lx. | jb | 1998-08-18 | 1 | -6/+7 |
| | | | | | | | | Didn't fix the alignment of the output fields on alpha where addresses require 16 characters to print. Added a dummy field to the pt_u union to help the alpha compiler align the u_sa field in a suiable way. | ||||
* | Change a variable from int to size_t. | jb | 1998-08-18 | 1 | -3/+3 |
| | |||||
* | Make netstat work again. | phk | 1998-08-08 | 2 | -10/+20 |
| | |||||
* | Don't open /dev/mem until we need it, most cases we don't. | phk | 1998-08-05 | 1 | -26/+25 |
| | |||||
* | Fixed printf format errors. | bde | 1998-07-06 | 6 | -97/+112 |
| | |||||
* | Fixed type mismatches and style bugs in rev.1.30. | bde | 1998-07-06 | 1 | -8/+6 |
| | |||||
* | o Use snprintf over sprintf. | imp | 1998-06-09 | 2 | -13/+17 |
| | | | | | | | o Use strncpy correctly. o Use enough buffer for line. Inspired by or Obtained from: Similar changes in OpenBSD | ||||
* | Make "netstat -s" display stats on fast-forwarded packets. | pb | 1998-05-19 | 1 | -2/+5 |
| | | | | Obtained from: NetBSD code | ||||
* | Fix rev. 1.7: get offsetof from the correct header file. | wollman | 1998-05-16 | 1 | -2/+2 |
| | |||||
* | Fix broken sun_len usage: it is not sun_path length but bigger | ache | 1998-05-16 | 1 | -2/+5 |
| | |||||
* | mbuf, inet, and unix modules no longer read kvm. | wollman | 1998-05-15 | 5 | -199/+265 |
| | |||||
* | Remove (now) invalid .Xr trsp 8 | steve | 1998-05-03 | 1 | -1/+0 |
| | | | | | PR: 6494 Submitted by: Don Morrison <dmorrisn@u.washington.edu> | ||||
* | Output mbuf clusters as current/peak/max. Requires new kern.ipc.nmbclusters | dg | 1998-04-24 | 1 | -5/+11 |
| | | | | sysctl variable (previously committed). | ||||
* | netstat truncates info in sockaddr* between kgetsa and p_sockaddr | phk | 1998-04-22 | 1 | -12/+14 |
| | | | | | | | | by dereferencing pointer to smaller structure PR: 5256 Reviewed by: phk Submitted by: Gregory D. Moncreaff <moncrg@bt340707.res.ray.com> | ||||
* | The current version of netstat does not print the interface | phk | 1998-04-19 | 1 | -53/+72 |
| | | | | | | | | name for AF_LINK routing entries. This makes debugging network problems more difficult. PR: 4182 Reviewed by: phk Submitted by: Craig Leres <leres@ee.lbl.gov> | ||||
* | Add (unsigned) cast to prevent overflow in % | ache | 1997-11-10 | 1 | -2/+2 |
| | | | | Submitted by: "Alex G. Bulushev" <bag@demos.su> | ||||
* | Typo fix. | steve | 1997-10-27 | 1 | -2/+2 |
| | | | | | PR: docs/4579 Submitted by: Stephen J. Roznowski <sjr@home.net> | ||||
* | Print out the two new fields in the ICMP stats. While we're at it, also | wollman | 1997-08-25 | 1 | -5/+23 |
| | | | | | | convert icmp_stats() to use sysctl(3) to retrieve the information rather than kvm. This makes it easy to also print whether ICMP address mask responses are enabled, so do so. | ||||
* | While I'm in here, fix address printing for `netstat -f unix' which has been | wollman | 1997-08-25 | 1 | -12/+8 |
| | | | | broken for a couple of weeks now... | ||||
* | Bandaid to make this compile.. These old mbuf types should probably be | peter | 1997-08-17 | 1 | -1/+13 |
| | | | | ripped out. | ||||
* | Remove prog, unused variables. | charnier | 1997-07-29 | 7 | -30/+23 |
| | | | | Cosmetic in usage string. | ||||
* | Remove -I/sys | guido | 1997-07-13 | 1 | -1/+1 |
| | |||||
* | Remove some quite bogus code that tried to find subnet names but instead | phk | 1997-05-25 | 1 | -29/+5 |
| | | | | spammed named with bogus queries. | ||||
* | Add the new ipx statistics variables. | jhay | 1997-05-10 | 3 | -26/+26 |
| | | | | | | | Remove the dns lookup code in the ipx functions. That is bogus and slows things like netstat -r(f ipx) down, without gaining anything. Remove the ipx error protocol statistics. | ||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-29 | 1 | -1/+1 |
| | | | | posix standard on the topic. | ||||
* | Use the new sysctl(3) interface to mbuf statistics rather than | wollman | 1997-02-24 | 1 | -7/+19 |
| | | | | groveling about in kmem. | ||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 5 | -5/+5 |
| | |||||
* | When the mbuf code was changed to use a private allocator instead of | wollman | 1997-02-12 | 1 | -3/+4 |
| | | | | | | | the kernel malloc, netstat was never updated to reflect the fact that there are once again allocated-but-free mbufs, just as there are clusters, and so the information presented about how much memory was allocated to the network was bogus. Fixed. | ||||
* | Print out the new uninteresting-multicast-packets statistic. | wollman | 1997-01-21 | 1 | -1/+4 |
| | |||||
* | Make the long-awaited change from $Id$ to $FreeBSD$ | jkh | 1997-01-14 | 5 | -5/+5 |
| | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. | ||||
* | Print out the interface's multicast addresses using the new | wollman | 1997-01-13 | 1 | -51/+43 |
| | | | | structures. | ||||
* | TCP statistics are unsigned counters. | pst | 1997-01-07 | 1 | -46/+46 |
| | | | | | | | | | Tor Egge reports counter wrap and requests and update to quad_t sized counters, which is also a good thing to do, but I'm unhappy about adding two more instructions into the code path every time we doink a counter. Maybe with or after the Lite2 merge... Submitted by: Tor Egge <Tor.Egge@idt.ntnu.no> | ||||
* | Update to match changes in <net/if.h> and <netinet/ip_mroute.h>. | wollman | 1997-01-03 | 3 | -5/+7 |
| | |||||
* | Learn to follow the new interface address lists. | wollman | 1996-12-13 | 1 | -2/+2 |
| | |||||
* | Understand queue-ized ifnet structures. | wollman | 1996-12-11 | 1 | -5/+14 |
| | |||||
* | Fix up programs which expect <net/if.h> to include <sys/time.h> to instead | wollman | 1996-12-10 | 5 | -7/+6 |
| | | | | | | do it themselves. (Some of these programs actually depended on this beyond compiling the definition of struct ifinfo!) Also fix up some other #include messes while we're at it. | ||||
* | Display multicast addresses if the "a" flag is used in combination | fenner | 1996-12-02 | 1 | -0/+60 |
| | | | | | | with "-i". This was already in the man page but was not implemented. Obtained from: Multicast release 3.5 | ||||
* | Eliminate unnecessary include of <sys/mbuf.h>. PCBs aren't stored in mbufs | wollman | 1996-10-28 | 4 | -5/+13 |
| | | | | any more. | ||||
* | Remove reference to oobsolete RTF_MASK flag (soon to be removed). | wollman | 1996-10-09 | 1 | -2/+1 |
| | |||||
* | make appletalk networks not show an un-needed host | julian | 1996-09-05 | 1 | -2/+2 |
| | | | | part in displaying the routes. | ||||
* | Fixed DPADD. | bde | 1996-09-05 | 1 | -1/+1 |
| | |||||
* | fix printing of netranges in the i and r displays for netatalk | julian | 1996-08-31 | 2 | -6/+41 |
| | |||||
* | Try to make netstat more smart about port numbers. | phk | 1996-08-23 | 1 | -7/+21 |
| | | | | Feedback most welcome. | ||||
* | Submitted by: archie@whistle.com | julian | 1996-07-23 | 1 | -2/+2 |
| | | | | slight cleanups on yesterday's patches | ||||
* | Submitted by: archie@whistle.com | julian | 1996-07-23 | 4 | -44/+51 |
| | | | | appletalk cleanups | ||||
* | Adding changes to ipfw and the kernel to support ip packet diversion.. | julian | 1996-07-10 | 1 | -0/+6 |
| | | | | | | This stuff should not be too destructive if the IPDIVERT is not compiled in.. be aware that this changes the size of the ip_fw struct so ipfw needs to be recompiled to use it.. more changes coming to clean this up. | ||||
* | appletalk cleanups | julian | 1996-07-09 | 2 | -10/+15 |
| | | | | | | | | | | | e.g. Active ATALK connections Proto Recv-Q Send-Q Local Address Foreign Address (state) ddp 0 0 [69.230]130 [*.*]* ddp 0 0 [69.230]128 [*.*]* ddp 0 0 [69.230]1 [*.*]* etc.. | ||||
* | make netstat distinguish broadcast and blackhole routes where they appear. | peter | 1996-06-15 | 2 | -1/+4 |
| | | | | | | | (RTF_BLACKHOLE was already documented as being shown, but the code ignored it) Sumbitted by: Greg Lehey <grog@lemis.de> | ||||
* | better appletalk support. | julian | 1996-06-10 | 3 | -41/+98 |
| |