Age | Commit message (Collapse) | Author | Files | Lines |
|
so we have to define them ourselves if they're not defined.
svn path=/trunk/; revision=11384
|
|
on success, so we clear it before calling them.
Assign the value of "strtol()" to a "long" and assign the value of
"strtoul()" to an "unsigned long", as those are the return types for
those functions - "gint32" and "guint32" might not be large enough for
the return value on an LP64 platform.
Check for errno being EINVAL, as that can happen if the number isn't
valid.
Before assigning the value returned by "strtol()" or "strtoul()" to the
final destination, check whether it's in the right range for that
destination.
svn path=/trunk/; revision=11382
|
|
"SLAB_ITEM_TYPE_DEFINE()" macro to define a union of the type of object
for the slab and a pointer to an object of that union type, and use that
type for items on the slab allocator free lists; that *should* avoid
having the compiler think two pointers to an item being added to or
removed from the free list don't point to the same object just because
they have different types.
svn path=/trunk/; revision=11306
|
|
object being allocated, rather than the name of the free list, as an
argument (with the name of the free list constructed from the name of
the type), and add macros to define and declare the free list, also
taking the type of the object being allocated.
svn path=/trunk/; revision=11305
|
|
specifies [i:] and i is >= the length of the frame.
svn path=/trunk/; revision=11258
|
|
wrapper around "link /lib", and not all Microsoft C compiler
distributions provide "lib".
svn path=/trunk/; revision=11242
|
|
updates to the asn2eth compiler and a new regenerated h235 dissector
svn path=/trunk/; revision=11231
|
|
possible to paste in WEP keys without any separators.
Add doxygen comments to strutil.h.
svn path=/trunk/; revision=11123
|
|
Fix assertion failure when absolute value of negative slice
offset > field length.
Remove code for handling negative slice lengths.
svn path=/trunk/; revision=11084
|
|
add a config.nmake option to control whether to build
libethereal.dll or not;
remove "./wiretap" from PATH to prevent problems due to
wrongly-loaded files;
build dissector.lib with MSVC;
move "print.c" and "ps.c" to the dissector helpers, as "print.c"
imports variables from packet-frame.c and packet-data.c, which
are in libethereal;
move "g711.c" out of the dissector helpers, as they're used only
by Ethereal in a tap, not in Tethereal or in any dissector;
add a .def file for libethereal;
arrange to declare global variables exported from libethereal
with "__declspec(dllimport)" when building programs that import
those variables;
update the NSIS installer.
Make the "configure" script define ETH_VAR_IMPORT as "extern".
svn path=/trunk/; revision=10834
|
|
Fix off-by-one errors in slice_func
svn path=/trunk/; revision=10831
|
|
"aim.fnac.ssi.buddyname==ab" caused segmentation fault. Fix
handling of unparsed value as byte string.
svn path=/trunk/; revision=10830
|
|
sign-extended.
svn path=/trunk/; revision=10767
|
|
any non-printable character in hex, as "\xNN". We rely on isprint(), which
may not be the best solution because it is locale-specific.
svn path=/trunk/; revision=10707
|
|
libraries to libftypes.
Provide caching of computed configure tests.
svn path=/trunk/; revision=10600
|
|
svn path=/trunk/; revision=10475
|
|
svn path=/trunk/; revision=10368
|
|
Document how a display operator can be added.
svn path=/trunk/; revision=10250
|
|
then make sure that the FIELD can participate in the relation that
is expressed in the display filter.
Note that tvbuff's *should* be able to participate in == comparisons, etc.,
but those functions need to be added to ftype-tvbuff.c first.
svn path=/trunk/; revision=10175
|
|
svn path=/trunk/; revision=10012
|
|
svn path=/trunk/; revision=10011
|
|
svn path=/trunk/; revision=9954
|
|
svn path=/trunk/; revision=9931
|
|
cast
svn path=/trunk/; revision=9845
|
|
svn path=/trunk/; revision=9844
|
|
svn path=/trunk/; revision=9843
|
|
GLIB_CFLAGS are just enough
svn path=/trunk/; revision=9779
|
|
svn path=/trunk/; revision=9512
|
|
hex_str_to_bytes(). Use the new routine to initialize any WEP keys we
have defined. This has the side effect of fixing an overflow if the user
entered a long WEP key.
svn path=/trunk/; revision=9471
|
|
it would make sense to add PCRE support for byte arrays containing an integer
or an IP address.
Avoid lengthy pointer constructs in cmp_matches().
svn path=/trunk/; revision=9343
|
|
appliedi (PCRE). In fact, all FT_TVBUFF fields.
svn path=/trunk/; revision=9329
|
|
svn path=/trunk/; revision=9233
|
|
svn path=/trunk/; revision=9225
|
|
svn path=/trunk/; revision=9224
|
|
svn path=/trunk/; revision=9185
|
|
New "matches" operater in display filter language. Uses PCRE.
If a "matches" operator is found in a dfilter
while libpcre has not been used to build the binary, then an
exception is thrown after using dfilter_fail() to set an apporporiate
error message.
svn path=/trunk/; revision=9182
|
|
one member - or have one that's not used, so get rid of those unions.
svn path=/trunk/; revision=9151
|
|
when adding them to the free list, cast the pointer to the structure to
a pointer to a "freed_item_t" which contains the "next" pointer.
This reduces the memory requirement for some of those structures, and
leaves us free to slab-allocate structures that have a "next" pointer
for other reasons.
svn path=/trunk/; revision=9150
|
|
structure, rather than separately allocating "fvalue_t"s and having the
"field_info" structure point to them - this appears to speed up protocol
tree construction a bit.
svn path=/trunk/; revision=9146
|
|
svn path=/trunk/; revision=9140
|
|
so they can't be freed with "g_free()"; keep a list of the chunks of
"fvalue_t"s, which are whare are allocated with "g_malloc()", so we can
free them all.
svn path=/trunk/; revision=9090
|
|
This function is also very small, so small that teh overhead for the actual function call and return is likely to be a significant part
of its execution time.
change it into a macro and make it thus slightly faster by eliminating the function call overhead.
svn path=/trunk/; revision=9083
|
|
Use a similar technique as was used in epan/proto.c to speed up the field_info
allocation/deallocation routines
svn path=/trunk/; revision=9082
|
|
any previously-allocated version first, so that they don't leak memory.
From Olivier Biot: add a "proto_item_append_string()" routine, to append
to the string value a protocol tree item has.
svn path=/trunk/; revision=8821
|
|
recurse into subdirectories doing "nmake -f Makefile.nmake distclean".
Have "nmake -f Makefile.nmake clean" not remove stuff that "make clean"
doesn't remove (such as Flex/Bison output and config.h files) - and have
"nmake -f Makefile.nmake distclean" remove stuff that "make distclean"
removes, including "tethereal-tap-register.c" and
"ethereal-tap-register.c".
svn path=/trunk/; revision=8672
|
|
svn path=/trunk/; revision=8281
|
|
The search uses a naive approach; more work is required to add a
Boyer-Moore Search algorithm.
svn path=/trunk/; revision=8280
|
|
generating display filters from FT_IPv4 fields.
svn path=/trunk/; revision=8110
|
|
use them when generating display filters to match field values. Use
"%{FLT_DIG}g" rather than "%{FLT_DIG}f" for FT_FLOAT.
svn path=/trunk/; revision=8109
|
|
methods, and use them when constructing display filters.
svn path=/trunk/; revision=8107
|