Commit Graph

35 Commits

Author SHA1 Message Date
lukem
2a6a3d1a76 rework so that -A -n' won't truncate the ipaddr.port' fields, by displaying
an abbreviated state column in that case (to fit in 80 columns)
1999-02-18 07:42:12 +00:00
ross
f670fa10c5 Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
sommerfe
aecb58fd13 Fix bogon in length argument to snprintf when formatting port number 1998-07-20 21:03:37 +00:00
mrg
efa1d2c3a5 - KNF
- use err(3)
- sprintf/strcpy -> snprintf/strncpy
- change route.c:domask() to take a size_t of the buffer passed.
1998-07-12 03:20:13 +00:00
mrg
2beab49a06 - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
thorpej
66012e9fca Add an option to dump the contents of a PCB at the specified address, and
implement this for TCP.
1998-06-03 02:41:10 +00:00
matt
c3ef9d7317 Add support for printing fast forwarded packets. 1998-04-29 21:39:38 +00:00
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
lukem
e55eeec2c5 fix up .Nm usage, getopt returns -1 not EOF 1997-10-19 05:49:56 +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
christos
c3a7122e73 - netatalk additions
- printf format fixes
- minor prototype cleanups
1997-04-03 04:46:44 +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
mycroft
d4b276c3d5 Update to match kernel. 1996-01-31 04:01:48 +00:00
thorpej
67f6822225 New-style RCS ids. 1995-10-03 21:42:34 +00:00
cgd
df0183d43f update for new network structures 1995-06-19 00:13:05 +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
cgd
43f1b4beca a couple of these need <sys/queue.h> 1994-12-24 17:21:51 +00:00
mycroft
d3877f2073 Clean up import. 1994-05-13 08:08:09 +00:00
cgd
ea7e0c1cca kill lots of off_t's. 1994-04-01 09:18:06 +00:00
cgd
1e6c1e0ef2 clean up, for off_t... ugliest 'cleaning' possible, i think... 1994-03-28 10:29:31 +00:00
brezak
4b860495c5 Incorporate changes for IP mcast and IGMP from cmaeda@cs.washington.edu. 1994-01-11 19:42:48 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd
599306af5d get rid of select.h inclusion, and clean up headers *more*. 1993-05-20 12:03:49 +00:00
cgd
12dfec7223 fix for new select & clean up headers 1993-05-20 10:40:41 +00:00
glass
6b50fbee8d print out more of the gathered udp stats (actually all of them) 1993-04-26 16:54:54 +00:00
cgd
e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00