Commit Graph

19353 Commits

Author SHA1 Message Date
Anders Broman d424f3949a Get rid of ../../epan/address.h:65:19: warning: comma at end of enumerator list [-pedantic]
svn path=/trunk/; revision=45102
2012-09-24 15:08:46 +00:00
Anders Broman 0bbd6d4616 Try to passify the buildbots by:
- Using G_GINT64_CONSTANT for 64 bit constants.
- Using guint64 and G_GINT64_MODIFIER where apropriate
- set individual struct members.
-  cast time_t to guint i two places.

svn path=/trunk/; revision=45101
2012-09-24 13:54:45 +00:00
Anders Broman 44e5ddb9c9 packet-btavctp.c:107: warning: 'number_of_packets' may be used uninitialized in this function
packet-btavctp.c:105: warning: 'pid' may be used uninitialized in this function

svn path=/trunk/; revision=45100
2012-09-24 12:51:34 +00:00
Anders Broman 3bc8e5ff68 From Michal Labedzki:
Add Bluetooth Profile AVRCP. Supported version: 1.5.

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

svn path=/trunk/; revision=45099
2012-09-24 12:46:30 +00:00
Anders Broman 577dec01c5 From Michal Labedzki:
Add Bluetooth Protocol AVCTP. Supported version: 1.4.


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

svn path=/trunk/; revision=45097
2012-09-24 12:30:30 +00:00
Jörg Mayer a64c8ab1ac Whitespace fixes
svn path=/trunk/; revision=45095
2012-09-24 11:39:28 +00:00
Martin Mathieson 516f0c6e5c Also avoid some unnecessary calls to strcmp() here, where the release
number at the end isn't important to know.

svn path=/trunk/; revision=45092
2012-09-24 10:34:27 +00:00
Anders Broman ef4ecaa38b Use proto_tree_add_item() and value_strings in a couple of more places.
svn path=/trunk/; revision=45087
2012-09-24 08:38:45 +00:00
Michael Mann 88ee7291cf replaced decode_boolean_bitfield calls with itemized filters
svn path=/trunk/; revision=45082
2012-09-24 01:59:34 +00:00
Evan Huus 69905db57c Move potential dereference until *after* the null-check.
Caught by cppcheck.

svn path=/trunk/; revision=45081
2012-09-23 21:02:32 +00:00
Pascal Quantin 7dd916459e Let's be consistent and display lte_rrc root for all LTE RRC messages
svn path=/trunk/; revision=45080
2012-09-23 21:01:05 +00:00
Bill Meier c4d449cbff expert_add...() shouldn't be called under 'if (tree)'.
svn path=/trunk/; revision=45072
2012-09-23 18:15:09 +00:00
Jakub Zawadzki 72ca9d0e61 Store pointers to previously displayed and captured packet, not nstime_t deltas.
This commit reduces size (from 144B to 128B on AMD64) of frame_data structure.

Part of bug 5821: Reduce per-packet memory requirements.

svn path=/trunk/; revision=45071
2012-09-23 16:25:28 +00:00
Jakub Zawadzki 9cde3e1a44 Add lua_nstime_to_sec()
svn path=/trunk/; revision=45070
2012-09-23 15:57:11 +00:00
Jakub Zawadzki 7719d4e84a Cleanup wslua PINFO_GET_* macros. It's portable, right?
svn path=/trunk/; revision=45067
2012-09-23 14:46:43 +00:00
Gerald Combs 2fc8270439 [Automatic manuf, services and enterprise-numbers update for 2012-09-23]
svn path=/trunk/; revision=45065
2012-09-23 14:03:25 +00:00
Evan Huus a9bb9186dd Fix some unused variable warnings from GCC.
svn path=/trunk/; revision=45064
2012-09-23 12:45:03 +00:00
Michael Mann b89a06a3e1 replaced decode_boolean_bitfield calls with itemized filters
svn path=/trunk/; revision=45059
2012-09-23 00:12:14 +00:00
Chris Maynard 6b3b90bde7 Fixup vlan_flags bug introduced with r45054
svn path=/trunk/; revision=45055
2012-09-22 18:47:11 +00:00
Michael Mann 6516edc022 replaced decode_boolean_bitfield calls with itemized filters
svn path=/trunk/; revision=45054
2012-09-22 17:41:07 +00:00
Guy Harris ad32e468bf Note that Banyan don't exist any more, so you can't order a dead-tree
version of the VINES documentation from them.  However, there appear to
be online versions available; give the URLs for them.

