Commit Graph

91 Commits

Author SHA1 Message Date
lukem 11cfadcaa1 if INP_ANONPORT is set in the pcb, don't getservbyport the local port,
as the service name is irrelevent. from freebsd
1998-01-07 22:55:07 +00:00
thorpej a9f58b2ca8 Print the connections dropped due to excessive persist timeouts. 1997-12-17 06:17:26 +00:00
thorpej d673bd5c41 Nuke "delayed window updates" statistic. 1997-12-13 21:03:46 +00:00
thorpej 76de9752dd Print window updates delayed (piggybacked on delayed ACKs). 1997-12-11 07:00:01 +00:00
thorpej 4047416683 Report connections drained due to memory shortage. 1997-12-10 07:26:02 +00:00
kml 9633603853 Added (and documented) a change to the route display, so that mtu values
which have been locked are indicated by an 'L' appended to the MTU value.
Locked routes have path mtu discovery turned off.
1997-10-28 22:38:42 +00:00
mrg 9395f04c8b fix compile warnings on the sparc. 1997-10-20 10:32:06 +00:00
lukem e55eeec2c5 fix up .Nm usage, getopt returns -1 not EOF 1997-10-19 05:49:56 +00:00
mikel c106897e5e add 'atalk' to list of arguments recognized by -f, minor cleanup 1997-08-01 05:03:14 +00:00
thorpej b3fb623d7f Pull SYN_cache_branch down onto the main line. 1997-07-23 21:31:27 +00:00
christos aef7001870 PR/3660: Dave Huang: Fix formatting misalignments in appletalk
PR/3659: Dave Huang: Fix PCB reporting in appletalk
1997-05-22 17:21:26 +00:00
gwr 10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr 012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
christos 38ec358de7 Make the first field 2 characters wider so that XXX.XXX.XXX.XXX/XX fits.
From Kimmo
1997-04-10 15:45:58 +00:00
mikel 3bafb68ebf more column alignment fixes 1997-04-07 06:58:18 +00:00
christos 5fe1aec948 PR/3451: Anders Hjalmarsson: Column alignment fixes after the netatalk addition. 1997-04-07 03:04:24 +00:00
christos c3a7122e73 - netatalk additions
- printf format fixes
- minor prototype cleanups
1997-04-03 04:46:44 +00:00
thorpej 87ca1d62e0 Print Ethernet and FDDI addresses in the same format as ether_ntoa().
From Matt Thomas <matt@3am-software.com>
1997-03-26 01:49:44 +00:00
mycroft 19d55000f7 Get the byte-swapping right in netmask(). 1997-03-18 03:40:10 +00:00
jonathan f0f7e53290 Add compiled-in MCLBYTES and MSIZE to conf/param.c, as 'mclbytes" and "msize".
Add code to netstat to use libkvm to for kernel variables "mclbytes"
and "msize', and if found, use those for netstat -m rather than
compiled-in defaults.
1997-02-28 00:14:19 +00:00
mikel 5ca01fc0a4 Don't assume that sun_path in sockaddr_un is null-terminated; final fix by
Noriyuki Soda <soda@sra.co.jp>.  fixes part of PR 3035.
1997-02-27 05:41:19 +00:00
mellon 8040aaffba ns_print: fix type conflict 1997-01-02 08:06:24 +00:00
mellon 9209b257a5 ns_print: undo bogus type conflict 1997-01-02 08:04:26 +00:00
mellon d8671bd736 Lite2 Merge 1997-01-02 08:00:55 +00:00
neil 36139c4647 errors not generated 'cuz old message was icmp -> [EWW!]
errors not generated because old message was icmp
1996-12-09 12:48:37 +00:00
thorpej 2ea1f6b673 Add the `toolong' count to the IP stats display. 1996-10-25 07:41:35 +00:00
explorer 3f3e868348 use %lu, not %u. This covers more than my original %d -> %u change... 1996-10-08 01:18:10 +00:00
explorer 3d7986bab5 Netstat -s should use %u for u_long parameters... Closes bin/2817 by me 1996-10-07 18:42:25 +00:00
thorpej 5db2537ade Fix missing `)' in the sideways view of interfaces (i.e. netstat -w 1).
Bug pointed out by Chris G. Demetriou.
1996-06-07 21:43:26 +00:00
cgd 207dfda94d bump MAXIF (the maximum number of interfaces for which information is kept,
for 'netstat -w <delay>') to 100, from 10.  10 was definitely not sufficient
for many hosts; 100 should be for most if not all.  This code really should
dynamically allocate the information structures, based on the number of
interfaces in the kernel, account for interfaces that are added or removed,
etc., but given its current structure that would require substantial changes.
1996-06-04 20:22:23 +00:00
cgd 525c9d6e37 if doing 'netstat -I <intf> -w <delay>', and netstat can't find an
interface of the given name, print an error message and exit.
This whole section of code needs to be re-thought, if interfaces
can be dynamically added or removed.
1996-06-04 20:09:03 +00:00
mycroft 445ad1968f Make this work again. 1996-05-24 11:57:16 +00:00
mycroft 0b70b24514 Avoid spewing if there is no MFC. 1996-05-11 13:51:27 +00:00
thorpej 527565ac15 Kill a couple of unnecessary calls to strlen(). 1996-05-07 05:26:02 +00:00
thorpej 22afdc2c33 Update for the changes to struct ifnet. While I'm here, fix a couple
of long-standing bugs:

	- Actually deal with the fact that the kernel ifnet list is
	  a TAILQ; it just happened to work before.

	- Use kvm_openfiles() instead of kvm_open().  The code passed
	  arguments to kvm_open() as if it were kvm_openfiles(), but
	  apparently went unnoticed since the prototypes are the same.
	  Amusing bit: there were XXX's in the code which seemed to
	  apologize for a verbose libkvm, when it happened to be a
	  bug in netstat!
