Age | Commit message (Collapse) | Author | Files | Lines |
|
svn path=/trunk/; revision=47686
|
|
svn path=/trunk/; revision=46821
|
|
svn path=/trunk/; revision=46650
|
|
Use pkthdr instead of pseudo_header as argument for dissecting.
svn path=/trunk/; revision=45601
|
|
- speed up writing timestamp by avoiding g_snprintf()
- avoid call to strstr()
- don't use g_snprintf() for writing a liternal string
- avoid atio() for single-digit strings
- avoid some strcmp() calls where the release number at the end wasn't
important
svn path=/trunk/; revision=45091
|
|
support doesn't.
svn path=/trunk/; revision=45022
|
|
svn path=/trunk/; revision=45015
|
|
svn path=/trunk/; revision=45003
|
|
g_strlcpy().
svn path=/trunk/; revision=44608
|
|
writes a log.
Also re-line-up args under function definitions.
svn path=/trunk/; revision=44444
|
|
yesterday, also in _seek_read()). Spotted by running 'valgrind-wireshark.sh -2'.
svn path=/trunk/; revision=44043
|
|
svn path=/trunk/; revision=44019
|
|
svn path=/trunk/; revision=44016
|
|
svn path=/trunk/; revision=43675
|
|
(COPYING will be updated in next commit)
svn path=/trunk/; revision=43536
|
|
svn path=/trunk/; revision=42998
|
|
702403, 702404, 702405, 702406, 702407, 702408, 702409, 702410, 702411,
and 702412.
svn path=/trunk/; revision=42658
|
|
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=42077
|
|
avoid testing static for every conversion.
svn path=/trunk/; revision=41900
|
|
by Wiretap, to indicate whether certain fields in that structure
actually have data in them.
Use the "time stamp present" flag to omit showing time stamp information
for packets (and "packets") that don't have time stamps; don't bother
working very hard to "fake" a time stamp for data files.
Use the "interface ID present" flag to omit the interface ID for packets
that don't have an interface ID.
We don't use the "captured length, separate from packet length, present"
flag to omit the captured length; that flag might be present but equal
to the packet length, and if you want to know if a packet was cut short
by a snapshot length, comparing the values would be the way to do that.
More work is needed to have wiretap/pcapng.c properly report the flags,
e.g. reporting no time stamp being present for a Simple Packet Block.
svn path=/trunk/; revision=41185
|
|
Use 'static' in function definitions to match function declarations;
Do minor reformatting.
svn path=/trunk/; revision=40305
|
|
svn path=/trunk/; revision=38983
|
|
same.
Add to wiretap/pcap-common.c a routine to fill in the pseudo-header for
ATM (by looking at the VPI, VCI, and packet data, and guessing) and
Ethernet (setting the FCS length appropriately). Use it for both pcap
and pcap-ng files.
svn path=/trunk/; revision=38840
|
|
svn path=/trunk/; revision=37989
|
|
svn path=/trunk/; revision=37940
|
|
can't be saved in compress form" are both equivalent to "this file file
format requires seeking when writing it". Change the "can compress"
Boolean in the file format table to "writing requires seeking", give all
the entries the proper value, and do the checks for attempting to write
a file format to a pipe or write it in compressed format to common code.
This means we don't need to pass the "can't seek" flag to the dump open
routines.
svn path=/trunk/; revision=36575
|
|
svn path=/trunk/; revision=36202
|
|
svn path=/trunk/; revision=35954
|
|
svn path=/trunk/; revision=35373
|
|
48, and that's converting '0'-'9' to 0-9.
svn path=/trunk/; revision=34326
|
|
"received".
svn path=/trunk/; revision=33552
|
|
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().
svn path=/trunk/; revision=33116
|
|
wtap-int.h, and change the unions of pointers to those private data
structures into just void *'s.
Have the generic wtap close routine free up the private data, rather
than the type-specific close routine, just as the wtap_dumper close
routine does for its private data. Get rid of close routines that don't
do anything any more.
svn path=/trunk/; revision=32015
|
|
svn path=/trunk/; revision=30892
|
|
more than just dumping, indicate what stuff is used for dumping, and
note that it probably shouldn't be used for that (one should not have to
have a Catapult 2000 input file in order to write a Catapult 2000 output
file).
svn path=/trunk/; revision=30719
|
|
length.
svn path=/trunk/; revision=30709
|
|
file_externals instead.
Thanks Guy for helping to simplify this file!
svn path=/trunk/; revision=30708
|
|
threads reading from two different wtap_t's in different threads.
file_externals_table considered unnecessary - a wtap_t has a member
specifically intended to point to private data.
Clean up indentation.
svn path=/trunk/; revision=30707
|
|
svn path=/trunk/; revision=30704
|
|
Error: Found prohibited APIs in catapult_dct2000.c: sprintf,strcpy
svn path=/trunk/; revision=30701
|
|
svn path=/trunk/; revision=30700
|
|
difference between an int and a gsize/size_t matters.
svn path=/trunk/; revision=27637
|
|
svn path=/trunk/; revision=27562
|
|
svn path=/trunk/; revision=27198
|
|
svn path=/trunk/; revision=26429
|
|
I was counting the length without the terminating NULL, and didn't want one to be written to the string and copied into the file.
svn path=/trunk/; revision=25383
|
|
This commit adds a header file needed by my PDCP dissector.
(not yet ready to be added).
svn path=/trunk/; revision=25326
|
|
svn path=/trunk/; revision=25256
|
|
data...
svn path=/trunk/; revision=24765
|