aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/commview.c
AgeCommit message (Collapse)AuthorFilesLines
2011-04-06From Jakub Zawadzki:guy1-20/+20
file_read(buf, bsize, count, file) macro is compilant with fread function and takes elements count+ size of each element, however to make it compilant with gzread() it always returns number of bytes. In wiretap file_read() this is not really used, file_read is called either with bsize set to 1 or count to 1. Attached patch remove bsize argument from macro. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36491 f5534014-38df-0310-8fa8-9805f1628bb7
2011-03-27Added a missing break.stig1-1/+1
Coverity 492. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36356 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-20Fix bug #5509: CommView file format now uses reserved bytes and adds a sfisher1-14/+16
new use for the direction field per: http://www.tamos.com/htmlhelp/commview/logformat.htm Add basic support for new fields and don't reject files that fit the new format. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35234 f5534014-38df-0310-8fa8-9805f1628bb7
2010-06-06Don't use fwrite directly when writing a dump file; call it throughguy1-38/+34
wtap_dump_file_write(). Replace various wrappers around fwrite() with wtap_dump_file_write(), or at least make the wrappers call wtap_dump_file_write(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33116 f5534014-38df-0310-8fa8-9805f1628bb7
2009-05-31Change my e-mail addresssfisher1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28537 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-01Fix for: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2926 :morriss1-9/+14
provide a default case (returning an error) to prevent wiretap from asserting out because we didn't set the packet encapsulation. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26327 f5534014-38df-0310-8fa8-9805f1628bb7
2007-11-27Add support for showing wireless LAN info (signal strength / rate / channel)sfisher1-4/+22
in Wireshark when reading CommView files. Also write out these values when coming from a file format with encapsulation type 802.11 with radio. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23617 f5534014-38df-0310-8fa8-9805f1628bb7
2007-11-26Change %G to %Y for year in strftime() so it works on Windows also (%G is an ↵sfisher1-6/+6
extension found at least on OS X). Also change from 4 to 5 bytes in each strftime() to allow space for the NULL terminator with 4 character outputs. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23595 f5534014-38df-0310-8fa8-9805f1628bb7
2007-11-26Add writing support for the CommView file format.sfisher1-6/+139
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23594 f5534014-38df-0310-8fa8-9805f1628bb7
2007-11-24Initial checkin of support to read TamoSoft's CommView packet capture filessfisher1-0/+267
per enhancement bug #1795. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23558 f5534014-38df-0310-8fa8-9805f1628bb7