summaryrefslogtreecommitdiff
path: root/usr.bin/systat/netstat.c
AgeCommit message (Collapse)Author
2022-10-28Adjust userland commands for struct inpcb separationozaki-r
Only kvm users are affected.
2022-10-28Adjust userland commands for struct inpcb integrationozaki-r
Only kvm users are affected.
2018-05-03Remove now unused tcpip.h includes. Some were already unused before.maxv
2013-11-24Fix fallout from circleq->tailq transition.mlelstv
2006-10-22use c99 initializerschristos
consistently terminate nlist arrays with NULL not ""
2005-02-26WARNS=3dsl
2005-01-09- remove left over debugging code.christos
- centralize pointer to the head of the list casts by introducing a new var.
2003-09-04synchronize w/ inpcb/in6pcb changeitojun
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-07-05Redraw addresses after screen refreshdsl
2003-05-17use strlcat/strlcpyitojun
2003-02-24Create subwins that end one line from the bottom of the screen evendsl
after the window is resized.
2000-12-01Remove extern variables and functions now declared in dkstats.h.simonb
While here, remove 77 (!) unneed #includes.
2000-07-05- Add `boot', `run', `time' and `zero' commands to all IP displays. These workad
as in the `vmstat' display mode. The default mode is now `time', not `boot'. - ANSIfy. - s@kre\(@vmstat\(@. - __RCSID() police. - Tweak inet.icmp display visual a little.
2000-04-27Fix arguments to *printw().jdc
2000-01-10don't choke on non-INET6 kernel, or non-IPSEC kernel.itojun
cleanup error handling on mode change failure. TODO: non-IPv4 kernel support should be improved. "netstat" should be okay, "inet.ip" and "inet.icmp" needs more trick. NetBSD PR: 9157
2000-01-07add command line -n flag, which is same as "netstat numbers".itojun
without it, we can't disable name resolution before the resolution starts.
2000-01-05support IPv6. commands under "netstat" are IPv6 ready.itojun
IPv6 is supported by filters (":ignore ssh") as well. TODO: do something about line truncation? TODO: inet6.icmp6? ":help" will not fit into single line...
2000-01-05remove dupplicated prototype defs for file static funcs.itojun
1999-12-20fix "netstat numbers".itojun
1999-12-20Two things:jwise
1.) fix a bug which caused coredumps when starting with no mode arguments 2.) move to table-lookup for mode-specific command parsing as well. all command matching is now table-driven.
1999-04-24Functional LP64 and type sanity fixes.ross
1998-08-25Add { and } to shut up egcs. Reformat the more questionable code.ross
1998-07-12- KNFmrg
- use snprintf - don't overwrite the keyboard buffer (and make this sized on the window size).
1997-10-19fix .Nm usage, deprecate register, getopt returns -1 not EOF, s/[br]*/[ms]*/lukem
1997-07-21- some KNF.mrg
- use __RCSID(). - WARNS=1
1997-05-24Use the new getmaxx and getmaxy macros instead of directly accessingjtc
the private fields of WINDOW.
1996-12-13Freshen up a bit:scottr
- Replace deprecated sigblock() with sigprocmask() - Redraw the current display if SIGWINCH is caught - Style police
1996-08-11clear the screen at the correct time to avoid leaving garbage on the screen.explorer
This happens when switching from address to :numbers display. From FreeBSD pr bin/1425.
1995-06-18update for new queue structurescgd
1995-01-20Changed to conform to NetBSD's new RCS Id convention.jtc
1995-01-20imported from 44litejtc