summaryrefslogtreecommitdiff
path: root/util.c
Commit message (Expand)AuthorAgeFilesLines
* Rename 'tcpdump-stdinc.h' to 'netdissect-stdinc.h'Francois-Xavier Le Bail2015-09-101-1/+1
* Move functions in util.c that are used in the dissectors into aBrooks Davis2015-04-151-720/+0
* dismiss NETDISSECT_REWORKED macroDenis Ovsienko2015-03-221-1/+0
* If we don't find a CR-LF or LF, print up to the end of the packet.Guy Harris2014-10-191-0/+1
* Add a routine to print "text protocols", and add FTP/HTTP/SMTP/RTSP support.Guy Harris2014-10-191-0/+258
* ts_format only uses ndo if HAVE_PCAP_SET_TSTAMP_PRECISION is defined.Guy Harris2014-10-181-1/+5
* Allow builds if libpcap doesn't have pcap_set_tstamp_precision().Guy Harris2014-06-251-2/+20
* Merge pull request #377 from msekletar/masterGuy Harris2014-06-251-7/+10
|\
| * Introduce --time-stamp-precisionMichal Sekletar2014-05-141-7/+10
* | fix bittok2str_internal() w/o separator (GH #391)Denis Ovsienko2014-06-061-17/+6
|/
* Include <errno.h> on both Windows and UN*X.Guy Harris2014-05-041-1/+0
* u_intN_t is dead, long live uintN_t.Guy Harris2014-04-231-2/+2
* NDOize the rest of util.cDenis Ovsienko2014-04-141-17/+16
* Merge remote-tracking branch 'bpf/master'Denis Ovsienko2014-04-061-0/+1
|\
| * Define NETDISSECT_REWORKED in a bunch of files, and fix the issues it finds.Guy Harris2014-04-041-0/+1
* | fix a couple typosDenis Ovsienko2014-04-061-1/+1
|/
* NDOize some generic codeDenis Ovsienko2014-04-031-19/+19
* 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