aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mip.c
AgeCommit message (Collapse)AuthorFilesLines
2013-11-09Include <epan/to_str.h> only when needed.Jakub Zawadzki1-0/+1
svn path=/trunk/; revision=53189
2013-10-23#if 0 numerous "unused const variables" (mostly value-string-arrays);Bill Meier1-0/+2
Also; fix a few "set but not used" warnings. svn path=/trunk/; revision=52780
2013-09-12More dissector table name related changes (a continuation of r51904).Chris Maynard1-6/+6
svn path=/trunk/; revision=51982
2013-07-15Use 2 Spaces indent and add modelines infoAlexis La Goutte1-50/+61
svn path=/trunk/; revision=50624
2013-07-15Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+0
svn path=/trunk/; revision=50619
2013-07-11Fix typo found by a compiler warning.Guy Harris1-1/+1
svn path=/trunk/; revision=50514
2013-07-11From Tommy Wu:Anders Broman1-11/+39
Add 3gpp2_cvse. svn path=/trunk/; revision=50512
2013-05-03Add 3gpp2_type16.Anders Broman1-0/+17
svn path=/trunk/; revision=49147
2013-04-17Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+1
svn path=/trunk/; revision=48897
2013-03-28Register a dissector table for Normal Vendor/Organization Specific ↵Anders Broman1-18/+139
Extension(NVSE) and use it for 3GPP2. svn path=/trunk/; revision=48623
2013-01-31Use '#if 0 ... #endif' rather than /** ... **/ to comment outBill Meier1-4/+4
unused hf[] entries (which I should have done in the first place). svn path=/trunk/; revision=47391
2013-01-26Fix various instances of unused hf[] entries foundBill Meier1-2/+6
by checkhf. svn path=/trunk/; revision=47312
2012-10-24Use tvb_reported_length to skip past all the bytes in the tvb.Chris Maynard1-1/+1
svn path=/trunk/; revision=45777
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-06-28Update FSF address - part II.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=43538
2012-05-15Remove unneeded #includes (stdlib, stdio, ctypes, time);Bill Meier1-3/+0
In a few cases: do some whitespace, indentation cleanup & reformatting. svn path=/trunk/; revision=42632
2012-04-26Fix some "conflicting" value_string warnings.Jakub Zawadzki1-1/+0
copy & paste errors, not 0-terminated value_string arrays, etc. svn path=/trunk/; revision=42260
2012-02-24From Martin Kaiser:Anders Broman1-2/+0
Get rid of an unused variable. svn path=/trunk/; revision=41177
2012-02-24From Robert Shade: Mobile IP NVSE (RFC3115) Decoding ↵Anders Broman1-1/+46
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6868 svn path=/trunk/; revision=41171
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-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵Bill Meier1-2/+2
FT_STRINGZ, FT_UINT_STRING as follows: 1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. For all but FT_UINT_STRING, always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). svn path=/trunk/; revision=39426
2011-10-11Fix several cases wherein proto_tree_add_uint() was intended iso ↵Bill Meier1-7/+6
proto_tree_add_item(); One case would have caused display of a FT_UINT16 field with the wrong endianness. svn path=/trunk/; revision=39358
2011-10-11Revert SVN #39347; There's a better way.Bill Meier1-6/+7
svn path=/trunk/; revision=39357
2011-10-10Fix additiuonal bugs in some proto_tree_add_item() 'encoding' args;Bill Meier1-7/+6
Two of the bugs would appear to have caused display of a FT_UINT16 field with the wrong endianness. svn path=/trunk/; revision=39347
2011-10-10Fix benign bug in some proto_tree_add_item() 'encoding' args;Bill Meier1-848/+846
Use consistent indentation. svn path=/trunk/; revision=39346
2011-10-10 Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-10/+10
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-25/+25
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-7/+7
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-13/+3
svn path=/trunk/; revision=35876
2011-01-14Replace ip_to_str((tvb_get_ptr(...)) with tvb_ip_to_str().Jeff Morriss1-46/+46
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-1/+1
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-02-10No need for cvse_reserved as a variable; getting rid of it squelches aGuy Harris1-5/+3
compiler warning. svn path=/trunk/; revision=31854
2010-02-10Define VENDOR_VERIZON in sminmpec.hAnders Broman1-2/+1
svn path=/trunk/; revision=31853
2010-02-10From yi ren:Anders Broman1-57/+184
CVSE fields for MIP protocol is not correctly decoded. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4477 From me: - Fixed hf blurbs. - FT_BYTES, BASE_NONE - Updated value_strings from IANA registery. svn path=/trunk/; revision=31852
2009-12-11From Martin Willi:Jaap Keuter1-5/+1
The attached patch fixes the check for types with the long extension format and re-enables it. svn path=/trunk/; revision=31244
2009-10-09From Didier Gautheron:Anders Broman1-5/+7
Dissectors using call_dissector() function inside a 'if (tree) {}' block. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4107 svn path=/trunk/; revision=30415
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29446
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29340
2009-07-06OK, nobody cared about the waring, so just remove theJörg Mayer1-0/+4
test for now. svn path=/trunk/; revision=28958
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-22/+22
(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-03-22P64 changes: Fix some cases for which size_t is not requiredBill Meier1-3/+3
svn path=/trunk/; revision=27822
2009-03-18From Munenori Ohuchi:Anders Broman1-4/+162
Enhacement to support 'WiMAX Forum/3GPP2 Proxy Mobile IPv4'. svn path=/trunk/; revision=27770
2008-12-20Fix various typos and spelling errors (mostly in text strings)Bill Meier1-1/+1
svn path=/trunk/; revision=27065
2008-12-19Back out r27047 and r27053.Gerald Combs1-0/+2
svn path=/trunk/; revision=27062
2008-12-18Update calls to proto_tree_add_bytes_format to reflect r27047.Gerald Combs1-2/+0
svn path=/trunk/; revision=27053
2007-05-26From Ville Nuorvala :Sebastien Tandel1-32/+512
adds support for the following RFCs (and RFC-to-be): - RFC 3519 Mobile IP Traversal of Network Address Translation (NAT) Devices - RFC 3543 Registration Revocation in Mobile IPv4 - RFC 4433 Mobile IPv4 Dynamic Home Agent (HA) Assignment (including the not yet published errata about the message extension using the short message extension format) - draft-ietf-mip4-message-string-ext Mobile IPv4 Message String Extension svn path=/trunk/; revision=21948