aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mpls-pm.c
AgeCommit message (Collapse)AuthorFilesLines
2014-12-21Cleanup use of #includes in non-generated epan/dissector/*.cBill Meier1-3/+1
Specifically: - Set packet.h to be the first wireshark #include after config.h and "system" #includes. packet.h added as an #include in some cases when missing. - Remove some #includes included (directly/indirectly) in packet.h. E.g., glib.h. (Done only for those files including packet.h). - As needed, move "system" #includes to be after config.h and before wireshark #includes. - Rework various #include file specifications for consistency. - Misc. Change-Id: Ifaa1a14b50b69fbad38ea4838a49dfe595c54c95 Reviewed-on: https://code.wireshark.org/review/5923 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-12-13Use ENC_BIG_ENDIAN when fetching FT_U?INT8 fields ...Bill Meier1-17/+17
(for some dissectors which fetch all other integral fields using ENC_BIG_ENDIAN). Change-Id: Ic18e3172aad76af12b12d6732c88497be22aed56 Reviewed-on: https://code.wireshark.org/review/5748 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-11-09Add subdissector table for MPLS PW Associated Channel TypeMichael Mann1-26/+14
Change-Id: Id72fcbe74b91b4eb25fb4d3f3d47a1d53c2857b2 Reviewed-on: https://code.wireshark.org/review/5212 Reviewed-by: Michael Mann <mmann78@netscape.net>
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
2012-12-26Fix a bunch of warnings.Guy Harris1-1/+1
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
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-08-30Fix Session ID parsing. Patch from Fransesco Fondelli via bug 6881.Chris Maynard1-12/+5
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6881 svn path=/trunk/; revision=44701
2012-08-15Updated MPLS dissectors display filters per checkfiltername.plMichael Mann1-52/+52
Tried to provide consistency with MPLS dissector filter names svn path=/trunk/; revision=44521
2012-07-29Minor cleanup.Bill Meier1-94/+80
svn path=/trunk/; revision=44119
2012-07-29Several right-shifts should be left-shifts.Bill Meier1-2/+2
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6881#c12 svn path=/trunk/; revision=44118
2012-06-28Update FSF address - part II.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=43538
2012-06-11Use dscp_vals_ext everyplace (instead of dscp_vals);Bill Meier1-2/+2
(dscp_vals is now a static array in packet-ip.c) svn path=/trunk/; revision=43211
2012-05-19Fix RVALS() macro usagepascal1-9/+9
svn path=/trunk/; revision=42720
2012-05-15Remove unneeded #includes (stdlib, stdio, ctypes, time);Bill Meier1-2/+0
In a few cases: do some whitespace, indentation cleanup & reformatting. svn path=/trunk/; revision=42632
2012-03-21'tab-width/tabstop/tabSize' in editor modelines should really always be 8;Bill Meier1-3/+3
Also: In some cases do some whitespace cleanup and some minor reformatting. svn path=/trunk/; revision=41724
2012-03-02From Francesco FondelliAlexis La Goutte1-34/+57
Fix indent (use 80 columns) in MPLS PM dissector svn path=/trunk/; revision=41295
2012-03-01packet-mpls-pm.c(616) : error C2220: warning treated as error - no 'object' ↵Anders Broman1-2/+2
file generated packet-mpls-pm.c(616) : warning C4098: 'dissect_mpls_pm_dlm' : 'void' function returning a value packet-mpls-pm.c(623) : warning C4098: 'dissect_mpls_pm_ilm' : 'void' function returning a value svn path=/trunk/; revision=41262
2012-03-01From Francesco Fondelli via ↵Alexis La Goutte1-0/+1425
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6881 Support for MPLS Packet Loss and Delay Measurement, RFC 6374 Support for MPLS Packet Loss and Delay Measurement, RFC 6374. Any packetformat is supported: DLM, ILM, DM, DLM+DM and ILM+DM. From me : * Prefer proto_tree_add_item when it is possible * add Modelines information svn path=/trunk/; revision=41260