Commit Graph

50455 Commits

Author SHA1 Message Date
Jakub Zawadzki 0ccb4a7ef4 Regenerate ASN.1 dissectors
It seems that around r53700 GenericChargingDataTypesV1171.asn was called 3GPPGenericChargingDataTypesV1171.asn.

svn path=/trunk/; revision=53791
2013-12-04 23:59:31 +00:00
Jörg Mayer 6244f2fa32 Finally successfully built with the msvc2010 GUI a Debug
and a RelWithDebInfo build, after adding the missing path
to the cygwin tools.

svn path=/trunk/; revision=53790
2013-12-04 22:07:26 +00:00
Anders Broman d576ba0796 - Forward declaration of register functions.
svn path=/trunk/; revision=53789
2013-12-04 21:35:53 +00:00
Anders Broman bbc4a2981c Try to fix a bunch of [-Wmissing-prototypes]
svn path=/trunk/; revision=53788
2013-12-04 21:33:38 +00:00
Jörg Mayer 53394aca2c Fix
[  5%] Building C object epan/CMakeFiles/epan.dir/dissectors/packet-diameter.c.o
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-diameter.c: In function ‘dissect_diameter_avp’:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-diameter.c:621:37: error: ‘avp_str’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  if (avp_str) proto_item_append_text(avp_item," val=%s", avp_str);
                                     ^
cc1: all warnings being treated as errors
make[2]: *** [epan/CMakeFiles/epan.dir/dissectors/packet-diameter.c.o] Error 1


svn path=/trunk/; revision=53787
2013-12-04 21:32:16 +00:00
Anders Broman 1a7c42d40a - Make local functions static.
- Forward declaration of register function.

svn path=/trunk/; revision=53786
2013-12-04 21:12:16 +00:00
Anders Broman 5c40dde043 "RFC 6733 [5] specifies the Experimental-Result AVP containing Vendor-Id AVP and Experimental-Result-Code AVP. The Experimental-Result-Code AVP (AVP Code 298) is of type Unsigned32 and contains a vendor-assigned value representing the result of processing a request."
This means we have to store the value of the Vendor Id AVP in the grouped  Experimental-Result AVP to be able to dissect the value of 
Experimental-Result-Code according to the vendor specified values(if known). This patch implements that with a dissector table to register vendor dissectors for the result code.

svn path=/trunk/; revision=53785
2013-12-04 20:55:52 +00:00
Chris Maynard a8ed2cf767 From Michal Labedzki via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9446 - r53051 introduced an incorrect DISSECTOR_ASSERT(acl_data), which led me to believe that acl_data must not be NULL. Except for the removal of the DISSECTOR_ASSERT(acl_data), this patch basically reverts r53735 and r53743, as acl_data can be NULL.
svn path=/trunk/; revision=53784
2013-12-04 15:59:29 +00:00
Alexis La Goutte 50989f30a3 From Matt Texier
Enhance BGP Dissector : Communities

Use proto_tree_add_item

From me
Missing space for well known community

svn path=/trunk/; revision=53783
2013-12-04 15:13:24 +00:00
Tomas Kukosa 0a626c33c8 Ply parser updated to 3.5 (from GitHub github.com/dabeaz/ply)
svn path=/trunk/; revision=53782
2013-12-04 14:45:32 +00:00
Alexis La Goutte 9252681be6 Add also heuristic for HTTP
svn path=/trunk/; revision=53781
2013-12-04 13:55:53 +00:00
Jörg Mayer cf82d056f2 Create all binaries in one directory. After running setpath.bat
wireshark etc should now work, the basic stuff at least.

Known problems/todos:
- The plugins are not searched for in the current directory,
  so find out how to let Wireshark know to search for the
  plugins
- Other supporting files are missing (COPYING.txt, AUTHORS*, ...)
- Your missing feature could be listed here ;)

 Ciao
   Jörg

svn path=/trunk/; revision=53780
2013-12-04 10:41:38 +00:00
Alexis La Goutte 2e0fbbfe26 Regenerate dissector after change to add prototype
svn path=/trunk/; revision=53779
2013-12-04 09:53:51 +00:00
Alexis La Goutte 6b10f16ca8 From Anders request Add prototype for corba/idl dissector
svn path=/trunk/; revision=53778
2013-12-04 09:53:21 +00:00
Stig Bjørlykke 470a022c6d Fix for dissecting cdt without having a tree.
svn path=/trunk/; revision=53777
2013-12-04 09:39:19 +00:00
Jörg Mayer 55546d5123 On Windows:
- Add instructions how to build zlib
- Add information how to build with msbuild


svn path=/trunk/; revision=53776
2013-12-04 09:10:35 +00:00
Jörg Mayer c0663d9df5 - Include config.h
- Merge two ifdef _WIN32 sections

svn path=/trunk/; revision=53775
2013-12-04 07:39:37 +00:00
Jakub Zawadzki b75354ebe8 Avoid including <epan/epan.h> in dissectors.
svn path=/trunk/; revision=53774
2013-12-03 23:49:51 +00:00
Pascal Quantin 477add4506 Dissect comprehension-tlv address object
svn path=/trunk/; revision=53773
2013-12-03 23:08:50 +00:00
Guy Harris 9812f55dbb Include <epan/dfilter/dfilter.h> in files that use display filter
routines.

svn path=/trunk/; revision=53772
2013-12-03 23:08:46 +00:00
Jakub Zawadzki 2118d75b45 missing stdlib.h include for wslua.
svn path=/trunk/; revision=53771
2013-12-03 22:59:29 +00:00
Jakub Zawadzki 5afbad4179 Rename struct _epan_dissect_t to epan_dissect.
svn path=/trunk/; revision=53770
2013-12-03 22:26:07 +00:00
Jakub Zawadzki 65db82872c When including <epan/prefs.h> don't force inclusion of <epan/uat.h>
svn path=/trunk/; revision=53769
2013-12-03 22:16:49 +00:00
Jörg Mayer dbd9c134fa - Fix lots of "C:\wireshark\trunk\ui\qt\qcustomplot.cpp(16589) :
warning C4305: 'argument' : truncation from 'double' to 'float'"
- Remove trailing whitespace