1996-05-07 02:55:00 +00:00
mycroft d4b276c3d5 Update to match kernel. 1996-01-31 04:01:48 +00:00
jtc 3384b51b0b Implement change done in revision 1.12 (for PR #1473 & duplicates) in a
slightly different way.  This widens the Address field instead of the
Ipkts field because Address is the one that may be too big.
1995-10-17 07:17:04 +00:00
thorpej 67f6822225 New-style RCS ids. 1995-10-03 21:42:34 +00:00
jtc 4d8e53d69f Change formatting so that columns line up; PR #1473 + several duplicates 1995-09-28 06:22:54 +00:00
jtc 519b2df4b4 iostat is in section 8; PR #1533 1995-09-27 19:43:28 +00:00
jtc 8ba230d554 vmstat is in section 8; PR #1532 1995-09-27 19:20:24 +00:00
mycroft d7b28f05aa Garbage collect mbuf types. 1995-08-17 03:24:54 +00:00
mycroft 9094d0cb63 Garbage collect mbuf types. 1995-08-17 03:23:40 +00:00
thorpej 7df5d8b0ec If set, show a route's mtu in the routing table display. 1995-08-10 06:24:52 +00:00
mycroft 01c15f41a0 Byte-swap correctly. Make some types 64-bit safe. Use INADDR_ANY rather
than an explicit 0.
1995-07-03 03:25:19 +00:00
mycroft 9086ad07b9 Remove an extra htonl(). 1995-07-03 03:16:57 +00:00
cgd df0183d43f update for new network structures 1995-06-19 00:13:05 +00:00
mycroft ee4364cc64 Format the statistics output more like the other protocols. 1995-06-12 03:49:45 +00:00
mycroft 81c2958581 Update to match kernel changes. 1995-06-12 03:03:07 +00:00
cgd 2ef674b932 print out number of malformed fragments dropped 1995-05-14 08:20:16 +00:00