Commit Graph

26 Commits

Author SHA1 Message Date
Evan Huus e129b4aa03 From William Sims via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8755
The entity offset variable parameter uses either offset or orientation but not
both, this caused the data displayed to be skewed.

svn path=/trunk/; revision=49736
2013-06-03 23:47:23 +00:00
Anders Broman 55c20aa55a #if 0 out apparently unsed code.
svn path=/trunk/; revision=48343
2013-03-16 20:00:03 +00:00
Anders Broman 263a9d0683 [-Wmissing-prototypes]
Use explicit casts.

svn path=/trunk/; revision=48341
2013-03-16 16:25:41 +00:00
Jeff Morriss 981c598367 From Hendrik Uhlmann via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8289 :
Negative integer values are displayed positive in hmi: -1 = 65535

(Change the variable to signed and add some casts to avoid this problem.)

svn path=/trunk/; revision=47418
2013-02-01 14:36:13 +00:00
Pascal Quantin 4bceaa501a Remove forbidden C++ style comments
svn path=/trunk/; revision=47127
2013-01-16 22:38:42 +00:00
Evan Huus 3a64f93a00 From Hendrik Uhlmann via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8185
Support for Underwater Acoustic PDUs in packet-dis.c

svn path=/trunk/; revision=47119
2013-01-16 17:27:03 +00:00
Jeff Morriss 2552c750e5 We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
svn path=/trunk/; revision=45017
2012-09-20 02:03:38 +00:00
Jakub Zawadzki bf81b42e1e Update Free Software Foundation address.
(COPYING will be updated in next commit)

svn path=/trunk/; revision=43536
2012-06-28 22:56:06 +00:00
Bill Meier c4b63360dc Fix proto_tree_add_item( encoding args;
Do whitespace cleanup (for a few files).

svn path=/trunk/; revision=39640
2011-10-27 20:30:38 +00:00
Guy Harris 2ef2ecde9a The #if 0'ed out code was being used; #if 0'ing it out meant that some
items didn't get put into the protocol tree.  See, for example, the
4548-Bug4668.pcap capture in the Wireshark menagerie (and attached to
bug 4668).

Instead, replace the #if 0'ed out code with code that does what the
non-commented-out line of code did, but doesn't assign to the unused and
now non-existent pi variable.

Make the "hf_id != -1" case the first one, as that should be the
"normal" case.

svn path=/trunk/; revision=37908
2011-07-05 23:14:00 +00:00
Bill Meier 57b17b8794 '#if 0' code related to already commented out code: Fixes Coverity 881.
svn path=/trunk/; revision=37328
2011-05-20 15:19:26 +00:00
Bill Meier 407b8297c0 Fix a gcc -Wstrict-prototypes warning
svn path=/trunk/; revision=33195
2010-06-09 17:56:37 +00:00
Bill Meier 6321e07f8e From Paul J. Metzger: Add support for decoding DIS Electromagnetic Emission packets.
svn path=/trunk/; revision=32758
2010-05-11 19:03:33 +00:00
Bill Meier 055dd62063 #include <string.h> not needed.
svn path=/trunk/; revision=32410
2010-04-06 21:14:01 +00:00
Bill Meier 9290840c4d #include <stdio.h> not req'd; cleanup whitespace & indentation.
svn path=/trunk/; revision=32308
2010-03-27 17:06:22 +00:00
Anders Broman 861ada7227 From Chuck Kristofek:
DIS update to introduce hf_ based filtering and radio family dissection.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4610

svn path=/trunk/; revision=32306
2010-03-27 15:23:16 +00:00
Jaap Keuter 0e4e74ef3d From Michael Dishman:
Fixed parser for DIS DataRequest PDU.
Added parser for DIS StartResume, StopFreeze, Acknowledge, ActionRequest,
ActionResponse, Comment, CreateEntity, DeleteEntity PDUs.
Added parser for "reliable" versions of the above DIS PDUs.
Added parser for DIS Application Control PDU.
Added parsers for DIS Persistent Object Family PDUs.

svn path=/trunk/; revision=30947
2009-11-13 06:53:15 +00:00
Stig Bjørlykke 3587a1acb1 Use %f for double in printf.
svn path=/trunk/; revision=30604
2009-10-18 21:13:53 +00:00
Jaap Keuter 38638f9fb1 From Matt Deckard:
Add support for the DIS protocol dissector to more fully interpret the PDU
types "Data Query", "Data", and "Set Data". It should interpret the
originating and receiving entity IDs, request ID, number of fixed and variable
datum fields, and the ID and values of each datum field in the PDU.

svn path=/trunk/; revision=28583
2009-06-02 06:37:21 +00:00
Jaap Keuter 45705aadc3 From Scott Bailey:
It takes a calculator to decode the timestamps.  But no more! 
Timestamps using the attached patch are displayed as follows:
   Timestamp = MM:SS mmm absolute (UTM)
or
   Timestamp = MM:SS mmm relative
where M is minutes, S is seconds, and m is milliseconds.
This is in accord with 'IEEE Std 1278.1-1995' section 5.2.31.

svn path=/trunk/; revision=26047
2008-08-20 06:32:08 +00:00
Guy Harris 5a43799a17 Use G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLib
routines and routines using those routines.  GLib might use different
modifiers for 64-bit quantities than the platform's C library does.

svn path=/trunk/; revision=21990
2007-05-29 18:52:42 +00:00
Bill Meier 103bf29730 Continuing the tradition: squelch some compiler warnings ....
svn path=/trunk/; revision=20866
2007-02-19 22:29:23 +00:00
Ronnie Sahlberg feab79e328 change a whole bunch of ethereal into wireshark
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Guy Harris c4d9915be6 Give them RCS IDs.
svn path=/trunk/; revision=15910
2005-09-20 22:51:42 +00:00
Jörg Mayer 5602f5bb83 Make some funtions static. More char -> const char warning fixes
svn path=/trunk/; revision=15146
2005-07-30 01:01:02 +00:00
Anders Broman a063532343 From Jeremy j Ouellette:
DIS dissection.

svn path=/trunk/; revision=14899
2005-07-11 22:23:15 +00:00