aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/trpt/trpt.c
Commit message (Collapse)AuthorAgeFilesLines
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareWarner Losh2004-08-071-4/+0
| | | | | | | (with permission of addtional copyright holders where appropriate) Notes: svn path=/head/; revision=133249
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.David E. O'Brien2003-05-031-4/+4
| | | | Notes: svn path=/head/; revision=114601
* Unbreak Alpha build.Dag-Erling Smørgrav2002-07-161-1/+1
| | | | Notes: svn path=/head/; revision=100165
* de-__P().Alfred Perlstein2002-07-151-36/+31
| | | | | | | | | | | | | | | | WARNS=4 cleanup: include headers needed. don't initialize char * with const char *. fix main() declaration. fix shadowed variable. properly cast tcpcb members for printf(3) output. remove 'register'. remove unused arg. Reviewed by: tmm, bde Notes: svn path=/head/; revision=100114
* Remove bogus cast.Dag-Erling Smørgrav2002-05-151-1/+1
| | | | Notes: svn path=/head/; revision=96646
* SECURITY: Drop `setgid kmem' bit as early as possible.Ruslan Ermilov2001-08-311-0/+1
| | | | Notes: svn path=/head/; revision=82664
* Change types of "numeric" function to match that of a qsort comparisonDavid Malone2001-03-051-3/+4
| | | | | | | function. Notes: svn path=/head/; revision=73732
* Sorry in this just befor code freeze commit.Yoshinobu Inoue2000-01-291-10/+50
| | | | | | | | | | | | | | | | | | | | | | | | This is fix to usr.sbin/trpt and tcp_debug.[ch] I think of putting this after 4.0 but,,, -There was bug that when INET6 is defined, IPv4 socket is not traced by trpt. -I received request from a person who distribute a program which use tcp_debug interface and print performance statistics, that -leave comptibility with old program as much as possible -use same interface with other OSes So, I talked with itojun, and synced API with netbsd IPv6 extension. makeworld check, kernel build check(includes GENERIC) is done. But if there happen to any problem, please let me know and I soon backout this change. Notes: svn path=/head/; revision=56801
* tcp updates to support IPv6.Yoshinobu Inoue2000-01-091-13/+62
| | | | | | | | | | also a small patch to sys/nfs/nfs_socket.c, as max_hdr size change. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project Notes: svn path=/head/; revision=55679
* #ifdef out section of code dealing with integer timers,Jonathan Lemon1999-08-311-0/+6
| | | | | | | they aren't here any more. Notes: svn path=/head/; revision=50680
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50479
* Use err(3). Add usage() and prototypes.Philippe Charnier1997-10-221-46/+48
| | | | | | | Hide reference to trsp(8) that does not exist. Notes: svn path=/head/; revision=30643
* Zap antique #ifndef NEWVM code. This should be redone to use libkvmPeter Wemm1997-08-031-37/+0
| | | | | | | someday. Notes: svn path=/head/; revision=27858
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-311-1/+1
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24428
* Fix up programs which expect <net/if.h> to include <sys/time.h> to insteadGarrett Wollman1996-12-101-0/+1
| | | | | | | | | do it themselves. (Some of these programs actually depended on this beyond compiling the definition of struct ifinfo!) Also fix up some other #include messes while we're at it. Notes: svn path=/head/; revision=20287
* Include queue.h in preparation for struct socket changes.David Greenman1996-03-111-0/+1
| | | | Notes: svn path=/head/; revision=14544
* Removed bogus #include of netinet/in_pcb.hDavid Greenman1995-04-101-1/+0
| | | | Notes: svn path=/head/; revision=7727
* Get rid of _PATH_UNIX completely; use getbootfile(3) instead.Garrett Wollman1994-09-241-1/+1
| | | | | | | | | | DANGER WILL ROBINSON! _PATH_UNIX is currently defined as the literal string "don't use this". I am of two minds about this myself, but wanted to get something into the tree as quickly as possible. Notes: svn path=/head/; revision=3041
* BSD 4.4 Lite usr.sbin SourcesRodney W. Grimes1994-05-261-0/+414
Notes: svn path=/cvs2svn/branches/WIN_TUE_NL/; revision=1553