Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Kill unused `ch' variable within safeputs routine. Also use putchar(3) | 2020-12-03 | 1 | -6/+4 | |
| | | | | | | | | instead of printf(3) to output printable characters. Pointed by Martin Vahlensieck. ok gnezdo@ | ||||
* | - (void)printf() -> printf(); the cast adds clutter for little value. | 2020-01-24 | 1 | -8/+8 | |
| | | | | | | | | | | - fprintf(stdout, ...) -> printf() - fputs(x, stdout) -> printf(); for consistency. fputs is twice as fast on atom x5-Z8300@1.44GHz but Amdahl sees a pure printf tcpdump only 2% slower than a pure fputs (for constant strings) tcpdump to /dev/null across a 20MB/~170k packet pcap file. ok dlg@ for fputs and ok tedu@ krw@ deraadt@ a2k19 for the rest | ||||
* | When system calls indicate an error they return -1, not some arbitrary | 2019-06-28 | 1 | -3/+3 | |
| | | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future. | ||||
* | fix microsecond output of timestamp deltas (-tttt) | 2019-01-26 | 1 | -17/+15 | |
| | |||||
* | Remove remaining instances of the register keyword. | 2015-11-16 | 1 | -12/+10 | |
| | | | | ok deraadt@ | ||||
* | lint is dead: delete the trivial uses of /* VARARGS[0-9]+ */ | 2015-09-27 | 1 | -3/+1 | |
| | | | | (others require more care) | ||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 2009-10-27 | 1 | -6/+1 | |
| | | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | ||||
* | Merge printb() fix from ifconfig.c -r 1.157: | 2008-09-19 | 1 | -3/+4 | |
| | | | | | Don't increment a pointer *before* testing it for NULL. OK canacar@ | ||||
* | trash $Header goo which is just annoying; 5595 | 2007-10-07 | 1 | -2/+2 | |
| | |||||
* | add -I option for printing the interfaces; | 2007-08-28 | 1 | -2/+4 | |
| | | | | ok hshoexer, henning, mcbridge (some time ago) | ||||
* | Remove remaining stuff from state QUIT, adjust some comments | 2006-04-22 | 1 | -2/+3 | |
| | | | | and close a fd leak in read_infile(). ok deraadt@ | ||||
* | Simplify error() and warning() a bit. From Alexey Dobriyan. | 2006-03-13 | 1 | -12/+4 | |
| | | | | ok jaredy@ otto@ | ||||
* | add a printer for 802.11 and for additional radiotap headers, | 2005-03-07 | 1 | -2/+34 | |
| | | | | | | use -y IEEE802_11 or IEEE802_11_RADIO if supported by the driver. ok canacar@ | ||||
* | add -ttttt (timestamp difference since the first packet); ok thierry | 2004-07-28 | 1 | -4/+6 | |
| | |||||
* | -tttt prints time between packets; ok deraadt | 2004-06-23 | 1 | -2/+11 | |
| | |||||
* | privilege separated tcpdump, joint work with otto@ | 2004-01-28 | 1 | -34/+41 | |
| | | | | | tested by avsm@ vincent@ dhartmei@ markus@ hshoexer@ and others go for it deraadt@ | ||||
* | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | 2002-02-19 | 1 | -26/+2 | |
| | |||||
* | a bit of snprintf cleaning | 2001-11-06 | 1 | -3/+3 | |
| | |||||
* | change timeval to bpf_timeval; 32 bit in size, permitting much greater portability | 2001-10-02 | 1 | -3/+3 | |
| | |||||
* | print day and month using -ttt flag; <canacar@eee.metu.edu.tr> | 2001-09-03 | 1 | -8/+21 | |
| | |||||
* | add relts_print, safeputs and safeputchar | 2001-03-05 | 1 | -2/+50 | |
| | |||||
* | some buffer care; jakob | 2000-10-31 | 1 | -3/+3 | |
| | |||||
* | Add $OpenBSD$. (jakob@ ok) | 2000-10-03 | 1 | -1/+3 | |
| | |||||
* | bring more inline with tcpdump 3.4 | 1999-09-16 | 1 | -2/+2 | |
| | |||||
* | - Merge some changes from tcpdump 3.4 | 1999-07-28 | 1 | -58/+1 | |
| | | | | | | | | | | | | | | | -a flag; attempt to convert network and broadcast addresses to names Improved signal handling Miscellaneous fixes and typos OSPF MD5 authentication support - -X flag; emacs-hexl print (including ascii) - Add ECN bits to TCP and IP headers - IKE & IPsec (ESP & AH) support OK deraadt@ | ||||
* | #if __STDC__ --> #ifdef __STDC__ | 1997-07-25 | 1 | -6/+6 | |
| | |||||
* | *** empty log message *** | 1996-12-12 | 1 | -59/+46 | |
| | |||||
* | it is 3.2 now. | 1996-07-13 | 1 | -77/+75 | |
| | |||||
* | sync to latest | 1996-06-10 | 1 | -8/+8 | |
| | |||||
* | Updating to the latest LBL release. | 1996-03-04 | 1 | -6/+13 | |
| | | | | Sun's SKIP support added. | ||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+337 | |