aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/netstat.c
AgeCommit message (Collapse)Author
2015-09-08Fix netstat -e.Elliott Hughes
The -e flag should add "user" and "inode" columns to the TCP output. Also truncate IP addresses in non-wide (no -W) mode. This also removes a bit more of the duplication, though there's still plenty left in this file!
2015-09-08Fix netstat -p.Elliott Hughes
netstat -p was failing for any cmdline longer than 21 characters. (A typical Chrome render process has about half a kilobyte of cmdline.) There's still a lot of cleanup to be done later, but this is enough to fix -p and remove a fair amount of unnecessary custom code into the bargain.
2015-09-08increase the size of progname to avoid buffer overflowLipi Lee
2015-01-01Switch a lot of strncpy() calls to xstrncpy().Rob Landley
2014-09-18A few fixes for issues reported in static analysis.Ashwini Sharma
2014-01-16Rename xmsprintf() to just xmprintf().Rob Landley
Partly because there's no supplied target string ala sprintf, and partly because I can never remember what order the m and s go in.
2013-11-02Merge toynet.h into toys.h: musl supports it and micromanaging uClibc config ↵Rob Landley
options isn't very interesting anymore.
2013-09-03Remove itoa/utoa, let libc do this with sprintf.Rob Landley
2013-08-11Ashwini Sharma said that Kyungwan Han should be in the contact info for the ↵Rob Landley
commands he sent recently.
2013-07-25netstat by Ranjan Kumar.Rob Landley