Martin Mathieson
03d7032acd
Show ops, etc even when no filter set.
...
Also avoid crash I was seeing when changing preferences.
svn path=/trunk/; revision=25379
2008-05-26 08:22:33 +00:00
Jaap Keuter
ab26f8d8a3
From cfreeer:
...
Wimax vals_tek_encryption_ids does not confirm the latest spec. Zero should be
"No TEK encryption" instead of "Reserved".
svn path=/trunk/; revision=25367
2008-05-23 05:36:09 +00:00
Jeff Morriss
a5cee04fad
Move the file utility functions from wiretap to libwsutil so that
...
libwireshark (and the plugins using those functions) do not depend on
wiretap on Windows.
While doing that, rename the eth_* functions to ws_*.
svn path=/trunk/; revision=25354
2008-05-22 15:46:27 +00:00
Stig Bjørlykke
d1208e55e1
Initialize aitem.
...
svn path=/trunk/; revision=25302
2008-05-14 11:02:39 +00:00
Tomas Kukosa
1e82573549
fix missing brackets causing uninitialized hidden_item
...
svn path=/trunk/; revision=25300
2008-05-14 10:48:59 +00:00
Tomas Kukosa
19c327d160
From Anders Broman:
...
Patches for broken build
svn path=/trunk/; revision=25298
2008-05-14 10:21:41 +00:00
Stig Bjørlykke
38011c53da
From cfreeer (bug 2541):
...
Add tlv_tree for PKM_FLOW_CONTROL and MAX_SUPPT_SECURITY_ASSNS.
svn path=/trunk/; revision=25297
2008-05-14 08:46:47 +00:00
Stig Bjørlykke
fe1738c394
From cfreeer (bug 2540):
...
Corrected use of hf_snp_auth_policy_support.
svn path=/trunk/; revision=25296
2008-05-14 08:38:58 +00:00
Jaap Keuter
9b0b67d6bb
From cfreeer:
...
The offset need to be increased while decoding.
svn path=/trunk/; revision=25292
2008-05-14 05:52:32 +00:00
Anders Broman
d22975841b
Fix some of the Errors/warnings detected by checkapi.
...
svn path=/trunk/; revision=25283
2008-05-13 06:55:45 +00:00
Bill Meier
fe5c2d9820
g_string_sprintf --> g_string_printf and g_string_sprintfa --> g_string_append_printf
...
svn path=/trunk/; revision=25276
2008-05-11 18:33:49 +00:00
Jaap Keuter
cacee64927
From Hans-Peter Bock:
...
Attached to this post you find a patch for integration into wireshark that adds
a dissector for SERCOS III, ethertype 0x88cd.
svn path=/trunk/; revision=25270
2008-05-10 14:44:32 +00:00
Anders Broman
8db8e90221
Use PROTO_ITEM_SET_HIDDEN().
...
Fix ID marking
Add checkapi to makefiles
svn path=/trunk/; revision=25260
2008-05-09 07:07:50 +00:00
Anders Broman
db6d0b9a4c
Run checkAPI in plugins dir.
...
svn path=/trunk/; revision=25259
2008-05-08 18:24:08 +00:00
Anders Broman
bc12adaf1b
Add Id tag.
...
svn path=/trunk/; revision=25236
2008-05-05 19:06:31 +00:00
Anders Broman
ad890397cc
Don't use proto_tree_add_item_hidden().
...
svn path=/trunk/; revision=25235
2008-05-05 18:58:53 +00:00
Anders Broman
57ebbbbb2c
Dount use proto_tree_add_item_hidden().
...
svn path=/trunk/; revision=25233
2008-05-05 17:19:51 +00:00
Anders Broman
023a81709a
Make it possible to run checkapi on all plugins trough makefile.nmake
...
Note: Commented out in the plugins giving errors for now.
svn path=/trunk/; revision=25231
2008-05-05 16:55:19 +00:00
Jaap Keuter
40b433984b
Now with EAP dissector safety valve.
...
svn path=/trunk/; revision=25204
2008-04-30 10:59:48 +00:00
Jaap Keuter
6e9d862cd8
From cfreeer:
...
There is no EAP decoder to decode EAP messages packed in Wimax PKM messages.
I called the EAP decoder found in the Wireshark.
svn path=/trunk/; revision=25203
2008-04-30 09:15:50 +00:00
Bill Meier
2bce8b248c
Bug 2493: Fix (Part 3 of 3):
...
To prevent Windows compiler errors when using flex 2.5.35.
Ignore 'signed /unsigned mismatch' warnings
svn path=/trunk/; revision=25174
2008-04-25 18:26:54 +00:00
Bill Meier
0d4b874b44
Bug 2493: Fix (Part 2):
...
To prevent Windows compiler errors when using flex 2.5.35.
Fixes "missing unistd.h" and yywrap "mismatched parameter" warnings
[Upcoming Part 3: ignore 'signed /unsigned mismatch' errors]
svn path=/trunk/; revision=25173
2008-04-25 17:40:29 +00:00
Stig Bjørlykke
b472360c7d
From Mohan (bug 2501):
...
Add a missing break statement.
svn path=/trunk/; revision=25168
2008-04-24 21:51:14 +00:00
Jaap Keuter
81db026301
Fix for bug 2475:
...
Add a preference to the UNISTIM dissector so that you can set the default port back to 5000, even though this conflicts with other dissectors.
svn path=/trunk/; revision=25118
2008-04-19 10:41:45 +00:00
Jörg Mayer
abaea4e100
The generated code warns about 'input' being unused. -Werror turns this into a failure
...
svn path=/trunk/; revision=25027
2008-04-14 21:29:29 +00:00
Jörg Mayer
46efef6b04
Get rid of some unused functions to prevent -Werror from causing the compile to fail
...
svn path=/trunk/; revision=25026
2008-04-14 21:24:12 +00:00
Ulf Lamping
b3d55eb095
clarify the stats_tree menu items
...
svn path=/trunk/; revision=25009
2008-04-14 01:11:07 +00:00
Ulf Lamping
8b4f26afc6
fix the Win32 build: tfs_yes_no -> tfs_yes_no_sbc
...
svn path=/trunk/; revision=24840
2008-04-08 03:50:44 +00:00
Jaap Keuter
b3e4a7bb02
Fix for bug 2401:
...
Repair header field type definitions, based on a patch from Chris Yang.
svn path=/trunk/; revision=24839
2008-04-07 22:46:50 +00:00
Stephen Fisher
726a1caaf1
- Remove GLIB1 code
...
- Change ugly GLIB version checking statements to GLIB_CHECK_VERSION
- Remove ws_strsplit files because we no longer need to borrow GLIB2's
g_strsplit code for the no longer supported GLIB1 builds
svn path=/trunk/; revision=24829
2008-04-07 05:22:54 +00:00
Stephen Fisher
13802b1d84
Remove GTK1 code.
...
svn path=/trunk/; revision=24827
2008-04-07 04:34:54 +00:00
Martin Mathieson
50ea8167c1
Make wimax mac mgmt protocol findable by name.
...
Bug 2409.
svn path=/trunk/; revision=24782
2008-04-05 05:04:14 +00:00
Martin Mathieson
88744abd6f
Don't load in files unless tree is set.
...
If a user wants to load or capture quickly, they won't want to wait
for the file to be processed after the first frame.
svn path=/trunk/; revision=24781
2008-04-05 04:48:36 +00:00
Martin Mathieson
4cfefcc5a4
Use proto_register_prefix() with wimaxasncp plugin.
...
Also fix a crash problem seen with no filters (i.e. NULL tree).
svn path=/trunk/; revision=24767
2008-04-04 05:38:13 +00:00
Jaap Keuter
b704bdcbc5
Remove the pre-release flag from FILEFLAGS in the resource file.
...
svn path=/trunk/; revision=24757
2008-03-29 23:04:33 +00:00
Anders Broman
1a2b14d60c
In glib 2.16 g_malloc Changed from:
...
- gpointer g_malloc (gulong n_bytes) G_GNUC_MALLOC;
to:
+ gpointer g_malloc (gsize n_bytes) G_GNUC_MALLOC;
svn path=/trunk/; revision=24710
2008-03-21 16:10:47 +00:00
Gerald Combs
121e3d432e
Try to fix distcheck again.
...
svn path=/trunk/; revision=24637
2008-03-15 00:21:02 +00:00
Gerald Combs
b1bd2972ff
Fix distcheck.
...
svn path=/trunk/; revision=24636
2008-03-14 23:43:35 +00:00
Gerald Combs
7519d12f8f
Make sure the Infiniband plugin is properly built and packaged.
...
svn path=/trunk/; revision=24634
2008-03-14 21:53:16 +00:00
Stig Bjørlykke
5d9ca601d8
Added missing Id keywords, eol-style and ignore targets.
...
svn path=/trunk/; revision=24632
2008-03-14 19:48:49 +00:00
Stig Bjørlykke
3351980a29
Make infiniband plugin compile.
...
svn path=/trunk/; revision=24631
2008-03-14 19:35:54 +00:00
Gerald Combs
68d23708bc
From Stephen Donnelly via bug 2235:
...
This plugin implements a dissector for Infiniband. It is released
under the GPL v2.
Rather than using say libpcap to capture raw (unframed) IP packets
from near the top of an IPoIB stack, this plugin dissects link level
Infiniband frames.
Infiniband trace files can be read from Endace ERF format trace
files, or from libpcap DLT_ERF files containing ERF TYPE_INFINIBAND
records. There is currently no native DLT_INFINIBAND in libpcap.
Each record contains a hardware timestamp, capture metadata such as
port Id, and a complete link level Infiniband frame starting from
the Local Route Header.
svn path=/trunk/; revision=24628
2008-03-14 17:47:53 +00:00
Jörg Mayer
dc6789a84f
Set default port of Unistim from 5000 to 0: It grabs the TAPA
...
packets that I need.
The Unistim dissector should be made a heuristic dissector that
is willing to coexist with other dissectors. Until such a time
the port should remain 0.
svn path=/trunk/; revision=24573
2008-03-06 12:54:08 +00:00
Stephen Fisher
9ef2001f7b
Fix the declaration of a true_false_string
...
svn path=/trunk/; revision=24572
2008-03-05 22:28:51 +00:00
Anders Broman
7a5b90df34
From Peter Johansson :
...
Support for EtherCAT subdissectors.
svn path=/trunk/; revision=24566
2008-03-05 20:42:58 +00:00
Jaap Keuter
fcf8509f69
Create proper dependancies for plugin.c
...
svn path=/trunk/; revision=24520
2008-03-01 12:31:01 +00:00
Stig Bjørlykke
fc5527ef6c
Quote argument to test in plugins Makefiles, as proposed by Greg A. Woods.
...
svn path=/trunk/; revision=24488
2008-02-27 16:18:30 +00:00
Jeff Morriss
74905320f8
From Richard Kuemmel via http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1430 : fix length mask.
...
svn path=/trunk/; revision=24459
2008-02-25 15:21:20 +00:00
Gerald Combs
7abeb02747
If we have an SVN revision number, use it as the build number under Windows
...
instead of "0".
svn path=/trunk/; revision=24376
2008-02-18 18:08:14 +00:00
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
Anders Broman
c644b82279
Ethercat plugin
...
Author :
Richard Kuemmel <r.kuemmel[AT]beckhoff.de>
Updates and bugfixes:
Peter Johansson <peterjohansson73[AT]gmail.com>
svn path=/trunk/; revision=23174
2007-10-14 15:45:24 +00:00