summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/ns.c
Commit message (Collapse)AuthorAgeFilesLines
* Kill #ifdef NS and some leftover #ifdef ISO code. Re-pack the nlist[]Peter Wemm2003-03-051-345/+0
| | | | | | | array, it isn't likely to find any ARPAnet IMP drivers in FreeBSD. Notes: svn path=/head/; revision=111923
* Warns cleanups for netstat:David Malone2002-09-051-7/+7
| | | | | | | | | | | | | | 1) Include arpa/inet.h for ntohs. 2) Constness fixes. 3) Fix shadowing except for "sin" which shouldn't be in scope. 4) Remove register keyword. 5) Add missing initialsers to user defined structs. 5) Make prototype of netname6 globally visable. 6) Use right macros for printing syncache stats (even though entrie isn't a word). Notes: svn path=/head/; revision=102975
* Widen struct sockbuf's sb_timeo member to int from short. WithJohn Polstra2002-07-241-1/+1
| | | | | | | | | | | | | | | | non-default but reasonable values of hz this member overflowed, breaking NFS over UDP. Also, as long as I'm plowing up struct sockbuf ... Change certain members from u_long/long to u_int/int in order to reduce wasted space on 64-bit machines. This change was requested by Andrew Gallatin. Netstat and systat need to be rebuilt. I am incrementing __FreeBSD_version in case any ports need to change. Notes: svn path=/head/; revision=100591
* remove warningsAssar Westerlund2001-06-151-4/+4
| | | | | | | | remove superfluous declarations make things more consistent Notes: svn path=/head/; revision=78316
* remove K&R supportAssar Westerlund2001-06-151-18/+8
| | | | Notes: svn path=/head/; revision=78314
* revert removal of warning and K&R supportAssar Westerlund2001-06-151-6/+16
| | | | | | | Requested by: bde Notes: svn path=/head/; revision=78309
* remove most of the warningsAssar Westerlund2001-06-151-16/+10
| | | | Notes: svn path=/head/; revision=78245
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+351
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590