Bill Meier
73f45b105e
Fix a (never used) 'anonymous struct'
...
svn path=/trunk/; revision=24279
2008-02-07 00:59:14 +00:00
Stig Bjørlykke
b0df21c5fd
Eliminate an anonymous struct, as noticed by Andrew Hood.
...
svn path=/trunk/; revision=24277
2008-02-06 22:05:10 +00:00
Stig Bjørlykke
cfc7b3276c
Rewrote some prohibited APIs in plugins/ (sprintf, strcpy, strcat).
...
svn path=/trunk/; revision=24274
2008-02-05 22:30:32 +00:00
Stig Bjørlykke
d5d2e97b47
Fixed some more malloc -> g_malloc, free -> g_free, strdup -> g_strdup.
...
svn path=/trunk/; revision=24180
2008-01-24 19:30:43 +00:00
Ulf Lamping
adccc10596
add some parentheses as suggested by the OS X buildbot
...
svn path=/trunk/; revision=24122
2008-01-17 19:30:35 +00:00
Ulf Lamping
6cfbb485bf
better conformance to the released DCP protocol spec:
...
- redesign/refactoring the code to support BlockQualifier
- fix handling of BlockInfo
- rename some display strings for better spec conformance
- remove LLDP suboption
svn path=/trunk/; revision=24120
2008-01-17 18:29:51 +00:00
Jeff Morriss
283ddb3d0c
Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2186 (many unnamed structs in packet-ecatmb.h) by adding predictable (but not very descriptive) struct names
...
svn path=/trunk/; revision=24061
2008-01-10 22:19:53 +00:00
Richard van der Hoff
1350d63c1e
From Chris Maynard (bug 1852):
...
These packet-g*.c files all have display filter issues:
1) packet-gryphon.c: PROTOABBREV is "gryphon", but display filter fields are
prefixed with only "gryph".
2) packet-gmrp.c: PROTOABBREV is "gmrp", but display filter fields are prefixed
with "garp".
3) packet-gssapi.c: PROTOABBREV is "gss-api", but display filter fields are
prefixed with "gssapi".
4) packet-gvrp.c: PROTOABBREV is "gvrp", but display filter fields are prefixed
with "garp", most of which conflict with packet-gmrp.c's display filter fields.
svn path=/trunk/; revision=24058
2008-01-10 16:35:54 +00:00
Stig Bjørlykke
22afd80efc
As noted by David Halik in bug 2172:
...
Removed an unnamed union member in ethercat.
svn path=/trunk/; revision=24024
2008-01-07 20:56:24 +00:00
Jörg Mayer
0c797861ba
Warning fixes: function declaration isn’t a prototype
...
svn path=/trunk/; revision=23862
2007-12-14 15:14:40 +00:00
Jaap Keuter
b5a733b0a8
Fix for bug 2098:
...
Test that message length is at least the minumum required, otherwise generate expert item..
svn path=/trunk/; revision=23854
2007-12-13 08:02:29 +00:00
Jaap Keuter
bd5066006c
The referenced sample files should be complete and correct.
...
svn path=/trunk/; revision=23848
2007-12-12 22:10:50 +00:00
Jörg Mayer
5998d1dbd2
mgcp is now in epan/dissectors/
...
svn path=/trunk/; revision=23843
2007-12-11 22:03:26 +00:00
Tomas Kukosa
910c8f6281
From Ales Kocourek
...
example plugin updated
svn path=/trunk/; revision=23839
2007-12-11 11:54:15 +00:00
Guy Harris
191da2295c
Get rid of unused file. (No other plugin has it.)
...
svn path=/trunk/; revision=23812
2007-12-08 22:52:02 +00:00
Gerald Combs
2a67c4d472
Change calls to g_ntohs, g_ntohl, g_htons, and g_htonl to their
...
epan/pint.h equivalents. Add warnings about trying to operate on tvb
data directly.
svn path=/trunk/; revision=23787
2007-12-06 18:53:58 +00:00
Martin Mathieson
b0998315f9
Fix some specifier strings (%d -> %u).
...
svn path=/trunk/; revision=23785
2007-12-06 17:47:00 +00:00
Bill Meier
69fbf4c69f
Simplify Windows Makefile to improve maintainability
...
by reducing the number of changes req'd to add a plugin.
svn path=/trunk/; revision=23772
2007-12-05 19:43:50 +00:00
Stig Bjørlykke
cbcfc45a72
I suppose we still need va_start/va_end when using se_strdup_vprintf.
...
svn path=/trunk/; revision=23769
2007-12-05 13:06:26 +00:00
Guy Harris
0be3a6524f
To generate a session-lifetime string given a format and va_list, use
...
se_strdup_vprintf().
svn path=/trunk/; revision=23765
2007-12-05 10:27:49 +00:00
Bill Meier
6e6d13ccb9
Add missing profinet to maintainer-clean
...
svn path=/trunk/; revision=23757
2007-12-05 03:23:54 +00:00
Tomas Kukosa
4df43619aa
Codec plugin example. The stub for ImTelephone libraries.
...
(It is not compiled by default.)
svn path=/trunk/; revision=23699
2007-12-03 09:59:18 +00:00
Gerald Combs
70510e21c8
Change each filter prefix to match the protocol name ("wmx"). Add a
...
"wmx" prefix to each sub-protocol. "wmx"-ize the preferences and
dissector registration.
svn path=/trunk/; revision=23660
2007-11-28 22:56:27 +00:00
Gerald Combs
af85c74ade
Tweak the order in which fields are registered, so that they don't
...
show up as protocols.
svn path=/trunk/; revision=23656
2007-11-28 22:29:00 +00:00
Guy Harris
9c89cdaaa3
strcasecmp(), strncasecmp(), g_strcasecmp(), and g_strncasecmp() delenda
...
est. Use g_ascii_strcasecmp() and g_ascii_strncasecmp(), and supply our
own versions if they're missing from GLib (as is the case with GLib
1.x).
In the code to build the list of named fields for Diameter, don't use
g_strdown(); do our own g_ascii_-style upper-case to lower-case mapping
in the hash function and use g_ascii_strcasecmp() in the compare
function.
We do this because there is no guarantee that toupper(), tolower(), and
functions that use them will, for example, map between "I" and "i" in
all locales; in Turkish locales, for example, there are, in both
upper case and lower case, versions of "i" with and without a dot, and
the upper-case version of "i" is "I"-with-a-dot and the lower-case
version of "I" is "i"-without-a-dot. This causes strings that should
match not to match.
This finishes fixing bug 2010 - an earlier checkin prevented the crash
(as there are other ways to produce the same crash, e.g. a bogus
dictionary.xml file), but didn't fix the case-insensitive string matching.
svn path=/trunk/; revision=23623
2007-11-27 18:52:51 +00:00
Jeff Morriss
b2991dfd21
Oops, don't put a comment inside a comment
...
svn path=/trunk/; revision=23610
2007-11-26 19:11:26 +00:00
Jeff Morriss
309f7503e5
Get rid of C++/C99 style comments--not all compilers support them
...
svn path=/trunk/; revision=23608
2007-11-26 18:55:17 +00:00
Jeff Morriss
565d493671
Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1914 when building out of the source tree by not issuing a complaint if the wimaxasncp dictionary is not found. This is ugly but it's how diameter does it, too, and I am not aware of a better way.
...
svn path=/trunk/; revision=23565
2007-11-24 16:09:47 +00:00
Martin Mathieson
9fb579537e
- Prettify "Value" node that contains EAP tree with top-level details
...
- Lose unuseful header file
svn path=/trunk/; revision=23499
2007-11-19 19:07:49 +00:00
Martin Mathieson
24d6a39eb0
Embedding EAP inside wimaxasncp.
...
svn path=/trunk/; revision=23474
2007-11-16 23:03:09 +00:00
Guy Harris
6f1740aa6c
Cast "char"s to "unsigned char" before handing them to <ctype.h> macros.
...
svn path=/trunk/; revision=23417
2007-11-10 00:36:01 +00:00
Martin Mathieson
0f63de9281
From Stephen Croll.
...
Dynamically register filter fields from TLV definitions.
svn path=/trunk/; revision=23414
2007-11-09 14:41:04 +00:00
Anders Broman
6226035893
Apply yet another set of the optimization patches:
...
When offset parameter is 0 replace tvb_bytes_exist() with the faster tvb_length().
On the other hand
if (tvb_bytes_exist(tvb, 0, 20)
is more readable than
if (tvb_length(tvb) >= 20
so only do it in heuristic function
svn path=/trunk/; revision=23412
2007-11-09 06:01:18 +00:00
Anders Broman
a6850bb34e
Delete generated files at distclean.
...
svn path=/trunk/; revision=23368
2007-11-05 20:44:10 +00:00
Anders Broman
dbcabb1938
Get rid of most of the legacy oid stuff.
...
svn path=/trunk/; revision=23333
2007-11-01 22:07:43 +00:00
Stephen Fisher
d33e4cc381
Change a few g_string_append_printf() (GTK2 only) calls to g_strdup_printf()
...
and g_string_append() to work on GTK 1.2 also.
svn path=/trunk/; revision=23311
2007-10-30 05:49:41 +00:00
Martin Mathieson
7c80a7feae
Add expert item for cases of unmatched function type or message op.
...
svn path=/trunk/; revision=23276
2007-10-26 10:38:16 +00:00
Jeff Morriss
c7bed1298f
s/fopen()/eth_fopen()/ in plugins/ (for bug 1827).
...
svn path=/trunk/; revision=23221
2007-10-17 21:25:16 +00:00
Jeff Morriss
0918c7159b
sizeof() returns a 64-bit number when compiling for 64-bit (and a 32-bit number when compiling for 32-bit) so cast sizeof() values that are passed to g_snprintf() to guint (since that appears to be the intent of the display).
...
svn path=/trunk/; revision=23205
2007-10-16 14:54:51 +00:00
Jörg Mayer
4604a19971
Fix a warning about different variable sizes that prevented compilation
...
with gcc.
svn path=/trunk/; revision=23204
2007-10-16 14:30:41 +00:00
Stig Bjørlykke
fe8e1e3fbc
Fixed compiler errors.
...
svn path=/trunk/; revision=23196
2007-10-15 21:46:08 +00:00
Anders Broman
407faa6a2d
Try to fix the buildbot.
...
svn path=/trunk/; revision=23193
2007-10-15 20:12:02 +00:00
Anders Broman
e922e453dd
Add ethercat again
...
svn path=/trunk/; revision=23191
2007-10-15 19:19:33 +00:00
Anders Broman
3c419f798c
Make MGCP a builtin dissector to reduce the number of plugins.
...
(Leave the MGCP plugin dir for now).
svn path=/trunk/; revision=23190
2007-10-15 18:57:10 +00:00
Anders Broman
721796617d
From Peter Johansson:
...
addressing the compilation problems
svn path=/trunk/; revision=23188
2007-10-15 18:39:58 +00:00
Bill Meier
4644ce7263
Fix Windows maintainer-clean/distclean/clean to recurse thru subdirs only once (instead of worst-case 1+2+3 times)
...
svn path=/trunk/; revision=23187
2007-10-15 16:44:31 +00:00
Martin Mathieson
bafcd03634
In source tree, move wimaxasncp TLV files from plugin folder -> new top-level wimaxasncp folder.
...
svn path=/trunk/; revision=23184
2007-10-15 12:32:19 +00:00
Anders Broman
dfec0c6079
Remove Ethercat from the makefiles(second try)
...
svn path=/trunk/; revision=23180
2007-10-15 05:45:50 +00:00
Anders Broman
2cc898ef83
Remove Ethercat from the makefiles
...
svn path=/trunk/; revision=23179
2007-10-15 05:26:22 +00:00
Jaap Keuter
c9131582af
Someone has a compromised filesystem since it contained all kinds of stuff from other plugins.
...
Tried to clean it up and get it in line with the rest of the codebase.
Still doesn't compile without warnings though.
svn path=/trunk/; revision=23177
2007-10-14 21:01:01 +00:00