Commit Graph

47785 Commits

Author SHA1 Message Date
Anders Broman 7b0812cc2e Add forgotten update.
svn path=/trunk/; revision=50797
2013-07-22 20:45:11 +00:00
Anders Broman 5e56e72953 Dissect S6 feature list.
svn path=/trunk/; revision=50796
2013-07-22 20:44:01 +00:00
Jakub Zawadzki e07c9fccac Revert removed line in r50774, we can update pinfo->rel_ts not sure if it makes sense, but why not?
svn path=/trunk/; revision=50795
2013-07-22 19:49:03 +00:00
Jakub Zawadzki 7ec1a78fe8 Abuse epan_t more: add callback to get interface name.
svn path=/trunk/; revision=50794
2013-07-22 19:38:38 +00:00
Guy Harris b0a94d2b98 ASes can now be 32-bits; make the fields for them 32-bit so that you can
filter on all possible values of them.

Fixes bug 8959.

#BACKPORT 1.10, 1.8

svn path=/trunk/; revision=50791
2013-07-22 16:56:56 +00:00
Gerald Combs ac22b33f4f Mark a parameter unused.
svn path=/trunk/; revision=50790
2013-07-22 15:41:46 +00:00
Jörg Mayer fe166ca904 Wrap clang specific tests into a clang tests instead of checking
for APPLE.
Move 3 of the 4 tests out of this check because the improved checks
should detect them correctly now

svn path=/trunk/; revision=50789
2013-07-22 14:45:58 +00:00
Jörg Mayer f833e8e59d Looks like building with -Werror in wsutil was forgotten with
cmake.

svn path=/trunk/; revision=50788
2013-07-22 14:43:17 +00:00
Pascal Quantin d5922fb41f Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8958 :
Highlight the right number of bytes for the PadN option data field

svn path=/trunk/; revision=50787
2013-07-22 14:19:04 +00:00
Pascal Quantin 4a84c0987e Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8957 :
remove a copy /paste error triggering a malformed exception when dissecting IPv4 DHCP Support Mode option

svn path=/trunk/; revision=50786
2013-07-22 13:00:41 +00:00
Michael Tüxen 8c7f13b85a Fix includes to get things compiling.
svn path=/trunk/; revision=50785
2013-07-22 11:17:25 +00:00
Jörg Mayer 43ef033128 Don't use the program name to identify the compiler - it won't work
reliably in cases where the compiler is name /usr/bin/cc

Use the internal variable CMAKE_<LANG>_COMPILER_ID instead, which is
finally documented (but still called internal in the docs), see
http://www.cmake.org/cmake/help/v2.8.10/cmake.html#variable:CMAKE_LANG_COMPILER_ID


svn path=/trunk/; revision=50784
2013-07-22 09:36:14 +00:00
Jörg Mayer fb5a3b90d1 Beginnings of Nintendo StreetProtocol support
svn path=/trunk/; revision=50783
2013-07-22 08:01:10 +00:00
Guy Harris 39518faa36 Squelch uninitialized variable warning.
svn path=/trunk/; revision=50782
2013-07-22 05:51:51 +00:00
Michael Mann cf4e08bdf2 fix "compiler errors"
Add better support for IP field detection.

svn path=/trunk/; revision=50781
2013-07-22 01:56:35 +00:00
Michael Mann c131f9a074 Make items more filterable
Apply consistent whitespace.
Remove unnecessary string.h

svn path=/trunk/; revision=50780
2013-07-22 00:39:30 +00:00
Evan Huus 60e25a2080 Commit real kafka dissector this time.
svn path=/trunk/; revision=50779
2013-07-22 00:12:42 +00:00
Evan Huus 76abdbc1cc Remove kafka dissector, accidentally committed symlink instead of real file.
svn path=/trunk/; revision=50778
2013-07-22 00:11:57 +00:00
Evan Huus fb6c9c3387 Skeleton dissector for Apache Kafka's new protocol:
https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol

All the core request/response matching necessary to actually decode is done, and
helpers exist for the common Kafka data types. Now it just remains to fill in
the rest of the fields.

svn path=/trunk/; revision=50777
2013-07-22 00:08:25 +00:00
Evan Huus d43eaa76cc Update rtp_player for rel_ts move.
svn path=/trunk/; revision=50776
2013-07-21 23:31:46 +00:00
Evan Huus ad42fced15 Fix file.c:112:1: error: ‘static’ is not at beginning of declaration
[-Werror=old-style-declaration]

svn path=/trunk/; revision=50775
2013-07-21 23:30:10 +00:00
Jakub Zawadzki 1a1360c2e1 Update plugins/ with recent change.
svn path=/trunk/; revision=50774
2013-07-21 23:26:07 +00:00
Jakub Zawadzki e7d733b31b Fix error when compiled with --enable-packet-editor
svn path=/trunk/; revision=50773
2013-07-21 23:14:57 +00:00
Jakub Zawadzki c702e92121 Replace relative timestamp with reference frame number. Saves 16B per frame.
svn path=/trunk/; revision=50772
2013-07-21 23:07:33 +00:00
Guy Harris 74b6c59499 There are many types that eventually turn into "signed byte"; for calls
to g_strlcpy(), use the one of them that it's documented as using.

svn path=/trunk/; revision=50771
2013-07-21 22:01:22 +00:00
Jörg Mayer 0177ef4970 - Whitespace changes
- Add a missing continuation \

svn path=/trunk/; revision=50770
2013-07-21 21:17:35 +00:00
Evan Huus 037fc022da Add wmem queue 'implementation' by wrapping wmem_list and wmem_stack.
Also a bit of misc. refactoring of the stack while I was there, and doc tweaks.

