Guy Harris
1b444c55fd
Refer to the endianness arguments as "encoding" rather than
...
"representation" - we already use "representation" to refer to the text
representation of fields.
Change some routines with an endianness argument to make it a
representation argument instead;
svn path=/trunk/; revision=32929
2010-05-24 06:06:17 +00:00
Stig Bjørlykke
aa6dc5e692
Fixed warning "Field width should have type 'int'".
...
svn path=/trunk/; revision=32909
2010-05-20 14:53:29 +00:00
Jaap Keuter
eb6efdc4a4
Synchronize Makefiles even more.
...
svn path=/trunk/; revision=32808
2010-05-14 16:48:17 +00:00
Jeff Morriss
54082c6ed0
Add Cmake stuff to the source distribution so more people can try it out.
...
svn path=/trunk/; revision=32807
2010-05-14 16:27:03 +00:00
Guy Harris
998677339e
Create a new REP_NA value for fields where there are no representations
...
from which to choose; use that for protocol fields in some protocols
(modify the CORBA generator to use it, and manually update the generated
CORBA dissectors accordingly).
svn path=/trunk/; revision=32777
2010-05-13 00:20:40 +00:00
Jeff Morriss
d85cc79af1
Add some information about how/why this dissector is (partially) machine-generated and what that means to Wireshark maintainers.
...
svn path=/trunk/; revision=32577
2010-04-27 13:50:43 +00:00
Jeff Morriss
85885007ef
Make the OpcUa plugin's fields filterable (by giving them abbreviations).
...
(Thank you, sed, for doing the 90% of the work for me.)
Note that two of these files says "do not modify" implying that they are
machine generated but AFAIK we don't have the means to rebuild them.
svn path=/trunk/; revision=32561
2010-04-26 00:15:30 +00:00
Bill Meier
17b57d46d3
Simplify Makefile.nmake so that adding a new plugin to Makefile.nmake
...
requires only adding the plugin (directory) name to a list of plugins.
svn path=/trunk/; revision=32516
2010-04-19 14:38:20 +00:00
Jeff Morriss
b09f79f414
Be sure we initialize the p_id in hf's. This fixes
...
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3010 .
Also finish the implementation of ShowTimes for GOGs so that the variable gets
initialized (preventing another uninitialized variable warning from Valgrind).
svn path=/trunk/; revision=32465
2010-04-14 18:39:00 +00:00
Jeff Morriss
ef2548d093
Fix up MATE's hf display values so MATE will actually run.
...
svn path=/trunk/; revision=32464
2010-04-14 14:20:16 +00:00
Anders Broman
e611923124
Get rid of check_col().
...
svn path=/trunk/; revision=32428
2010-04-08 15:51:44 +00:00
Anders Broman
a10b76a99b
Get rid of check_col().
...
svn path=/trunk/; revision=32426
2010-04-08 15:21:07 +00:00
Bill Meier
5ccee6196a
Remove some uneeded #includes
...
svn path=/trunk/; revision=32419
2010-04-07 18:24:18 +00:00
Anders Broman
846eed1d9e
Get rid of check_col
...
svn path=/trunk/; revision=32401
2010-04-06 16:13:09 +00:00
Jeff Morriss
a2241bf7b8
Don't use %s as the format string in val_to_str().
...
svn path=/trunk/; revision=32400
2010-04-06 15:45:11 +00:00
Jeff Morriss
8f21d5c167
Don't use %s as the format string in val_to_str(). This fixes the fuzz failure in bug 4646.
...
svn path=/trunk/; revision=32398
2010-04-06 13:40:06 +00:00
Guy Harris
252178ed7e
The third argument to val_to_str() is a format string that gets passed
...
the value that couldn't be mapped to a string - it's an integer and
needs to be printed with an integer format. Fixes bug 4644.
svn path=/trunk/; revision=32396
2010-04-06 02:49:18 +00:00
Anders Broman
7cfa27b04b
Get rid of a bunch of check_col().
...
svn path=/trunk/; revision=32388
2010-04-05 20:04:52 +00:00
Jaap Keuter
9c05bc3bc5
Make the test compile.
...
svn path=/trunk/; revision=32359
2010-04-02 06:03:44 +00:00
Anders Broman
dc5e066cae
From sangaran:
...
8-bit Bit Flag decoder method needed in wimaxasncp plugin dissecto.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4608
svn path=/trunk/; revision=32356
2010-04-01 20:49:07 +00:00
Bill Meier
beb8d29ad6
From Richard Kümmel: Added the bitmasks for port 10 and port 11.
...
From me: As per Richard: Fix definitions of the bitfield for hf_esl_crcerror and
hf_esl_alignerror.
See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3677#c10
svn path=/trunk/; revision=32324
2010-03-29 16:52:47 +00:00
Jörg Mayer
96779de920
cmake changes:
...
- Add checking for linker flags
- Install plugins with the name including the Wireshark version.
This will make it easier to find matching plugin versions if
files get just copied over.
svn path=/trunk/; revision=32231
2010-03-18 10:27:17 +00:00
Kovarththanan Rajaratnam
2dc49da00d
Some if (tree) cleanup
...
svn path=/trunk/; revision=32207
2010-03-16 07:53:48 +00:00
Kovarththanan Rajaratnam
4d2163dd3b
Avoid some dead assignments
...
svn path=/trunk/; revision=32206
2010-03-16 07:49:13 +00:00
Kovarththanan Rajaratnam
737d0b5549
Whitespace cleanup
...
svn path=/trunk/; revision=32205
2010-03-16 07:45:12 +00:00
Kovarththanan Rajaratnam
4296471220
Indicate width of parent bitfield
...
svn path=/trunk/; revision=32204
2010-03-16 07:43:17 +00:00
Kovarththanan Rajaratnam
850aba71ac
Inline truth/false table
...
svn path=/trunk/; revision=32203
2010-03-16 07:36:00 +00:00
Uwe Girlich
c4d29dfd99
This adds a new dissector plugin: INTERLINK. This protocol is used in
...
(real and simulated) BMW cars for all kinds of gadget communication.
My plugin only dissects the high level infrastructure and not any particular
messages. It uses a heuristic dissector to detect INTERLINK packets.
svn path=/trunk/; revision=32202
2010-03-16 06:58:25 +00:00
Guy Harris
5535f4a598
Fix some compiler warnings, clean up indentation a bit.
...
svn path=/trunk/; revision=32201
2010-03-16 03:31:44 +00:00
Jörg Mayer
67072286bf
- Remove the lib prefix for plugin names.
...
- Remove a (resolved) comment.
- Add a commented out line how to add version infos to the
plugin's file name.
svn path=/trunk/; revision=31995
2010-02-24 22:32:10 +00:00
Stig Bjørlykke
25dcd066b6
From Hannes Diethelm via bug 4525:
...
Corrected values for IdentInfo (which was obviously wrong)
svn path=/trunk/; revision=31978
2010-02-24 08:22:33 +00:00
Bill Meier
c033a08313
Fix some gcc -Wshadow warnings.
...
svn path=/trunk/; revision=31724
2010-01-28 23:53:27 +00:00
Bill Meier
bb79476b22
Fix gcc -Wshadow warning;
...
Move proto_register... and proto_reg_handoff... to the end of the file.
svn path=/trunk/; revision=31723
2010-01-28 23:11:54 +00:00
Bill Meier
1341fcd87e
Fix some gcc -Wshadow warnings.
...
svn path=/trunk/; revision=31722
2010-01-28 21:49:30 +00:00
Bill Meier
2ea1e1962f
Fix gcc -Wshadow warning.
...
svn path=/trunk/; revision=31721
2010-01-28 19:58:48 +00:00
Anders Broman
440c3f9261
From Didier Gautheron:
...
check_col.diff
Remove redundant calls to check_col() if it guards only one columns function with one parameter after the column type.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394
svn path=/trunk/; revision=31519
2010-01-13 20:32:01 +00:00
Anders Broman
c4dd31cd87
From Didier Gautheron:
...
col_clear.diff
Remove calls to col_clear :
- called twice.
- before functions which also clear the column
- by replacing col_clear + col_append_xxx with col_add_xxx
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394
svn path=/trunk/; revision=31517
2010-01-13 20:25:10 +00:00
Bill Meier
de767f7dea
Do some cleanup:
...
- Separate .h file not req'd since not used elsewhere;
- Use bitmasks instead of using non-portable bitfields;
- Note possible incorrect display of crcError and alignError flags;
- Clean up spacing.
svn path=/trunk/; revision=31412
2010-01-02 22:00:30 +00:00
Guy Harris
8e236e55de
For fields of type FT_ABSOLUTE_TIME, have the "display" value be one of
...
ABSOLUTE_TIME_LOCAL or ABSOLUTE_TIME_UTC, indicating whether to display
the date/time in local time or UTC. (int)ABSOLUTE_TIME_LOCAL ==
(int)BASE_NONE, so there's no source or binary compatiblity issue,
although we might want to eliminate BASE_NONE at some point and have the
BASE_ values used with integral types start at 0, so that you can't
specify BASE_NONE for an integral field.
svn path=/trunk/; revision=31319
2009-12-19 03:17:44 +00:00
Bill Meier
9587938020
From Martin Lutz: Patch tvb_memeql return check;
...
... tvb_memeql returns 0 for truth.
See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3986#c7
svn path=/trunk/; revision=31294
2009-12-17 16:22:50 +00:00
Jaap Keuter
0bd900a72b
Fix header field names containing dots.
...
Move excessive long texts to header field blurb.
svn path=/trunk/; revision=31207
2009-12-08 22:05:55 +00:00
Gerasimos Dimitriadis
c840cdd5a0
Remove the address operator from value_string arrays fed to VALS()
...
svn path=/trunk/; revision=30995
2009-11-17 18:35:27 +00:00
Jörg Mayer
d2cc318f4f
Beginnings of enabling static builds. Still to do:
...
* Add -static
* Registration may need different handling
* Add plugins
* Build error in wslua
svn path=/trunk/; revision=30987
2009-11-17 11:58:36 +00:00
Jörg Mayer
9ee31d1d0e
cmake will now honor -Werror if configured (default: on)
...
svn path=/trunk/; revision=30852
2009-11-07 10:07:00 +00:00
Ulf Lamping
06e6441c9e
add "reserved for profiles" comments
...
svn path=/trunk/; revision=30811
2009-11-04 00:07:54 +00:00
Anders Broman
03c3b66945
From Benjamin Meyer:
...
UserData in Profinet ProcessAlarm declared as UserStructIdentifier
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4195
svn path=/trunk/; revision=30808
2009-11-03 20:11:19 +00:00
Anders Broman
ecbe3c28f3
From Matthias FRANK:
...
PROFIDrive parameter requests not decoded.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4193
svn path=/trunk/; revision=30804
2009-11-03 12:30:59 +00:00
Anders Broman
d0a15b4473
From Matthias FRANK:
...
PROFISafe F-Parameter record not decoded in PROFINET dissector.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4192
From me remove check_col();
svn path=/trunk/; revision=30801
2009-11-02 18:09:46 +00:00
Stig Bjørlykke
9e4549de12
The stats_tree plugin deserves a version number other than "0.0".
...
svn path=/trunk/; revision=30706
2009-10-26 09:29:46 +00:00
Jeff Morriss
762af05327
Don't call PROTO_ITEM_SET_GENERATED(proto_tree_add[...]): that will end up adding the item to the tree multiple times.
...
svn path=/trunk/; revision=30635
2009-10-20 14:03:00 +00:00