summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/netgraph.c
Commit message (Collapse)AuthorAgeFilesLines
* Add __FBSDID. Replace local variable sin by sockin to not conflict with sin(3).charnier2004-07-261-6/+2
| | | | | Use warnx() instead of warn() when error message is not of any interest. Add prototypes.
* Warns cleanups for netstat:dwmalone2002-09-051-1/+1
| | | | | | | | | | | 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).
* Widen struct sockbuf's sb_timeo member to int from short. Withjdp2002-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.
* remove warningsassar2001-06-151-1/+1
| | | | | remove superfluous declarations make things more consistent
* revert removal of warning and K&R supportassar2001-06-151-1/+1
| | | | Requested by: bde
* remove most of the warningsassar2001-06-151-1/+1
|
* Use macro API to <sys/queue.h>phk2000-12-301-1/+1
| | | | | Submitted by: "Jason" <jsmethers@pdq.net> Reviewed by: phk
* Put include <netgraph.h> back in - problem was due to a cvsup mess ondillon1999-10-241-0/+1
| | | | | freefall. There may also be a real problem w/ buildworld but the fix would go somewhere else, not here.
* Cleanup missing includes, stale includes, and a few printf formatdillon1999-10-231-1/+0
| | | | inconsistancies.
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.julian1999-10-211-0/+188
Been in production for 3 years now. Gives Instant Frame relay to if_sr and if_ar drivers, and PPPOE support soon. See: ftp://ftp.whistle.com/pub/archie/netgraph/index.html for on-line manual pages. Reviewed by: Doug Rabson (dfr@freebsd.org) Obtained from: Whistle CVS tree
OpenPOWER on IntegriCloud