Age | Commit message (Collapse) | Author | Files | Lines |
|
which could use lseek() and were thus expensive due to system call
overhead. To avoid making a system call for every packet on a
sequential read, we maintained a data_offset field in the wtap structure
for sequential reads.
It's now a routine that just returns information from the FILE_T data
structure, so it's cheap. Use it, rather than maintaining the data_offset
field.
Readers for some file formats need to maintain file offset themselves;
have them do so in their private data structures.
svn path=/trunk/; revision=42423
|
|
svn path=/trunk/; revision=42413
|
|
svn path=/trunk/; revision=42412
|
|
svn path=/trunk/; revision=42409
|
|
svn path=/trunk/; revision=42408
|
|
currently just a wrapper around file_seek(), but could be implemented by
reading forward if, for example, we add support for reading
(sequentially only!) from a pipe.
Sort the declarations of file-reading routines into one block.
svn path=/trunk/; revision=42391
|
|
expand the resulting comment a bit.
svn path=/trunk/; revision=42390
|
|
encapsulations.
For pre-V9 AiroPeek captures, leave the radio information in the packet
data, just as we do with the Prism, AVS, radiotap, and NetMon headers.
Add a dissector for it.
svn path=/trunk/; revision=42379
|
|
svn path=/trunk/; revision=42376
|
|
incorrectly used where bit-wise AND (&) was meant.
svn path=/trunk/; revision=42373
|
|
as a suffix for pcap-ng files.
svn path=/trunk/; revision=42330
|
|
Fix a comment.
svn path=/trunk/; revision=42311
|
|
would have filled in had it not failed. (Thanks and a tip of the Hatlo
hat to the Clang static analyzer for complaining about this.)
svn path=/trunk/; revision=42306
|
|
Clang static analyzer.
svn path=/trunk/; revision=42304
|
|
svn path=/trunk/; revision=42270
|
|
and use it.
Fix some comments.
svn path=/trunk/; revision=42269
|
|
svn path=/trunk/; revision=42256
|
|
in little-endian byte order, as that's what the dissector expects. Add
a pletohl() macro for that purpose.
Fix comments (the Veriwave code is *not* writing data to a file!) and
clean up indentation.
svn path=/trunk/; revision=42255
|
|
headers.
Fix some indentation.
svn path=/trunk/; revision=42252
|
|
global variables into a structure that's attached to the wtap_t as
private data, and make all the per-*packet* global variables local
variables.
svn path=/trunk/; revision=42251
|
|
native file formats, so try them first.
Move eyesdn_open() to the section for open routines for file formats
that have a magic number - EyeSDN traces all start with "EyeSDN".
svn path=/trunk/; revision=42250
|
|
we know we had a real problem with the file. If we just get a short
read, return 0, as it means the file is probably not a VWR file.
If we get an invalid message length when reading packets (rather than
when looking for the FPGA version), return WTAP_ERR_BAD_FILE and an
"Invalid message record length" indication, not a generic fallback
"can't read the file" error.
For file_tell() errors, fetch the error code with file_error().
For file_seek() errors, use the error file_seek returned.
svn path=/trunk/; revision=42249
|
|
Pointed out by Martin Kaiser in bug 7196.
svn path=/trunk/; revision=42248
|
|
svn path=/trunk/; revision=42231
|
|
wtap_dump_fdopen_ng() and add a dummy IDB to be able to write pcapng files.
Solves https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6969
mergecap: Can't open or create <FILENAME>: Internal error.
We might want to add a SHB comment from mergecap giving the merged filenames or something like that, Merging of pcapng files
is a different issue, idealy we should probably start using several SHB:s in that case.
svn path=/trunk/; revision=42230
|
|
svn path=/trunk/; revision=42227
|
|
svn path=/trunk/; revision=42197
|
|
- fix a few small memory leaks;
- fix some indentation to match style used (gnu);
- remove trailing whitespace;
- ...
svn path=/trunk/; revision=42196
|
|
svn path=/trunk/; revision=42189
|
|
svn path=/trunk/; revision=42173
|
|
recently later.
svn path=/trunk/; revision=42167
|
|
svn path=/trunk/; revision=42159
|
|
svn path=/trunk/; revision=42156
|
|
From Tom Cook and Tom Alexander.
1. A VWR encapsulation that reads VeriWave capture files (*.vwr)
generated from
WaveTest test hardware
2. Dissectors that display the VeriWave tap headers (both 802.11 and
Ethernet)
3. A dissector for the WaveAgent protocol. The WaveAgent dissector is
heuristic and parses the WaveAgent packet (a UDP payload).
The WaveAgent dissector has been Fuzz tested.
The VWR ENCAP and dissectors have been used extensively by VeriWave
customers in a special version of WireSark compiled by VeriWave.
svn path=/trunk/; revision=42155
|
|
svn path=/trunk/; revision=42147
|
|
svn path=/trunk/; revision=42146
|
|
svn path=/trunk/; revision=42145
|
|
svn path=/trunk/; revision=42144
|
|
patch to fix mp2t.c to reject more byte streams that are not MPEG2.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7132
svn path=/trunk/; revision=42127
|
|
be OK.
svn path=/trunk/; revision=42125
|
|
Unable to display the correct IEEE802.11 MCS data rates due to header definition
The problem is due to the ieee_802_11_phdr.data_rate is defined as guint8,
since this variable is counting number of 0.5Mbps units, any datarates which is
higher than 255Mbps would get wrapped up. In the above example, only the lower
8bit value will be put into the ieee_802_11_phdr which is 0x04 and result in
the incorrect 2Mbps display.
There are 802.11n WLAN product is capable to transmit @450Mbps, we should fix
this data_rate from guint8 to guint16.
#BACKPORT
svn path=/trunk/; revision=42123
|
|
return the right error code and information string.
InfoVista bought Accellent Group, and, at least according to the
InfoVista Web site, it's "5View", not "5Views".
svn path=/trunk/; revision=42119
|
|
svn path=/trunk/; revision=42118
|
|
svn path=/trunk/; revision=42117
|
|
Write timetamps for the interface statistic blocks the way specified
by http://www.winpcap.org/ntar/draft/PCAP-DumpFileFormat.html
svn path=/trunk/; revision=42080
|
|
svn path=/trunk/; revision=42079
|
|
svn path=/trunk/; revision=42077
|
|
calling g_free() on that argument after calling destroy_k12_file_data()
is always an error.
svn path=/trunk/; revision=42067
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7084
svn path=/trunk/; revision=42062
|
|
svn path=/trunk/; revision=42053
|