svn path=/trunk/; revision=45052
2012-09-22 10:28:21 +00:00
Guy Harris a5d1394953 Remove incorrect extra hf_vines_ip_length - what's being constructed
there is the Transport Control field and subfields thereof, not the
packet length field.

Update some URLs.

svn path=/trunk/; revision=45051
2012-09-22 10:21:05 +00:00
Pascal Quantin 006f022fea Upgrade PDCP LTE dissector to v11.0.0
svn path=/trunk/; revision=45049
2012-09-21 20:12:32 +00:00
Pascal Quantin a8f9cd6593 Upgrade MAC LTE dissector to v11.0.0
svn path=/trunk/; revision=45048
2012-09-21 20:11:11 +00:00
Pascal Quantin 8b6bc1630a Dissect Update UE Location Information message
svn path=/trunk/; revision=45047
2012-09-21 20:00:12 +00:00
Pascal Quantin 6dedc6628b Test Procedures messages should be also integrity protected
svn path=/trunk/; revision=45046
2012-09-21 19:58:34 +00:00
Anders Broman 201380fd33 Detected typos in speech codec value.
- Refactored code to use proto_tree_add_item() and use a value string.

svn path=/trunk/; revision=45044
2012-09-21 13:36:07 +00:00
Jakub Zawadzki 5376508e7d Fix bug #7669: Preference editor removes (does not save) column definitions after the 27th.
put_string_list() was generating string with list of columns to be saved to preference file, 
but buffer is limited to MAX_FMT_PREF_LEN (1024 bytes). It looks like 1024 bytes is not enough.

Fix bug by writting directly to file.


svn path=/trunk/; revision=45043
2012-09-21 12:29:04 +00:00
Anders Broman 467976f37f Assuming transport_protocol is a guint8.
svn path=/trunk/; revision=45042
2012-09-21 11:54:30 +00:00
Anders Broman ff1a7d93bf From Michal Labedzki:
Bluetooth: Provide PSM for higher layers

This is needed by AVRCP, HCRP and AVDTP to recognize other substreams.

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

svn path=/trunk/; revision=45041
2012-09-21 11:30:53 +00:00
Anders Broman 1684c38d44 From Michal Labedzki:
Add SAP dissector

Add Bluetooth Profile SAP. Supported version: 1.1.

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

svn path=/trunk/; revision=45040
2012-09-21 11:14:33 +00:00
Anders Broman aa3c9034f5 From Michal Labedzki:
Bluetooth: Cleanup headers
Remove redundant headers and sort existing to chosen convention.

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

svn path=/trunk/; revision=45039
2012-09-21 10:49:44 +00:00
Anders Broman 8974a27357 From Michal Labedzki:
FCS is not part of "Control" subtree so move it.

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

svn path=/trunk/; revision=45038
2012-09-21 10:39:15 +00:00
Anders Broman 0382e69331 From Michal Labedzki:
Bluetooth: Improve internal Decode By Channel for RFCOMM

Use UAT to allow user to force set top dissector per channel.
Only first found dissection for specified channel is used,
the rest can be used as well-known protocol on channel, but not for
current logs.  Also user can turn on/off this dissection by one-click
preference.

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

svn path=/trunk/; revision=45037
2012-09-21 08:52:45 +00:00
Guy Harris b36016fc1d I guess the IETF is now keeping expired I-Ds around; alternic doesn't
have that one any more.

