aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier364-9197/+9197
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-06Don't break strict aliasing rules.Gerald Combs1-6/+8
svn path=/trunk/; revision=39287
2011-10-06Create expert item for invalid packet type instead of using ↵Bill Meier1-55/+36
DISSECTOR_ASSERT_NOT_REACHED(); Reformat some long lines; Refactor code slightly. svn path=/trunk/; revision=39286
2011-10-05GEOIP_NETSPEED_EDITION_V6 → GEOIP_NETSPEED_EDITION_REV1_V6.Gerald Combs1-1/+1
svn path=/trunk/; revision=39285
2011-10-05Add a dummy version of geoip_db_lookup_ipv6(). Should fix compilation onGerald Combs1-0/+5
a few of the build slaves. svn path=/trunk/; revision=39284
2011-10-05Add a HAVE_GEOIP_V6 configuration option and enable it by default.Gerald Combs3-4/+10
svn path=/trunk/; revision=39283
2011-10-05Add $(GEOIP_CFLAGS).Gerald Combs1-1/+1
svn path=/trunk/; revision=39282
2011-10-05Fix GeoIP-sans-IPv6 compilation.Gerald Combs2-2/+2
svn path=/trunk/; revision=39281
2011-10-05Add GeoIP IPv6 database support. Tested with GeoIP 1.4.7, but olderGerald Combs7-18/+450
versions *should* be supported. svn path=/trunk/; revision=39280
2011-10-05packet-ipdc.h no longer exists ...Bill Meier1-1/+0
svn path=/trunk/; revision=39279
2011-10-05Fix proto_tree_add_item() encoding parameter:Bill Meier2-781/+734
- Use ENC_BIG_ENDIAN instead of a (non-sensical) variable value; - Use ENC_NA for hf field type FT_BYTES; Also: - Remove unneeded #includes; - Use consistent indentation; - val_to_str_...() ==> val_to_str_..._const() svn path=/trunk/; revision=39278
2011-10-05In iousers_init(), compare "conv,ipv6" before "conv,ip" and be sure to ↵Chris Maynard1-9/+9
compare all 9 characters of that string instead of only 7. Also correct the offset when looking for a possible comma followed by an optional filter. svn path=/trunk/; revision=39277
2011-10-05All: Fix proto_tree_add_item() encoding parameter:Bill Meier4-138/+146
- Use 'ENC_(LITTLE|BIG)_ENDIAN' instead of locally defined 'bo_(little|big)_endian'; - Use ENC_NA for hf fields with type FT_NONE or FT_BYTES. packet-wsp.c: - #if 0 unused hf fields; -Fix two minor bugs in "sir" dissection. svn path=/trunk/; revision=39276
2011-10-05Check if the continue is from the originating side too.Anders Broman1-41/+47
svn path=/trunk/; revision=39275
2011-10-05Add a couple of OID strings.Anders Broman2-2/+8
svn path=/trunk/; revision=39274
2011-10-05Some minor documentation changes: little_endian -> encoding. Also, fully ↵Chris Maynard1-6/+5
parenthesize FI_BITS_OFFSET, FI_BITS_SIZE, and FI_GET_FLAG macro arguments. svn path=/trunk/; revision=39273
2011-10-05Add a short description ofthe dissector (from the Bug submission)Bill Meier1-0/+7
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6428 svn path=/trunk/; revision=39272
2011-10-05Various cleanup:Bill Meier1-231/+229
- Add Gerald Combs copyright; - Use correct address for FSF; - Move proto_reg_handoff...() to the end of the file per convention; - Remove unneeded check_col() and col_clear(); - Localize brp_handle; - Whitespace cleanup ("4 space tabs" ==> spaces; remove trailing spaces). svn path=/trunk/; revision=39271
2011-10-05Use ENC_NA as the proto_tree_add_item() encoding parameter for a field of ↵Bill Meier1-5/+2
type FT_BYTES; Fixes what appears to be a minor bug. svn path=/trunk/; revision=39270
2011-10-05Cleanup the unregister loop to avoid freeing wrong data.Stig Bjørlykke1-7/+12
svn path=/trunk/; revision=39269
2011-10-05Cleanup the unregister loop to avoid freeing wrong data.Stig Bjørlykke1-4/+2
svn path=/trunk/; revision=39268
2011-10-05Use g_tree_steal to remove an entry without calling the destroy function.Stig Bjørlykke1-1/+1
This because we use the destroy function to determine same_name_hfinfo. svn path=/trunk/; revision=39267
2011-10-05Michael Mann:Anders Broman3-7/+14
Removed the Save button if live capture is going on when File->Quit is selected. Solves Assertion failed when doing File->Quit->Save during live capture https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1710 svn path=/trunk/; revision=39266
2011-10-05From Sake Blok and Michael Mann:Anders Broman1-1/+1
Change "File -> Save As" to only save the displayed frames by default. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6192 svn path=/trunk/; revision=39265
2011-10-05From Sake Blok and Michael Mann:Anders Broman7-12/+18
Change "File -> Save As" to only save the displayed frames by default. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6192 svn path=/trunk/; revision=39264
2011-10-05Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier12-358/+358
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|1|0|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN svn path=/trunk/; revision=39263
2011-10-05Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier49-449/+449
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|1|0|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN svn path=/trunk/; revision=39262
2011-10-05Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier11-68/+68
reference an hf item with types in hf[] of: FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID svn path=/trunk/; revision=39261
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier293-2394/+2394
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-10-04Free duplicated strings in hf entries.Stig Bjørlykke1-7/+11
svn path=/trunk/; revision=39259
2011-10-04Free duplicated strings in hf entries.Stig Bjørlykke1-5/+9
svn path=/trunk/; revision=39258
2011-10-04Add more entries to the Python CRT list.Gerald Combs1-1/+3
svn path=/trunk/; revision=39257
2011-10-04Remove unused variables.Anders Broman1-4/+0
svn path=/trunk/; revision=39256
2011-10-04Added IdAnders Broman1-0/+1
svn path=/trunk/; revision=39255
2011-10-04From Rob Kruciak:Anders Broman3-0/+419
This is a dissector for the BRP (Bandwidth Reservation Protocol). This protocol is used by various telecommunications vendors to establish VoD (Video On-Demand) sessions between a STB (Set Top Box) at the customer's home and the VoD server at the video head-end. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6428 - Changed hf blurbs to NULL - Used dissector_add_handle() as the proposed port is registered to a different protocol. svn path=/trunk/; revision=39254
2011-10-04Make custom IMF headers a part of profiles.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=39253
2011-10-04Delete allocated header fields when updating the UAT.Stig Bjørlykke1-5/+6
Don't call header_fields_initialize_cb for prefs, as it will be called when done in the UAT. svn path=/trunk/; revision=39252
2011-10-04Unregister and delete allocated header fields when updating the UAT.Stig Bjørlykke1-64/+34
Avoid double loading the UAT. Use the post update callback in uat_new for regenerating header_fields_hash. svn path=/trunk/; revision=39251
2011-10-04Make value_strings const to fix checkapi warning. Do some minor reformatting.Jeff Morriss1-14/+25
svn path=/trunk/; revision=39250
2011-10-04Added support for configuring custom IMF headers.Stig Bjørlykke1-8/+188
svn path=/trunk/; revision=39249
2011-10-04Add proto_unregister_field().Stig Bjørlykke2-0/+34
This can be used to unregister fields registered in dissector UAT's. svn path=/trunk/; revision=39248
2011-10-04From Andrew Kampjes:Anders Broman1-18/+29
Allows the saving of packets with snapped length to ERF. Prevents the adding of automatic CRC and rounds down to the nearest 8 bytes instead of up, adding zeros. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6409 svn path=/trunk/; revision=39247
2011-10-03From Pascal Quantin:Anders Broman3-18/+103
Add dissection of GERAN related messages. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6427 svn path=/trunk/; revision=39246
2011-10-03Fix a typoAnders Broman1-1/+1
svn path=/trunk/; revision=39245
2011-10-03Set ENCAnders Broman2-275/+275
svn path=/trunk/; revision=39244
2011-10-03Fix checkhf error in packet-smb2.c file.Alexis La Goutte1-28/+0
Unused entry: epan/dissectors/packet-smb2.c, hf_smb2_data_length => Add in Revision #16546 and never used Unused entry: epan/dissectors/packet-smb2.c, hf_smb2_file_name_info => Add in Revision #25371 and never used Unused entry: epan/dissectors/packet-smb2.c, hf_smb2_security_blob_len => Remove in Revision #16557 Unused entry: epan/dissectors/packet-smb2.c, hf_smb2_response_buffer_offset => Remove in Revision #21793 Unused entry: epan/dissectors/packet-smb2.c, hf_smb2_security_blob_offset => Remove in Revision #16557 Unused entry: epan/dissectors/packet-smb2.c, hf_smb2_response_size => Remove in Revision #16605 svn path=/trunk/; revision=39243
2011-10-03Thou shalt not use g_sprintf() lest thou overflow a buffer. (Yes, evenGuy Harris1-2/+3
if you know it's safe. Sorry.) svn path=/trunk/; revision=39242
2011-10-03%hhu = %u in printf-like functions, as "char", "signed char", andGuy Harris1-1/+1
"unsigned char" get upsized to "int" and "unsigned int" when passed to varargs functions. svn path=/trunk/; revision=39241
2011-10-03Fix tpo.Guy Harris1-1/+1
svn path=/trunk/; revision=39240
2011-10-03Cast away a warning - if that buffer has more than 2^31-1 characters inGuy Harris1-1/+1
it, we have a real problem. svn path=/trunk/; revision=39239