Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
Coverity 492.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36356 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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
|
|
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
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28537 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
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
|
|
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
|
|
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
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23594 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
per enhancement bug #1795.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23558 f5534014-38df-0310-8fa8-9805f1628bb7
|