Commit Graph

13332 Commits

Author SHA1 Message Date
Bill Meier 8e4aab0ed8 Localize a global variable; Do minor reformatting.
svn path=/trunk/; revision=40585
2012-01-19 17:42:28 +00:00
Martin Mathieson 96d0f00b52 Comment out hf and ett - there is no need to register them while they
are empty.

svn path=/trunk/; revision=40582
2012-01-19 03:46:02 +00:00
Martin Mathieson 6e43645bb7 Add casts and don't initialise empty hf array.
svn path=/trunk/; revision=40581
2012-01-19 03:27:41 +00:00
Martin Mathieson 1b33c5f3f5 Add a dissector "mac-lte-framed" that uses the same framing format as
the existing "mac-lte" UDP heuristic dissector. It is hoped that it will be
possible to register a DLT for use with this format.

svn path=/trunk/; revision=40580
2012-01-19 02:58:53 +00:00
Alexis La Goutte aa5439a783 From Yaniv Kaul via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6743
[PATCH] Enhance the Spice dissector to deal with mini headers

Spice recently gained the ability to use smaller packet headers.
This patch adds support to it, along with small other fixes/enhancements - none of which really interesting.

From me :
Fix a Clang Warning :
packet-spice.c:1303:5: warning: Value stored to 'offset' is never read

svn path=/trunk/; revision=40573
2012-01-18 21:44:21 +00:00
Chris Maynard e799efeed9 Fix some duplicate display filter names.
svn path=/trunk/; revision=40568
2012-01-18 21:07:53 +00:00
Anders Broman 0299bdbc62 Add more to dissect_compressed_list()
svn path=/trunk/; revision=40560
2012-01-17 21:27:48 +00:00
Jörg Mayer 2428b75969 Fix warning about a variable that is written to only.
svn path=/trunk/; revision=40559
2012-01-17 18:27:01 +00:00
Martin Mathieson 914f06e618 Mark a couple of unused parameters as such.
svn path=/trunk/; revision=40558
2012-01-17 18:23:11 +00:00
Anders Broman 32c759745a Enhance dissection of compressed lists.
svn path=/trunk/; revision=40557
2012-01-17 17:57:52 +00:00
Anders Broman a5f75115a6 Add packet-lpp.h
svn path=/trunk/; revision=40552
2012-01-16 21:45:02 +00:00
Anders Broman 0d7ba78d8c From Pascal Quantin:
Upgrade LTE RRC dissector to v10.4.0

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6742

Add missing files

svn path=/trunk/; revision=40550
2012-01-16 21:38:32 +00:00
Anders Broman 3624284ef0 From Pascal Quantin:
Upgrade LTE RRC dissector to v10.4.0

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6742

svn path=/trunk/; revision=40549
2012-01-16 21:25:20 +00:00
Guy Harris 6b50d94836 The frame number is an unsigned integer, so there's no guarantee that it
won't equal (guint32)-1.

Fortunately, frame numbers are 1-based, so there *is* a guarantee that
it won't equal 0.

svn path=/trunk/; revision=40545
2012-01-16 08:16:50 +00:00
Guy Harris 7e4c02ee18 The frame number is an unsigned integer, so there's no guarantee that it
won't equal (guint32)-1.

Fortunately, frame numbers are 1-based, so there *is* a guarantee that
it won't equal 0.

svn path=/trunk/; revision=40544
2012-01-16 08:10:49 +00:00
Guy Harris cc0c99a01f The frame number is an unsigned integer, so there's no guarantee that it
won't equal (guint32)-1.

Fortunately, frame numbers are 1-based, so there *is* a guarantee that
it won't equal 0.

svn path=/trunk/; revision=40543
2012-01-16 08:01:58 +00:00
Jörg Mayer de0bf160b9 The warning fix overdid things: It removed functionality.
Now I only remove the variable ft and everything looks good.

svn path=/trunk/; revision=40516
2012-01-15 17:07:55 +00:00
Jörg Mayer 2097912587 Rename crypt-xxx to xxx
svn path=/trunk/; revision=40511
2012-01-15 12:29:44 +00:00
Guy Harris dfcec43973 Shuffle the ett[] array elements around a bit, and add blank lines, to
match their definitions; add two missing elements that turned up.  That
should fix bug 6736.

svn path=/trunk/; revision=40509
2012-01-15 09:07:54 +00:00
Bill Meier 439adbdbcc Remove obsolete comments referring to mem_chunks.
svn path=/trunk/; revision=40507
2012-01-14 20:14:43 +00:00
Bill Meier ba04b5b113 Several minor changes:
- use consistent indentation;
- use tvb_reported_length_remaining() in one case;
- reformat a long line.

svn path=/trunk/; revision=40506
2012-01-14 17:18:26 +00:00
Bill Meier 0fee9f56d2 Minor updates:
- checkcol() not req'd in a few cases;
 - Add an XXX comment about the (mis?)use of tvb_length();
 - lenght -> length;