svn path=/trunk/; revision=50769
2013-07-21 21:13:30 +00:00
Evan Huus 9e1b53539a Remove unused variable, fix comparison to use double-equals.
svn path=/trunk/; revision=50768
2013-07-21 21:10:13 +00:00
Jakub Zawadzki 5df324921d Fix: epan.c:155: warning: assignment discards qualifiers from pointer target type
svn path=/trunk/; revision=50767
2013-07-21 21:04:25 +00:00
Anders Broman df9bbb93a3 Interpretation of 3gpp_feature_list depends on Application Id.
svn path=/trunk/; revision=50766
2013-07-21 20:58:37 +00:00
Jakub Zawadzki 5d52e16734 Add helper function to epan_session which can be used to get absolute timestamp of given frame.
Remove ->prev_cap, for testing purpose also replace ->prev_dis with number of previously displayed frame number.

This patch reduce size of frame_data by 8B (amd64)
This is what (I think) was suggested by Guy in comment 13 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5821#c13)

svn path=/trunk/; revision=50765
2013-07-21 20:48:30 +00:00
Jakub Zawadzki a66a717d46 Commit missing file.
svn path=/trunk/; revision=50764
2013-07-21 19:21:51 +00:00
Jakub Zawadzki 265dbadb68 try to fix: epan.c:141: error: invalid application of 'sizeof' to incomplete type 'epan_t'
svn path=/trunk/; revision=50763
2013-07-21 19:08:11 +00:00
Michael Mann 2e5561d9c5 Add ability to convert proto_tree_add_text to "expert" API. It's a little hacky because the first pass doesn't know that a proto_tree_add_text call will be converted into an expert API call, so there is some "field reappropriation" (but not enough to have a different field layout) in the .proto_tree_input file.
svn path=/trunk/; revision=50762
2013-07-21 19:03:36 +00:00
Jakub Zawadzki 28e9dcc4a9 Some work on multi file dissection
- make init_dissection/cleanup_dissection private for libwireshark
- implement epan_new(), epan_free()
- pass epan_t to epan_dissect*

svn path=/trunk/; revision=50761
2013-07-21 18:38:03 +00:00
Jörg Mayer 9e7b6f1a69 Try to generate an error when calling clang with an unknown compiler
option. This behaviour changed in clang, see
https://bugzilla.mozilla.org/show_bug.cgi?id=731316

svn path=/trunk/; revision=50760
2013-07-21 18:12:20 +00:00
Jörg Mayer f506b45c32 Add option for echld builds (forgot that in a previous commit)
svn path=/trunk/; revision=50759
2013-07-21 18:10:30 +00:00
Jakub Zawadzki 6eafdc3610 Add test binaries to .gitignore
svn path=/trunk/; revision=50758
2013-07-21 17:36:35 +00:00
Jörg Mayer 270cf97b25 Fix
/home/jmayer/work/wireshark/svn/trunk/epan/address_to_str.c:595:20: error: passing
      'const guint8 *' (aka 'const unsigned char *') to parameter of type
      'const gchar *' (aka 'const char *') converts between pointers to integer types
      with different sign [-Werror,-Wpointer-sign]
    g_strlcpy(buf, (const guint8 *)addr->data, buf_len);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gstrfuncs.h:110:20: note: passing argument to parameter 'src'
      here
                                        const gchar  *src,
                                                      ^

svn path=/trunk/; revision=50756
2013-07-21 14:28:08 +00:00
Jörg Mayer 61f57ac30e Remove trailing whitespace
svn path=/trunk/; revision=50754
2013-07-21 14:05:04 +00:00
Gerald Combs 3d6d5d1e6e [Automatic manuf, services and enterprise-numbers update for 2013-07-21]
svn path=/trunk/; revision=50753
2013-07-21 14:03:34 +00:00
Jörg Mayer 94aa66e642 More fixes for building echld with cmake (not yet finished)
svn path=/trunk/; revision=50752
2013-07-21 13:40:08 +00:00
Jörg Mayer df397b4f63 Enable echld builds with cmake when building with ENABLE_ECHLD=ON
svn path=/trunk/; revision=50751
2013-07-21 13:34:50 +00:00
Jörg Mayer 94bdbd2e1e Include config.h, not ../config.h, just like everywhere else.
svn path=/trunk/; revision=50750
2013-07-21 13:25:35 +00:00
Jörg Mayer f3f910a5cf Don't check for "APPLE" if what you really mean is "clang"
svn path=/trunk/; revision=50749
2013-07-21 12:53:51 +00:00
Michael Mann f1866064c3 Turn modifier field into a value_string.
svn path=/trunk/; revision=50748
2013-07-21 01:35:45 +00:00
Guy Harris 21609c54bb Don't report a syntax error if a preference name without a "." is
specified, report it as "no such preference" instead.  That should be
less confusing; see

   http://stackoverflow.com/questions/17757659/how-to-apply-and-override-preferences-with-tshark

for an example of confusion.

#BACKPORT 1.10, 1.8

svn path=/trunk/; revision=50745
2013-07-21 00:56:42 +00:00
Evan Huus 6635f5ef67 Replace wmem slist (singly-linked) with wmem list (doubly-linked).
The overhead is not large, and it makes append much faster (O(1) vs O(n)).

It also will make a queue easy to add, which I need for a dissector I'm
writing...

svn path=/trunk/; revision=50744
2013-07-20 20:33:38 +00:00
Michael Mann 19726260f1 make proto_tree_add_text calls filterable through hfs and expert info.
svn path=/trunk/; revision=50743
2013-07-20 02:33:34 +00:00
Gerald Combs a692824160 GeoIP 1.5.1.
svn path=/trunk/; revision=50742
2013-07-20 01:01:55 +00:00