aboutsummaryrefslogtreecommitdiffstats
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
2011-01-15Replace ip_to_str((tvb_get_ptr(...)) with tvb_ip_to_str().Jeff Morriss9-274/+269
Replace ip6_to_str((tvb_get_ptr(...)) with tvb_ip6_to_str(). svn path=/trunk/; revision=35540
2011-01-14- Add TELV to dissct IE's with an extention bit in the length vallue.Anders Broman2-1/+168
- Add a BSSGP PDU type - Put IE name in the top tree for ELEM_V svn path=/trunk/; revision=35539
2011-01-14Add tvb_get_[n|le]toh[40|48|56]() accessors. Addresses bug 5082.Chris Maynard5-22/+120
svn path=/trunk/; revision=35538
2011-01-14Removed redundant comparison that caused compilation failure on OSXGraham Bloice1-1/+1
svn path=/trunk/; revision=35536
2011-01-14When looking for previous frame for UL/DL retx, use harq-id + ndi bit.Martin Mathieson2-59/+69
svn path=/trunk/; revision=35535
2011-01-14Updated dissector:Graham Bloice1-35/+408
Additional function codes: Disable unsolicited messages, Open\Close\Delete file Additional data objects: Analog output events, File objects and Octet string events. Improved Info column display for reassembled fragments. Changed all event timestamps to be UTC as per protocol spec. svn path=/trunk/; revision=35533
2011-01-14Rather than repairing out-of-range subframe numbers, make sure error gets ↵Martin Mathieson1-2/+14
reported (and then are not used to access beyond subframe arrays). svn path=/trunk/; revision=35531
2011-01-14From Hadar Shoham:Jaap Keuter1-6/+21
bootp option 123 has 2 chooses - coordinate based location RFC 3825 or CableLabs DSS_ID. Add better support for having 2 DSS_ID with dynamic size (up to 32 byte each) svn path=/trunk/; revision=35530
2011-01-14Replace ip_to_str((tvb_get_ptr(...)) with tvb_ip_to_str().Jeff Morriss22-613/+580
Replace ip6_to_str((tvb_get_ptr(...)) with tvb_ip6_to_str(). There's no need to pass the result of tvb_get_ptr() as the 'value' in proto_tree_add_*(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s. Replace some memcpy()+tvb_get_ptr() with tvb_memcpy(). svn path=/trunk/; revision=35529
2011-01-13Don't (blindly) pass the result of match_strval() into proto_tree_add_*():Jeff Morriss1-5/+5
some OS (like Solaris) don't like NULL pointers to strings in (s)printf formats; use val_to_str() instead. svn path=/trunk/; revision=35526
2011-01-13From Clemens Auer:Jaap Keuter2-2/+56
This patch adds support for the following fields in Meta protocol: - Deciphered - Local Device ID, - Remote Device ID, - Tap Group ID, - TLLI, - Calling Station ID, - Called Station ID svn path=/trunk/; revision=35524
2011-01-13Introduce, and start using, tvb_ip_to_str() and tvb_ip6_to_str(). TheseJeff Morriss7-45/+71
do the same as the non-tvb equivalents but take a TVB and an offset instead of a pointer to an array of bytes. Their purpose is to prevent (many) dissectors from doing: ip_to_str(tvb_get_ptr(...)). (About the names and the location: I like the names as they are but the names imply that they should live in tvbuff.c. That would make some sense but I didn't want to pull to_str.h into tvbuff.c...) svn path=/trunk/; revision=35519
2011-01-13Getting ready for R9 versions of some LTE protocols.Martin Mathieson1-3/+6
svn path=/trunk/; revision=35518
2011-01-13Use value_string_ext.Anders Broman1-7/+11
svn path=/trunk/; revision=35517
2011-01-13Remove an unused variable.Anders Broman1-1/+0
svn path=/trunk/; revision=35516
2011-01-13Make it possible to dissect the part pressent in short frames.Anders Broman1-89/+82
svn path=/trunk/; revision=35515
2011-01-13From Pascal Quantin:Anders Broman1-4/+4
Fix dissection of protocol ID. svn path=/trunk/; revision=35513
2011-01-12Set gsm_a_dtap_pinfo->link_dir to get proper dissection of PCO.Anders Broman1-92/+152
svn path=/trunk/; revision=35510
2011-01-12There's no need to call tvb_get_ptr() in here: just call ensure_contiguous() ↵Jeff Morriss1-5/+5
directly. svn path=/trunk/; revision=35509
2011-01-12Fix the fuzz failure in ↵Jeff Morriss2-10/+18
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5574 : The first time a value_string_ext() is accessed, _match_strval_ext_init() is used before the real match function is called. This function was not expanded to take an idx parameter (in rev 35451). It compiled only because the function: a) previously did not match _value_string_match_t b) and the difference was being cast away when assigning _match_strval to it (So the fact that the index parameter was not added was also ignored.) To fix the problem, give _match_strval_ext_init() and index parameter and use it instead of a dummy variable when calling the real match function. That way the first call to match_strval_ext_idx() will return an actual (initialized) index. To prevent the problem in the future, make the vse argument to _match_strval_ext_init() const *and then cast away the constness* so the function can modify the vse. svn path=/trunk/; revision=35508
2011-01-12Mark a parameter as unused.Anders Broman1-1/+1
svn path=/trunk/; revision=35507
2011-01-12Enhance IE dissection.Anders Broman1-14/+138
svn path=/trunk/; revision=35506
2011-01-12Update dissection of Protocol configuration options.Anders Broman1-32/+59
svn path=/trunk/; revision=35505
2011-01-12From Eliad:Jaap Keuter1-0/+28
Add dissector for P2P Group BSSID attribute (of p2p). svn path=/trunk/; revision=35504
2011-01-12From Steve Karg:Jaap Keuter1-8/+38
Added a display filter on BACnet WhoIs Low Limit and High Limit. svn path=/trunk/; revision=35503
2011-01-12Update a value_string.Anders Broman1-3/+5
svn path=/trunk/; revision=35502
2011-01-12Use value_string_ext in a couple of places.Anders Broman1-20/+31
svn path=/trunk/; revision=35501
2011-01-12From Fulko Hew:Jaap Keuter1-20/+31
Improved the decoding of OID search ranges in AgentX dissector: 1/ OID highlighting on first OID of a range was too long. The code incorrectly used the length of the printable string instead of the length of the source data. 2/ Added bitwise dissection of the 'include' field of an OID decoding. 3/ Added corrected 'start/end' range information to SearchRange decoding to discriminate between an 'end' indicator (old way) and the new way that shows both an inclusive/exclusive indicator as well as a start/end range indicator. (applicable to getnext/getbulk requests). svn path=/trunk/; revision=35500
2011-01-12Document and export:Anders Broman1-0/+1
tvb_bcd_dig_to_ep_str(); svn path=/trunk/; revision=35499
2011-01-12TCAP- Application context name not been decoded correctlyAnders Broman1-1/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5573 svn path=/trunk/; revision=35498
2011-01-12There's no need to pass the result of tvb_get_ptr() as the 'value' inJeff Morriss3-24/+23
proto_tree_add_string(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s. In a couple of places an hf variable was being used as the length in a call to proto_tree_add_*(). Use the appropriate variable instead. svn path=/trunk/; revision=35497
2011-01-12There's no need to pass the result of tvb_get_ptr() as the 'value' inJeff Morriss1-31/+27
proto_tree_add_string(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s. In a couple of places an hf variable was being used as the length in a call to proto_tree_add_*(). Use the appropriate variable instead. svn path=/trunk/; revision=35496
2011-01-12There's no need to pass the result of tvb_get_ptr() as the 'value' inJeff Morriss1-13/+8
proto_tree_add_string(): just use proto_tree_add_item(). Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s. In a couple of places an hf variable was being used as the length in a call to proto_tree_add_*(). Use the appropriate variable instead. svn path=/trunk/; revision=35495
2011-01-12Replace some uses of tvb_get_ptr() with tvb_get_ephemeral_string().Jeff Morriss1-14/+7
svn path=/trunk/; revision=35494
2011-01-12Introduce, and start using, tvb_get_const_stringz(). This function returns aJeff Morriss4-44/+70
pointer to a NULL-terminated string in the TVB. It is no safer than dissectors which call tvb_get_strsize() and then tvb_get_ptr() but it makes it clear that this usage of tvb_get_ptr() is safe. This function is slightly more efficient than tvb_get_ephemeral_stringz()--but only as long as we're not using composite TVBs. svn path=/trunk/; revision=35493
2011-01-11Don't attempt to reassemble short (reported_len > len) chunks.Jeff Morriss1-0/+7
svn path=/trunk/; revision=35486
2011-01-11Don't store message fragments whose length is 0: there's no point. (OtherwiseJeff Morriss1-9/+11
fragment->len was left unitialized.) Also (unrelated): save a couple of calls to tvb_reported_length() since the value is already stored in a variable. svn path=/trunk/; revision=35485
2011-01-11Use value_string_ext and friends.Anders Broman1-2/+2
svn path=/trunk/; revision=35484
2011-01-11Complement toAnders Broman3-17/+77
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=35477 svn path=/trunk/; revision=35483
2011-01-11Improve dissection of UE Time Zone.Anders Broman3-14/+11
svn path=/trunk/; revision=35477
2011-01-11ldap.cnf:782: warning: ISO C90 forbids mixed declarations and codeAnders Broman1-1/+1
svn path=/trunk/; revision=35476
2011-01-11From Slava K:Jaap Keuter3-0/+469
FCoIB – Fibre Channel over InfiniBand. The protocol enables transmission of Fibre Channel frames over InfiniBand networks. It is based on encapsulation of Fibre Channel frames over InfiniBand UD transport. The discovery protocol is based on the FIP protocol (not supported by this patch). This patch adds an FCoIB dissector to Wireshark. It is based in large part on the existing FCoE dissection code. This code is submitted on behalf of Mellanox Technologies Ltd. svn path=/trunk/; revision=35475
2011-01-11From Matthieu Patou <mat@samba.org>Ronnie Sahlberg1-22/+94
Dissect LDAP DirSyncFlags to show the bits of this bitmap. svn path=/trunk/; revision=35474
2011-01-10Add a missing procedure name for NFS-ACLRonnie Sahlberg1-3/+4
svn path=/trunk/; revision=35466
2011-01-10Stop gcc warning about type-punned pointer breaks strict anti-aliasingStephen Fisher1-3/+3
rules. (Is this the right fix? I had to remove a now meaningless comparison of psm > 0x1000 (4096) since psm is now a guint8 not a guint16.) svn path=/trunk/; revision=35463
2011-01-10Add 2869 to the list of HTTP ports: http://support.microsoft.com/kb/886257Gerald Combs1-1/+1
svn path=/trunk/; revision=35461
2011-01-10Add an expert item about not dissected IE'sAnders Broman1-1/+5
svn path=/trunk/; revision=35460
2011-01-10Shorten long winded strings.Anders Broman1-4/+4
svn path=/trunk/; revision=35456
2011-01-10Move some DISSECTOR_SRC & DISSECTOR_INCLUDES entries so they are (more or ↵Bill Meier1-43/+43
less) in alpha order. svn path=/trunk/; revision=35454
2011-01-10Give a couple commented-out hf's abbreviations (to keep checkAPIs happy).Jeff Morriss1-2/+2
svn path=/trunk/; revision=35452