svn path=/trunk/; revision=40505
2012-01-14 17:03:34 +00:00
Bill Meier 6af379e903 Use REPORT_DISSECTOR_BUG() instead of g_print(); Other minor cleanup.
svn path=/trunk/; revision=40504
2012-01-14 16:18:16 +00:00
Bill Meier d86186ac12 check_col() not req'd and other minor cleanups ....
svn path=/trunk/; revision=40503
2012-01-14 15:47:40 +00:00
Jörg Mayer 6197143d6c Ed Beroset <beroset@mindspring.com> via bug 5531
The ANSI C12.22 protocol is a smart grid protocol for utility meters, including
gas, water and electric.  The dissector implemented in the patch file includes
full support for all EPSEM (Extended Protocol Specification for Electricity
Metering) services and includes a full implementation of the C12.22 security
modes.

[...]

To decrypt the attached sample file, you need to set up the key table in the
preferences to include key 0 with a value of 6624C7E23034E4036FE5CB3A8B5DAB44.

Me: Fixes for:

[ 64%] Building C object epan/CMakeFiles/epan.dir/dissectors/packet-c1222.c.o            
../../asn1/c1222/packet-c1222-template.c: In function ‘dissect_epsem’:                   
../../asn1/c1222/packet-c1222-template.c:860:15: error: variable ‘ft’ set but not used [-Werror=unused-but-set-variable]

[  5%] Building C object epan/CMakeFiles/epan.dir/dissectors/packet-c1222.c.o
../../asn1/c1222/packet-c1222-template.c:103:19: error: ‘c1222_flags’ defined but not used [-Werror=unused-variable]



svn path=/trunk/; revision=40500
2012-01-14 15:22:10 +00:00
Bill Meier bf87bab697 Minor cleanup:
- Move a global var to be local to a fcn;
- Remove an unneeded forward declaration;
- Do some minor reformatting.

svn path=/trunk/; revision=40486
2012-01-13 22:04:09 +00:00
Bill Meier 26d592209a Minor cleanup:
- Remove set but unused variable;
- Fix indentation to match that specified by the Editor Modelines

svn path=/trunk/; revision=40485
2012-01-13 21:44:13 +00:00
Jörg Mayer 7a3bf9a6aa dfs and mapi do create warnings. move them back to dirty
svn path=/trunk/; revision=40484
2012-01-13 21:25:27 +00:00
Anders Broman dbffa9eaef Introduce a dissector table to be used for proprietary tags.
svn path=/trunk/; revision=40482
2012-01-13 20:45:02 +00:00
Guy Harris 9c845afb6a Only one instance of packet-dcerpc-mapi.c and packet-dcerpc-mapi.h,
please.

Move some generated DCERPC dissectors back to the clean list; if they
actually *do* generate warnings, move them back.

svn path=/trunk/; revision=40479
2012-01-13 20:06:49 +00:00
Jörg Mayer 9781eaf0f5 Sync filelists between autofoo and cmake.
Move some dissectors that throw warnings to DIRTY_
Whitespace cleanups

svn path=/trunk/; revision=40478
2012-01-13 19:29:58 +00:00
Jörg Mayer 1c789b44a5 Add comment about possible expert item
svn path=/trunk/; revision=40477
2012-01-13 19:27:01 +00:00
Alexis La Goutte 2fb9360c96 Update ISAKMP to last IANA Parameters (2011-11-07)
Add new ISAKMP Attribut of RFC6407 and new IKE type (GAP ID 22)

svn path=/trunk/; revision=40476
2012-01-13 16:59:22 +00:00
Alexis La Goutte 0e876f1ab2 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40472
2012-01-13 16:34:32 +00:00
Alexis La Goutte fbb00bdce0 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40471
2012-01-13 16:34:15 +00:00
Alexis La Goutte 4f47f1081a Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40470
2012-01-13 16:33:57 +00:00
Alexis La Goutte 8b22a262e0 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40469
2012-01-13 16:33:40 +00:00
Alexis La Goutte bd931901a0 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40468
2012-01-13 16:33:04 +00:00
Alexis La Goutte 0dde64beae Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40467
2012-01-13 16:30:39 +00:00
Alexis La Goutte cf8e19f435 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40466
2012-01-13 16:28:54 +00:00
Alexis La Goutte a3dbee44b3 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40465
2012-01-13 16:27:50 +00:00
Alexis La Goutte f5f6ac7cdb Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40464
2012-01-13 16:26:45 +00:00
Alexis La Goutte 2747e6bc45 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40463
2012-01-13 16:24:44 +00:00
Alexis La Goutte fe3168dc2a Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40462
2012-01-13 16:22:50 +00:00
Alexis La Goutte 9308fab8e7 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40461
2012-01-13 16:21:08 +00:00
Alexis La Goutte 7dc1bd38a1 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40460
2012-01-13 16:20:23 +00:00
Alexis La Goutte 346bdd6c87 Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40459
2012-01-13 16:19:24 +00:00
Alexis La Goutte 16dbe7bf4d Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40458
2012-01-13 16:18:39 +00:00
Chris Maynard 2a808af4da Fix some typos.
svn path=/trunk/; revision=40454
2012-01-13 16:05:23 +00:00
Bill Meier 083496f05c Fix:
packet-gsm_a_rr.c:3867:101: error: parameter 'len' set but not used [-Werror=unused-but-set-parameter]
packet-gsm_a_rr.c:6837:46: warning: variable 'bit_offset_sav2' set but not used [-Wunused-but-set-variable]
packet-gsm_a_rr.c:7458:18: warning: variable 'curr_offset' set but not used [-Wunused-but-set-variab

svn path=/trunk/; revision=40453
2012-01-13 14:18:07 +00:00