aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mpls-echo.c
AgeCommit message (Collapse)AuthorFilesLines
2012-03-15Fixed error: "/*" within commentStig Bjørlykke1-1/+1
svn path=/trunk/; revision=41555
2012-03-15Update MPLS return codes, ↵Anders Broman1-2/+7
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6951 svn path=/trunk/; revision=41554
2011-12-06One more contributor...Anders Broman1-1/+2
svn path=/trunk/; revision=40100
2011-12-02Add a contributor.Anders Broman1-0/+1
svn path=/trunk/; revision=40068
2011-11-30From Krishnamurthy Mayya:Anders Broman1-0/+3
Add Copyright. svn path=/trunk/; revision=40055
2011-11-28From Krishnamurthy Mayya:Anders Broman1-3/+179
LSP Ping extension has been added as per RFC 6426, to decode the LSP Ping packet with ACH encapsulation(without IP/UDP header encapsulation). The channel type in ACH header identifies the LSP Ping packet. Also support for decoding new TLVs and Sub-TLVs defined in the RFC 6426 has been provided. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6610#add_comment svn path=/trunk/; revision=40028
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-2/+2
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-31/+31
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-52/+52
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-9/+9
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
2011-02-08Add NTP times using proto_tree_add_item().Jeff Morriss1-11/+6
svn path=/trunk/; revision=35876
2011-01-14Replace ip_to_str((tvb_get_ptr(...)) with tvb_ip_to_str().Jeff Morriss1-12/+12
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
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-09-17Use val_to_str_ext() & friends to access sminmpec_values[];Bill Meier1-1/+1
Also: packet-nhrp.c: #include sminmpec.h not req'd; svn path=/trunk/; revision=34143
2010-04-06#include <string.h> not needed.Bill Meier1-1/+0
svn path=/trunk/; revision=32410
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-1/+0
svn path=/trunk/; revision=32367
2010-01-18Fix some gcc -Wshadow warnings ....Bill Meier1-12/+12
svn path=/trunk/; revision=31559
2009-08-09Don't guard col_set_str (COL_INFO) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29342
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29340
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-2/+2
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero svn path=/trunk/; revision=28770
2009-01-09Fix bug 3179:Jaap Keuter1-41/+87
Implement dissection and use of address type in Interface and Label Stack TLV's. svn path=/trunk/; revision=27205
2008-12-19Back out r27047 and r27053.Gerald Combs1-2/+2
svn path=/trunk/; revision=27062
2008-12-18Update calls to proto_tree_add_bytes_format to reflect r27047.Gerald Combs1-2/+2
svn path=/trunk/; revision=27053
2008-09-30Minor cleanup related to proto_register, proto_reg_handoffBill Meier1-3/+2
svn path=/trunk/; revision=26307
2008-05-15Fix some of the Errors/warnings detected by checkapi.Bill Meier1-2/+5
svn path=/trunk/; revision=25306
2007-11-08Apply yet another set of the optimization patches:Anders Broman1-1/+1
-set_str2add_str_val_to_str svn path=/trunk/; revision=23406
2007-11-08Apply yet another set of the optimization patches:Anders Broman1-1/+1
When offset parameter is 0 replace tvb_bytes_exist() with the faster tvb_length(). non heuristic dissectors svn path=/trunk/; revision=23405
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-3/+3
svn path=/trunk/; revision=18196
2005-09-21get rid of strcpy in packet-ntp.cRonnie Sahlberg1-3/+2
at the same time change ntp_fmt_ts to return a pointer to ian ep-allocated buffer. remove the redundant buffer parameter in the signature and change all callers. svn path=/trunk/; revision=15939
2005-03-04from Carlos PignataroRonnie Sahlberg1-44/+788
update MPLS to support MPLS Echo svn path=/trunk/; revision=13590
2004-10-08From Carlos Pignataro: decode more TLVs and subTLVs and make some smallGuy Harris1-14/+189
fixes. Include "packet-ldp.h" in "packet-ldp.c" (if we'd been doing that, the mismatch between "packet-ldp.h"'s declaration of "fec_vc_types_vals[]" and "packet-ldp.c"'s definition of it would have been caught earlier). svn path=/trunk/; revision=12241
2004-09-27Move prefs.c and prefs.h into the epan subdirectory.Guy Harris1-1/+1
svn path=/trunk/; revision=12115
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+526
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410