Age | Commit message (Collapse) | Author | Files | Lines |
|
svn path=/trunk/; revision=54314
|
|
Rename more to_str functions to have ep_ in the name if they return ephemeral buffers.
svn path=/trunk/; revision=54313
|
|
bytestring_to_ep_str (now deprecated). Use the new one in a few obvious places.
Also just print directly to the buffer when loading ethernet addresses for
resolution. The straight-to-buffer bytes_to_hexstr seems useful, maybe it
shouldn't be in a private header...
svn path=/trunk/; revision=54270
|
|
svn path=/trunk/; revision=54264
|
|
buffers. Remove two unused functions.
svn path=/trunk/; revision=54250
|
|
obvious that the returned string is ephemeral, and opens up the original names
in the API for versions that take a wmem pool (and thus can work in any scope).
svn path=/trunk/; revision=54249
|
|
tvb_get_unicode_string(). If there's an indication that the encoding is
UCS-2, use that, otherwise use UTF-16. (For example, "BMP" stands for
"Basic Multilingual Plane", which is the part of Unicode that can be
encoded in 16 bits, hence UCS-2.)
In the description of the "Use Heuristics for UDP" preference for the
XML dissector, note that it's not just trying to recognize XML in UCS-2,
it's trying to recognize XML in *big-endian* UCS-2.
svn path=/trunk/; revision=54245
|
|
decoding corrupt bytes. Some of these digit sets could probably be
deduplicated...
svn path=/trunk/; revision=54224
|
|
svn path=/trunk/; revision=54201
|
|
svn path=/trunk/; revision=54088
|
|
since both get_rose_ctx() and get_asn1_ctx() also check signatures.
svn path=/trunk/; revision=53965
|
|
For now, leave the DISSECTOR_ASSERT's since both get_rose_ctx() and get_asn1_ctx() also check signatures.
(Arguably it's the responsibility of the dissector passing this information to set the signature correctly so if there's an invalid signature, the bug is with the calling dissector and not with the one receiving the invalid signature.)
svn path=/trunk/; revision=53964
|
|
svn path=/trunk/; revision=53935
|
|
svn path=/trunk/; revision=53908
|
|
fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9538
reported by Yaniv Kaul
svn path=/trunk/; revision=53902
|
|
svn path=/trunk/; revision=53901
|
|
DISSECTOR_ASSERT(rose_ctx_tmp) since get_rose_ctx() also checks the signature, which might be invalid even if data is not NULL.
svn path=/trunk/; revision=53896
|
|
Note: We *might* want to do _something_ but that _something_ should be well-defined and consistent across all dissectors. Previously, some dissectors called proto_tree_add_text() to add some error message text to the tree, while others called DISSECTOR_ASSERT().
svn path=/trunk/; revision=53895
|
|
svn path=/trunk/; revision=53877
|
|
svn path=/trunk/; revision=53876
|
|
svn path=/trunk/; revision=53873
|
|
svn path=/trunk/; revision=53872
|
|
remaining dissectors
svn path=/trunk/; revision=53867
|
|
svn path=/trunk/; revision=53862
|
|
svn path=/trunk/; revision=53861
|
|
svn path=/trunk/; revision=53860
|
|
svn path=/trunk/; revision=53859
|
|
- Forward declaration of register functions.
svn path=/trunk/; revision=53821
|
|
svn path=/trunk/; revision=53777
|
|
svn path=/trunk/; revision=53769
|
|
svn path=/trunk/; revision=53737
|
|
svn path=/trunk/; revision=53708
|
|
whichever one failed to pass the data properly.
svn path=/trunk/; revision=53706
|
|
svn path=/trunk/; revision=53702
|
|
svn path=/trunk/; revision=53700
|
|
svn path=/trunk/; revision=53655
|
|
pntohs -> pntoh16
pntohl -> pntoh32
pletohs -> pletoh16
pletohl -> pletoh32
phtons -> phton16
phtonl -> phton32
svn path=/trunk/; revision=53652
|
|
Support for Nokias GSM MAP Private Extensions
svn path=/trunk/; revision=53600
|
|
svn path=/trunk/; revision=53562
|
|
svn path=/trunk/; revision=53561
|
|
svn path=/trunk/; revision=53557
|
|
of ansi_tcap code while in the neighbourhood.
svn path=/trunk/; revision=53530
|
|
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9470)
I'm not sold on the name or module the proto_data functions live in, but I believe the function arguments are solid and gives us the most flexibility for the future. And search/replace of a function name is easy enough to do.
The big driving force for getting this in sooner rather than later is the saved memory on ethernet packets (and IP packets soon), that used to have file_scope() proto data when all it needed was packet_scope() data (technically packet_info->pool scoped), strictly for Decode As.
All dissectors that use p_add_proto_data() only for Decode As functionality have been converted to using packet_scope(). All other dissectors were converted to using file_scope() which was the original scope for "proto" data.
svn path=/trunk/; revision=53520
|
|
svn path=/trunk/; revision=53510
|
|
svn path=/trunk/; revision=53509
|
|
svn path=/trunk/; revision=53382
|
|
srtp_add_address/rtp_add_address/bluetooth_add_address so dissectors calling it don't need to find "rtp" just for the handle check.
svn path=/trunk/; revision=53288
|
|
it don't need to find "t38" just for the handle check.
svn path=/trunk/; revision=53283
|
|
"h248term" dissector is not in Wireshark source, so third-party will need to update accordingly.
svn path=/trunk/; revision=53241
|
|
callback functions.
svn path=/trunk/; revision=53240
|