summaryrefslogtreecommitdiff
path: root/util.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* whitespace cleanupitojun2002-06-111-2/+2
* Introduce tok2strary(), similar to tok2str() except it takes anfenner2001-10-081-1/+20
* Handle negative timestamps in relts_print().fenner2001-09-171-2/+6
* Add some const qualifiersfenner2001-09-101-6/+9
* remove gnuc.h and __deadassar2000-07-111-2/+2
* remove non-STDC codeassar2000-07-011-28/+1
* fix safeputc, the if statment was completely reverseditojun2000-06-211-3/+3
* (ts_print): fix printing in `-tttt' style. From "Gisle Vanem"assar2000-06-101-3/+3
* avoid possible infinite loop in relts_print().itojun2000-06-031-56/+77
* (ts_print): add new styles of timestamps.assar2000-06-011-17/+32
* s/sprintf/snprintf/.itojun2000-01-171-2/+2