summaryrefslogtreecommitdiff
path: root/util.c
Commit message (Expand)AuthorAgeFilesLines
* NDOize safeputs() and safeputchar()Denis Ovsienko2014-04-011-12/+8
* don't include pcap.h needlesslyDenis Ovsienko2014-02-281-1/+0
* base struct tok on unsigned rather than signed intDenis Ovsienko2014-02-261-1/+1
* Do our own isascii(), isprint(), isgraph(), and toascii().Guy Harris2014-02-021-10/+10
* Only do the unaligned_mem{cpy,cmp} hack if necessary.Guy Harris2014-01-171-2/+3
* memcmp() doesn't modify either of its arguments.Guy Harris2014-01-151-1/+1
* Revert print-tcp memcpy() changes, and use unaligned_memcpy() instead.Guy Harris2014-01-151-0/+8
* Move safememcpy() to util.c so it doesn't get inlined.Guy Harris2014-01-151-0/+11
* remove tcpdump's own CVS keywordsDenis Ovsienko2014-01-031-5/+0
* ndo-ize print-ascii: hex_print_with_offset()Michael Richardson2014-01-011-6/+6
* whitespace changesMichael Richardson2014-01-011-2/+2
* Squelch a warning, style normalization.Guy Harris2009-05-211-13/+13
* util.c: Add the `mask62plen' utility function.Florian Forster2009-05-211-0/+29
* From Marc Binderberger: check whether XXX is null before checkingGuy Harris2009-02-261-1/+1
* change the TCP printer to print new-style order:hannes2007-01-291-6/+35
* Fix indentation.guy2006-08-191-2/+3
* add support for AIS/RDI OAM cell payload printing, hexdump location/source ID...hannes2006-02-081-2/+2
* add a maxlen boundary check to safeputs, print unprintable chars as hex in sa...hannes2006-02-081-4/+6
* Moved the declaration of d_usec and d_sec at the beginning of the function.gianluca2006-01-221-3/+5
* init last/first packet timestamp for both -ttt and -tttttt optionhannes2005-12-131-2/+2
* - add the -ttttt timestamp option which prints the time differencehannes2005-12-131-24/+41
* We don't need gettimeofday() to just get seconds since January 1, 1970,guy2005-12-051-41/+1
* from Gisle Vanem <giva@bgnett.no>: privatize filetime_to_unix_epoch() gettime...hannes2005-12-051-1/+41
* Add some sanity checking of the arguments to "print_unknown_data()", asguy2005-06-161-1/+11
* Bounds-check the individual components of a SAP reply.guy2005-05-061-2/+2
* Add an "fn_printzp()" routine for printing null-padded strings (stringsguy2005-05-061-2/+36
* Don't run past the end of the data when printing unknown data.guy2005-04-261-1/+3
* Don't dump core if a null "struct tok" array pointer is passed toguy2005-04-251-5/+7
* -add basic support for codeset shifting for IE printing in the frame-relay pr...hannes2005-03-211-3/+3
* Make "tflag" count the number of "-t"s, to make it more obvious whatguy2004-06-151-6/+13
* merge error for tok2str.mcr2004-04-291-2/+4
* change tok2str API to permit caller to providemcr2004-04-291-11/+20
* From Gisle Vanem: give "tok2str()" 4 static buffers it can fill in, soguy2004-04-281-4/+8
* pave the way for eliminating print_unknown_data() and subsequent hex_print() ...hannes2003-12-291-21/+3
* Have the configure script arrange that the Makefile define _U_guy2003-11-161-4/+4
* From Neil Spring:guy2003-11-151-4/+4
* fix display of correct offset for hexdumpshannes2003-10-021-2/+2
* As per a comment by Alex Medvedev <alexm@pycckue.org>, start the searchguy2003-07-301-9/+9
* Fix fencepost error in fn_printn() which would return a truncationfenner2003-04-211-9/+4
* From Gisle Vanem: use ISO 8601 date/time format in "-tttt" mode.guy2003-03-041-7/+9
* From Gisle Vanem <giva@bgnett.no>:guy2003-02-081-13/+21
* add mask2plen function to util.channes2002-12-221-1/+32
* new function bittok2str()hannes2002-11-071-1/+46
* don't attempt to hexdump if length == 0hannes2002-10-111-1/+4
* Get rid of some unnecessary includes (<time.h>, <netdb.h>, and <ctype.h>guy2002-08-061-4/+1
* From Motonori Shindo <mshindo@mshindo.net>: squelch warnings from someguy2002-08-021-2/+2
* Added support for Win32, based on WinPcap.risso2002-08-011-6/+12
* yet another hexdump routine;hannes2002-07-181-1/+29
* Clean up "safeputchar()" a bit.guy2002-07-161-3/+3
* In "safeputchar()", use the result of extracting an unsigned characterguy2002-07-161-4/+4