svn path=/trunk/; revision=53768
2013-12-03 21:49:28 +00:00
Jakub Zawadzki bf0de4310b Rename struct _uat_t to epan_uat
Leave typedef (uat_t) unchanged.

svn path=/trunk/; revision=53767
2013-12-03 21:35:36 +00:00
Jakub Zawadzki cedb73c7f7 Dissectors should not use dfilter.h, don't include it.
XXX ncp2222 dissector is using dfilter_compile(), why?

svn path=/trunk/; revision=53766
2013-12-03 21:31:04 +00:00
Jakub Zawadzki 82f1fecf14 struct _dfilter_t: rename to epan_dfilter.
typedef (dfilter_t) not renamed.

svn path=/trunk/; revision=53765
2013-12-03 20:59:25 +00:00
Jakub Zawadzki 01e08ae582 wiretap: start using <wsutil/pint.h>
svn path=/trunk/; revision=53764
2013-12-03 20:35:50 +00:00
Chris Maynard f98625c0d0 Don't forget to test even the simplest fixes.
svn path=/trunk/; revision=53763
2013-12-03 19:45:10 +00:00
Pascal Quantin 8b3f82def1 Add request / response tracking to MBIM_FUNCTION_ERROR_MSG messages
svn path=/trunk/; revision=53762
2013-12-03 19:44:32 +00:00
Chris Maynard c28c8ed214 Wrap usage text at column 80.
svn path=/trunk/; revision=53761
2013-12-03 19:40:23 +00:00
Pascal Quantin 2d49720de6 Add Qualcomm proprietary UUID
svn path=/trunk/; revision=53760
2013-12-03 19:32:10 +00:00
Gerald Combs a6dea7695e The ip.proto table isn't limited to the IPv4 dissector.
svn path=/trunk/; revision=53759
2013-12-03 18:16:38 +00:00
Alexis La Goutte e55e69940f Fix encoding arg Remove tab and trailing whitespace Add modelines info
svn path=/trunk/; revision=53758
2013-12-03 13:48:08 +00:00
Alexis La Goutte 062f8a504a Manual fix of Dead Store (Dead assignement/Dead increment) warning found by Clang No found how to fix the generator...
svn path=/trunk/; revision=53757
2013-12-03 13:39:10 +00:00
Alexis La Goutte 043b37afa4 Regenerate idl dissector after last change in generator !
svn path=/trunk/; revision=53756
2013-12-03 13:38:56 +00:00
Alexis La Goutte 6efd311424 Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
svn path=/trunk/; revision=53755
2013-12-03 13:38:46 +00:00
Alexis La Goutte 3fc5a3e845 Add modelines info to idl generate file
svn path=/trunk/; revision=53754
2013-12-03 13:38:38 +00:00
Alexis La Goutte de65892796 Fix indent for generated file (Use 4 space)
svn path=/trunk/; revision=53753
2013-12-03 13:38:30 +00:00
Alexis La Goutte a637d81706 Fix generator don't generate trailing whitespace
svn path=/trunk/; revision=53752
2013-12-03 13:38:23 +00:00
Alexis La Goutte 225161b1be Remove trailing whitespace and add modelines info
svn path=/trunk/; revision=53751
2013-12-03 13:38:15 +00:00
Alexis La Goutte ede151cbba Remove whitespace and add modelines info
svn path=/trunk/; revision=53750
2013-12-03 13:38:07 +00:00
Alexis La Goutte b2445d481c Fix
warning: argument 'data' of command @param is not found in the argument list of dissector_all_tables_foreach_changed(DATFunc func, gpointer user_data)

warning: The following parameters of dissector_all_tables_foreach_changed(DATFunc func, gpointer user_data) are not documented: parameter 'user_data'

svn path=/trunk/; revision=53749
2013-12-03 13:37:58 +00:00
Alexis La Goutte 420b33d77d Fix warning: The following parameters of proto_tree_add_expert_format(proto_tree *tree, packet_info *pinfo, expert_field *eiindex, tvbuff_t *tvb, gint start, gint length, const char *format,...) are not documented: parameter 'format'
svn path=/trunk/; revision=53748
2013-12-03 13:37:49 +00:00
Alexis La Goutte 0940471527 Fix warning: argument 'out/in' of command @param is not found in the argument list of SE_COPY_ADDRESS(to, from)
svn path=/trunk/; revision=53747
2013-12-03 13:37:40 +00:00
Alexis La Goutte 76db825c84 Add #pragma to idl generator...
svn path=/trunk/; revision=53746
2013-12-03 13:37:31 +00:00
Jörg Mayer 30d0d8ff51 Move stats_tree_stat.c back to clean files.
svn path=/trunk/; revision=53745
2013-12-03 13:18:37 +00:00
Michael Mann 024c4fc8e3 Don't allow conversation_data to be NULL. Bug 9493 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9493)
svn path=/trunk/; revision=53744
2013-12-03 12:53:09 +00:00
Guy Harris 18e532be59 Remove some no-longer-necessary null pointer checks, as pointed out by
Coverity; dissect_btl2cap() now returns immediately if handed a null
private-data pointer.

svn path=/trunk/; revision=53743
2013-12-03 11:02:00 +00:00
Guy Harris 753811929d Clean up indentation.
svn path=/trunk/; revision=53742
2013-12-03 10:54:10 +00:00