aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2013-07-13Add support for cloning TVBs, move tvb_new() prototype to wtap-int.hJakub Zawadzki4-13/+218
svn path=/trunk/; revision=50558
2013-07-13From Dominic Spill via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8921Evan Huus1-45/+26
Update the README to reflect the value_string name changes in r48645. From me: reorganize a bit to promote the use of val_to_str over try_val_to_str in most cases. svn path=/trunk/; revision=50557
2013-07-13Add new function: validate_offset() which checks if offset is within bounds ↵Jakub Zawadzki1-50/+31
of tvb. svn path=/trunk/; revision=50556
2013-07-13From Chris Botje via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8917Evan Huus1-23/+120
Minor Enhancement to add further to the Fast Message conversation structure to provide Data Region Address/Name lookup. From me: use tree for lookups, not slist. svn path=/trunk/; revision=50555
2013-07-13cygwin's dos2unix belongs to the Base categoryMartin Kaiser1-3/+3
svn path=/trunk/; revision=50554
2013-07-13From Vaibhav KatkadeMartin Kaiser1-0/+53
Add Netflow Record TrustSec fields https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8928 svn path=/trunk/; revision=50553
2013-07-13PNRP means Peer Name Resolution ProtocolMartin Kaiser1-2/+2
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8929 (fix another typo) svn path=/trunk/; revision=50552
2013-07-13Remove compute_offset_length() Jakub Zawadzki1-46/+55
We either want to calculate only offset (compute_offset()), or offset and remaining length (compute_offset_and_remaining()) Move old generic code to check_offset_length_no_exception()) svn path=/trunk/; revision=50551
2013-07-13Call check_offset_length_no_exception() in tvb_bytes_exist(), fix possible ↵Jakub Zawadzki1-7/+2
integer overflow svn path=/trunk/; revision=50550
2013-07-13TVB: rewrite compute_offset_length(), check_offset_length_no_exception() to ↵Jakub Zawadzki1-100/+89
return exception number instead of FALSE, and 0 instead of TRUE + if there's overflow in check_offset_length_no_exception() just set exception, don't clamp end_offset (it could be an issue for 4GB tvbs :>) svn path=/trunk/; revision=50549
2013-07-13proto_custom_set() cleanupJakub Zawadzki1-62/+34
- Merge _UINT / _INT into one case - fix possible generation of wrong expression ("some_integer") for unknown value in BASE_NONE field svn path=/trunk/; revision=50548
2013-07-13Suggest why the rpathification of the libraries might not be sufficient.Guy Harris1-30/+31
Don't rpathify system libraries. Rpathify with @rpath, not @executable_path. Use the right path for the binaries and libraries. svn path=/trunk/; revision=50547
2013-07-12If the FCS isn't present, don't indicate "FCS Valid: True". Instead, ↵Chris Maynard1-1/+1
indicate "FCS Valid: Unknown". Note: Other changes should be made as well regarding the FCS as part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8859. svn path=/trunk/; revision=50546
2013-07-12Note the issue with setting program_LINK.Guy Harris1-0/+6
svn path=/trunk/; revision=50545
2013-07-12Setting wireshark_LINK means that wireshark_LDFLAGS isn't used; there'sGuy Harris1-1/+0
no need to set it for the GTK+ version, so don't. (For Qt, we should find some other way of forcing it to link wireshark-qt as a C++ program, perhaps by having a wireshark-qt.cpp file in the top-level source directory that contains main() and that calls the ui/qt code.) svn path=/trunk/; revision=50544
2013-07-12Add a (GPLv2+) license header, copyright Balint.Jeff Morriss1-2/+22
svn path=/trunk/; revision=50543
2013-07-12Add (GPLv2+) license headers to these scripts, assigning the copyright toJeff Morriss6-6/+127
the original author of the scripts (Gerald). svn path=/trunk/; revision=50542
2013-07-12Add the hidden wpan.frame_length to the IEEE 802.15.4 tree, not the ↵Chris Maynard1-1/+1
top-level tree. svn path=/trunk/; revision=50541
2013-07-12When building for 10.6, force the build to use libpng12.Guy Harris1-1/+16
svn path=/trunk/; revision=50538
2013-07-12fix subset tvb: we want to do operation on backing tvb on position: ↵Jakub Zawadzki1-4/+4
abs_offset + subset_offset, abs_offset - subset_offset makes no sense. Right now it doesn't really matter, cause tvb subsets always have real_data. Without fix, and with small modification in ensure_contigous_no_expcetion() to first check for ->tvb_get_ptr() and later real_data epan doesn't work and it flood console with warnings like: ** (process): WARNING **: Dissector bug, protocol IPv4, in packet 3823: tvbuff.c:976: failed assertion "exception > 0" svn path=/trunk/; revision=50537
2013-07-12Allow -C <choplen> to be used more than once so it is now possible to chop ↵Chris Maynard3-33/+55
bytes from both the beginning and end of a packet in a single step. svn path=/trunk/; revision=50536
2013-07-12As suggested by Jakub in ↵Jeff Morriss1-6/+9
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8908#c8 : When auto-expanding previously-expanded children (r50516), only apply auto-scrolling to the tree the user just expanded (not any of its children which were auto-expanded). Also: only expand children of the just-expanded tree, not all instances of the just-expanded tree. This prevents expanding, for example, one SCTP chunk's tree from expanding all other chunks in the same frame. (Of course moving between frames will cause the chunks' trees to be expanded.) svn path=/trunk/; revision=50535
2013-07-12From Matt Texier via ↵Alexis La Goutte2-205/+344
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8691 Improvement of previous support of RFC5575 BGP flow spec From me * Enhance and fix some display tree stuff * Add Matt to AUTHORS svn path=/trunk/; revision=50534
2013-07-12Move the ignore entries for ps.c to epan.Jeff Morriss1-1/+1
svn path=/trunk/; revision=50533
2013-07-12From Dirk De Schepper via ↵Jeff Morriss1-6/+6
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8926 : The dissector defines some one-byte fields as UFLOAT. Defining them as UINT fixes the decoding error for CAT48 version 1.21. svn path=/trunk/; revision=50532
2013-07-12ps.h got moved to epan.Guy Harris1-0/+1
svn path=/trunk/; revision=50531
2013-07-12Revert a change that shouldn't have been checked in.Guy Harris1-1/+1
svn path=/trunk/; revision=50530
2013-07-12print.ps moved to epan.Guy Harris1-2/+2
svn path=/trunk/; revision=50529
2013-07-12print.c and ps.c are in libwirshark now.Jeff Morriss1-2/+0
svn path=/trunk/; revision=50528
2013-07-12Move bitmask array from ipv4_addr_set_netmask_bits() to ip_get_subnet_mask() Jakub Zawadzki4-77/+26
Use it in subnet_mask_lookup_init(). svn path=/trunk/; revision=50527
2013-07-12Move the print modules into epan.Jeff Morriss27-91/+90
svn path=/trunk/; revision=50526
2013-07-12Fix building ui/qt out of the source tree.Jeff Morriss1-4/+4
svn path=/trunk/; revision=50525
2013-07-12Avoid building ascend.h and ascend.c in parallel (2 bison's running at the ↵Jeff Morriss1-1/+3
same time sometimes results in corrupted output). svn path=/trunk/; revision=50524
2013-07-12disabled_protos.c is in libwireshark now.Jeff Morriss1-1/+0
svn path=/trunk/; revision=50523
2013-07-12disabled_protos.c is in libwireshark now.Jeff Morriss1-1/+0
svn path=/trunk/; revision=50522
2013-07-12Move disabled_protos.{h,c} into epan.Jeff Morriss13-16/+19
svn path=/trunk/; revision=50521
2013-07-12No need to include epan header files here; include things directly as necessary.Jeff Morriss2-4/+3
svn path=/trunk/; revision=50520
2013-07-12frame_data_sequence.c and packet-range.c moved to epan.Guy Harris1-2/+0
svn path=/trunk/; revision=50519
2013-07-12packet-range.h moved to the epan directory.Guy Harris2-2/+2
svn path=/trunk/; revision=50518
2013-07-11Move some more modules into epan.Jeff Morriss19-28/+23
svn path=/trunk/; revision=50517
2013-07-11Fix the problem reported in ↵Jeff Morriss1-47/+51
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8908#c3 (the last remaining problem in that bug report): When we expand a tree, check if any of its children need to be expanded too (because the user left them expanded when s/he closed the parent). In the process, rename expand_finfos() to check_expand_children() since the function expands any children (subtrees) which should be expanded. Remove one of that function's parameters too: just reference the global preference that controls whether scrolling should be done or not. Replace some tabs with spaces (for consistency). svn path=/trunk/; revision=50516
2013-07-11Fix cut-and-pasteo found by a compiler warning.Guy Harris1-7/+7
Mark an unused parameter as unused. svn path=/trunk/; revision=50515
2013-07-11Fix typo found by a compiler warning.Guy Harris1-1/+1
svn path=/trunk/; revision=50514
2013-07-11The beginning of an openflow dissector.Anders Broman3-0/+947
svn path=/trunk/; revision=50513
2013-07-11From Tommy Wu:Anders Broman1-11/+39
Add 3gpp2_cvse. svn path=/trunk/; revision=50512
2013-07-11From Tommy Wu:Anders Broman1-10/+10
Use terminology from RFC 4303 svn path=/trunk/; revision=50511
2013-07-11Fix an obvious case of incorrectly comparing the return value of ↵Chris Maynard1-2/+3
tvb_length_remaining() against non-zero instead of greater than zero. There are other questionable uses of tvb_length_remaining() as well ... and maybe these should all be replaced with tvb_reported_length_remaining() as well? #BACKPORT(1.10,1.8) svn path=/trunk/; revision=50510
2013-07-11get_hfi_and_length() hasn't returned the hfi since r50015: rename itJeff Morriss1-7/+7
to get_hfi_length(). svn path=/trunk/; revision=50509
2013-07-11Don't mark a used parameter _U_.Jeff Morriss1-1/+1
svn path=/trunk/; revision=50508
2013-07-11For consistency:Jeff Morriss1-50/+50
s/hf_index/hfindex/g s/hf_info/hfinfo/g svn path=/trunk/; revision=50507