aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mtp3.c
AgeCommit message (Collapse)AuthorFilesLines
2014-11-21Replace tvb_length()AndersBroman1-1/+1
Change-Id: I0b5ad4d588f0b658abaf3892d08d6520ecd2f645 Reviewed-on: https://code.wireshark.org/review/5431 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-10-04Add editor modelines; Reformat as appropriate.Bill Meier1-425/+438
Change-Id: I8e9c58b75eea85877d22024201e5d8d0e9a3dbfd Reviewed-on: https://code.wireshark.org/review/4459 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-08-14Eliminate proto_tree_add_text from some dissectors.Michael Mann1-3/+7
Other minor cleanup while in the neighborhood. Change-Id: If73a029f564219782c313d4154c24c7ce7458b52 Reviewed-on: https://code.wireshark.org/review/3574 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-07-04convert to proto_tree_add_subtree[_format]Michael Mann1-14/+6
Change-Id: I621f2e2cad9403449cb78f45302388f0c874d3bc Reviewed-on: https://code.wireshark.org/review/2852 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-19Revert "Fixup: tvb_* -> tvb_captured"Michael Mann1-1/+1
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-1/+1
Change-Id: I9209c1271967405c34c1b6fa43e1726a4d3a5a3f Reviewed-on: https://code.wireshark.org/review/2377 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-07tvb_new_subset -> tvb_new_subset_length when length parameters are equal.Michael Mann1-7/+4
tvb_new_subset -> tvb_new_subset_remaining it appears that's what the intention is. Change-Id: I2334bbf3f10475b3c22391392fc8b6864454de2d Reviewed-on: https://code.wireshark.org/review/1999 Reviewed-by: Pascal Quantin <pascal.quantin@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-21Add missing includesJakub Zawadzki1-0/+2
svn path=/trunk/; revision=54332
2013-12-14Fix [-Wmissing-prototypes]Jakub Zawadzki1-0/+3
svn path=/trunk/; revision=54095
2013-11-16Avoid calling find_dissector(), cache result of [new_]register_dissector()Jakub Zawadzki1-4/+3
svn path=/trunk/; revision=53353
2013-09-15emem -> wmemPascal Quantin1-3/+2
svn path=/trunk/; revision=52063
2013-07-04Global variables considered harmful.Guy Harris1-6/+8
svn path=/trunk/; revision=50378
2013-03-19From beroset:Anders Broman1-6/+6
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48425
2013-02-01Add heuristic MTP3 standard detection to M3UA (not for the draft M3UA versions).Jeff Morriss1-2/+1
The SCCP heuristics actually don't work all that well here but checking the PCs (in M3UA) seems to do a decent job at least of differentiating ANSI from ITU. svn path=/trunk/; revision=47407
2013-01-25Use pinfo-scoped memory for mtp3 addresses.Evan Huus1-2/+3
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8247 svn path=/trunk/; revision=47266
2012-11-29Make all enum_val_t's const.Jeff Morriss1-5/+5
svn path=/trunk/; revision=46292
2012-10-25Create and start using macros for MTP3 network indicators.Jeff Morriss1-8/+2
pinfo has a match_uint field: use it instead of passing the SI of the message to subdissectors in private_data. svn path=/trunk/; revision=45788
2012-10-25Fix cut-n-pasteo.Jeff Morriss1-1/+1
svn path=/trunk/; revision=45786
2012-10-25Create and start using macros for MTP3 network indicators.Jeff Morriss1-12/+12
Export the network indicator value_string and use it in M3UA. svn path=/trunk/; revision=45784
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-03MT: move global frame_end_routines to packet_info.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=44748
2012-08-10Use val_to_str_const() where appropriate;Bill Meier1-2/+2
Also (for a few files): - create/use some extended value strings; - remove unneeded #include files; - remove unneeded variable initialization; - re-order fcns slightly so prefs_reg_handoff...() at end, etc svn path=/trunk/; revision=44438
2012-06-28Update FSF address - part II.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=43538
2012-02-07Export the mtp3_heuristic_standard preference and mtp3_standard_vals[].Jeff Morriss1-5/+8
Set mtp3_standard back to the preference value after each packet (in addition to in the frame-end function) in case there are multiple packets of different standards in the same frame. svn path=/trunk/; revision=40910
2012-02-03Create a list of MTP Service Indicator macros and use them.Jeff Morriss1-36/+36
svn path=/trunk/; revision=40828
2012-02-03Register a frame-end routine to reset mtp3_standard back to the preferenceJeff Morriss1-12/+22
value even if an exception was thrown. svn path=/trunk/; revision=40827
2012-02-03Improve heuristic standard detection:Jeff Morriss1-166/+165
- Fix various bugs. - Add some optional debug. - Enable checking of the Calling address. - Check that the Called/Calling address has at least a minimum number of octets. - Handle XUDTS. - Reject messages whose mandatory variable pointers are 0 (meaning not present). - Reject Class-2 messages whose Class-spare bits are non-zero. - For (Class-2) messages that have no variable parameters but an optional pointer, only accept messages whose optional pointer is 0 (no optional parameters) or 1 (optional parameter immediately follows the pointer). - (For some of those Class-2 messages) if there are no optional parameters, reject messages if we didn't reach the end of the message. svn path=/trunk/; revision=40819
2012-01-30Remove an unused parameter.Anders Broman1-2/+2
svn path=/trunk/; revision=40778
2012-01-30Try to determine MTP3 Standard heuristically, original codeAnders Broman1-44/+109
from Jeff Morris refactored a bit by me. svn path=/trunk/; revision=40776
2011-09-26Get rid of check_col() and use ENC.Anders Broman1-14/+13
svn path=/trunk/; revision=39153
2011-09-01Update my email address (the old one still works but I don't use it for ↵Jeff Morriss1-14/+14
Wireshark related stuff). svn path=/trunk/; revision=38841
2011-04-21Fix Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+0
svn path=/trunk/; revision=36773
2011-04-21Fix Dead Store (Dead nested assignment) Warning found by Clang Alexis La Goutte1-1/+1
svn path=/trunk/; revision=36757
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-2/+2
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) svn path=/trunk/; revision=35224
2010-10-28Copy hf variables by value, not by reference.Jeff Morriss1-8/+8
svn path=/trunk/; revision=34682
2010-10-28Use ENC_LITTLE_ENDIAN and ENC_NA.Jeff Morriss1-14/+14
svn path=/trunk/; revision=34681
2010-10-10Define some fcns & vars as static; Some #includes not req'd; packet-mikey.h ↵Bill Meier1-2/+2
not req'd. svn path=/trunk/; revision=34464
2010-03-30Add routine and tables for analyzing International Signalling PointGerasimos Dimitriadis1-0/+13
Codes (ISPCs) according to Q.708. Update the MTP3 dissector to use this function when the routing label carries ISPCs svn path=/trunk/; revision=32329
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-3/+3
svn path=/trunk/; revision=29446
2009-08-09Don't guard col_set_str (COL_INFO) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29342
2009-06-30Get rid of assert() call; either the pointer will never be null, inGuy Harris1-1/+0
which case it won't crash, or it will be null, in which case that just trades one crash for another, and we should fix the crash. svn path=/trunk/; revision=28898
2009-05-19From Artem Tamazov (bug 3472):Stig Bjørlykke1-2/+6
Save/Restore pinfo->private_data when used. svn path=/trunk/; revision=28412
2009-03-29Define certain fcns as static (if not used externally).Bill Meier1-32/+32
Also: whiule we're at it: - fix hf[] blurbs as appropriate to use NULL; - fix some indentation svn path=/trunk/; revision=27890
2008-09-30Minor proto_reg_handoff cleanup: use find_dissector when appropriate.Bill Meier1-2/+1
svn path=/trunk/; revision=26308
2008-05-15Fix some of the Errors/warnings detected by checkapi.Bill Meier1-12/+22
svn path=/trunk/; revision=25306
2007-04-26mtp3_addr_to_str_buf() and mtp3_pc_hash() expect to be passed a pointerGuy Harris1-5/+2
to a mtp3_addr_pc_t; declare them as such, and pass the argument as such. svn path=/trunk/; revision=21595
2007-03-29When there are multiple mtp3 packets on a single sctp packet (m2ua) have ↵Luis Ontanon1-17/+19
each one has its own pcs and tap structure svn path=/trunk/; revision=21271
2007-01-18Add a preference (defaulted to off) to have the MTP3 dissector show the ↵Jeff Morriss1-2/+19
priority (which is a national option in ITU) of MSUs. svn path=/trunk/; revision=20490
2006-09-18jeff morriss:Jörg Mayer1-3/+4
Patch for http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1102 svn path=/trunk/; revision=19252