aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nb_rtpmux.c
AgeCommit message (Collapse)AuthorFilesLines
2014-08-18Eliminate proto_tree_add_text from some dissectors.Michael Mann1-3/+2
Other minor cleanup while in the neighborhood. Change-Id: I77cac916d617f56f92f686e9cd9f15fba058facf Reviewed-on: https://code.wireshark.org/review/3675 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-20Rename dissector_add_handle() to dissector_add_for_decode_as().Guy Harris1-1/+1
Hopefully that name makes it clear what the routiner's purpose is, and will encourage people to use it rather than using dissector_add_uint() with a bogus integer value. Change-Id: Ic5be456d0ad40b176aab01712ab7b13aed5de2a8 Reviewed-on: https://code.wireshark.org/review/2483 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-06-19Revert "Fixup: tvb_* -> tvb_captured"Michael Mann1-3/+3
https://www.wireshark.org/lists/wireshark-dev/201406/msg00131.html This reverts commit 246fe2ca4c67d8c98caa84e2f57694f6322e2f96. Change-Id: Ib24bae0198c13a84bd7f731bf4af921212109a8f Reviewed-on: https://code.wireshark.org/review/2430 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-18Fixup: tvb_* -> tvb_capturedDario Lombardo1-3/+3
Change-Id: I9209c1271967405c34c1b6fa43e1726a4d3a5a3f Reviewed-on: https://code.wireshark.org/review/2377 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-12-14Fix [-Wmissing-prototypes]Jakub Zawadzki1-0/+3
svn path=/trunk/; revision=54095
2013-02-12Even when adding a value with proto_tree_add_uint() the mask is applied to ↵Anders Broman1-2/+2
the value which may not be the optimal behavioure. Remove the mask to get the correct value displayed. svn path=/trunk/; revision=47640
2012-11-09Wrong bytes highligted for R bit, fix display while at it.Anders Broman1-10/+7
svn path=/trunk/; revision=45983
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-09-10Initial commit to support yet another method of passing data between dissectors.Jakub Zawadzki1-1/+1
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-5/+5
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-10 Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-3/+3
non-autogenerated epan/dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_BOOLEAN FT_IPv4 FT_EUI64 FT_GUID FT_UINT_STRING Also: For type FT_ITv6 use ENC_NA. (This was missed in SVN #39260) svn path=/trunk/; revision=39328
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-4/+4
non-autogenerated epan/dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE svn path=/trunk/; revision=39288
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-2/+2
reference an hf item (in hf[] with types: FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN svn path=/trunk/; revision=39260
2010-11-18Tweak the display of the header.Anders Broman1-4/+12
svn path=/trunk/; revision=34946
2010-03-20Update offset outside of if statement.Anders Broman1-2/+2
svn path=/trunk/; revision=32250
2010-03-17Add dissection of "multiplexing with RTP header compression"Anders Broman1-31/+74
inspired by Sourabh Rathors bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4591 svn path=/trunk/; revision=32229
2009-10-07Cleanup header fields.Jaap Keuter1-1/+1
svn path=/trunk/; revision=30394
2009-08-29Use NB_RTPMUX as protocol short nameKovarththanan Rajaratnam1-2/+2
svn path=/trunk/; revision=29610
2009-08-29We need to handoff even when we don't have a treeKovarththanan Rajaratnam1-51/+48
svn path=/trunk/; revision=29609
2009-08-29Indent commentsKovarththanan Rajaratnam1-30/+27
svn path=/trunk/; revision=29608
2009-08-29Note what the 3GPP spec is for this protocol.Guy Harris1-23/+23
Suggest a possible less-weak heuristic. Note that we're not checking the T bit and handling RTP header compression. At least as I read TS 29.414, the length indicator isn't supposed to be zero; however, a length indicator of 0 doesn't keep us from dissecting further, so just don't bother dissecting the payload. We should, perhaps, add an expert info for this. We should perhaps also catch exceptions thrown when dissecting the RTP packet, so a malformed RTP packet will still let us continue dissecting the rest of the Nb packet. svn path=/trunk/; revision=29607
2009-08-29Cleanup:Bill Meier1-23/+10
- proto_reg_handoff: 'if (!inited)' not req'd; - Remove unneeded #includes; - Use NULL instead of " for 'blurbs'; - Remove unneeded foward reference. svn path=/trunk/; revision=29604
2009-08-29Note that the "heuristic" is fatally weak, and must be strengthened orGuy Harris1-67/+86
eliminated. Fix indentation. Use tvb_reported_length(), so we throw an exception for packets cut short by a snapshot length. Don't bother showing or dissecting the payload if there isn't any. Don't show an item with a zero-length payload as going to the end of the packet. svn path=/trunk/; revision=29603
2009-08-28From Neil Piercy:Anders Broman1-0/+218
Add new protocol for 3GPP 29.414 (Nb interface RTP Mux). - Don't use C++-style comments (comments beginning with "//") - Don't declare variables in the middle of executable code; not all C compilers support that. - Dont register preferences when none present. - Removed CHECK_COL svn path=/trunk/; revision=29602