svn path=/trunk/; revision=45030
2012-09-20 20:17:53 +00:00
Jörg Mayer fad5d18b8b Add URL for WCCP V2 revision 1
svn path=/trunk/; revision=45028
2012-09-20 18:36:12 +00:00
Martin Kaiser 0bacfd7ec9 started a dissector for DTCP-IP
(Digital Transmission Content Protection over IP)

svn path=/trunk/; revision=45027
2012-09-20 17:46:42 +00:00
Jeff Morriss 8f0d5f99c6 As suggested by Xavier Raynaud in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6425 :
scanner.c includes (depends on) grammar.h so mark it so in the Makefiles.

svn path=/trunk/; revision=45020
2012-09-20 03:04:48 +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
Jeff Morriss 3729335973 We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
svn path=/trunk/; revision=45016
2012-09-20 01:48:30 +00:00
Jeff Morriss 300eb81514 Fix up some indentation and trailing white space.
svn path=/trunk/; revision=45009
2012-09-19 19:34:17 +00:00
Chris Maynard 4b5a9a2663 Since r41681, IPv6 sets pinfo->ip_ttl as the hop limit, so display that in the
INFO column, similar to how IPv4 displays the TTL.

svn path=/trunk/; revision=45008
2012-09-19 19:12:25 +00:00
Chris Maynard 86db174948 Fix request/response tracking with checksum corner case.
svn path=/trunk/; revision=45007
2012-09-19 17:57:54 +00:00
Martin Mathieson d729f21ad2 Revert r45005.
svn path=/trunk/; revision=45006
2012-09-19 16:56:59 +00:00
Martin Mathieson a232ae9242 Make proto_item_append_string() behave sanely, and use it in a few more
dissectors.

svn path=/trunk/; revision=45005
2012-09-19 11:58:32 +00:00
Pascal Quantin 0543f20a15 From LI Hai via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7736 :
Fix dissection error of D-RELEASE and D-CONNECT in TETRA dissector

svn path=/trunk/; revision=45004
2012-09-19 11:02:19 +00:00
Jörg Mayer 30b7b74dde Remove #defines that provided backward source compatibility
for deprecated dissector add/remmove/... functions.

svn path=/trunk/; revision=45000
2012-09-19 07:20:49 +00:00
Ronnie Sahlberg bce733e4d8 SCSI: Dont show two reserved bytes in the decode pane for standard INQ page
svn path=/trunk/; revision=44999
2012-09-19 02:12:38 +00:00
Alexis La Goutte b6e0cc28a5 From Daniel via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7716
Adding VHT Radiotap fields support

Parsing and UI representation for recently adopted VHT Radiotap fields for
802.11ac specification
http://www.radiotap.org/defined-fields/VHT 

From me :
* Make checkAPIs happy
* Fix wrong last argument for some proto_tree_add_item
* Use proto_tree_add_item when it is possible

svn path=/trunk/; revision=44985
2012-09-18 20:46:05 +00:00
Jakub Zawadzki a016cd7740 Revert r44978: dissector_add_uint: Legalize formerly improper use of the API when calling it with pattern value of 0
dissector_add_uint() is *not only* used by tcp.port/udp.port dissector tables where 0 is not valid port number,
in some dissector tables 0 is valid protocol number, packet type, etc..

Sample dissectors using dissector_add_uint(.pattern = 0):
  packet-ansi_637.c:2348: dissector_add_uint("ansi_a.sms", 0, ansi_637_trans_handle);
  packet-cip.c:6017:      dissector_add_uint("cip.class.iface", 0, cip_class_generic_handle );
  packet-lon.c:723:       dissector_add_uint("cnip.protocol", 0, lon_handle);
  packet-q931.c:3599:     dissector_add_uint("lapd.sapi", LAPD_SAPI_Q931 /* 0 */, q931_handle);


svn path=/trunk/; revision=44980
2012-09-18 19:29:00 +00:00