aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-05-26From Jakub Zawadzki:etxrab10-26/+35
New functions: cf_read_frame_r, cf_read_frame It's much easier to write: cf_read_frame (cf, fdata, &err, &err_info) Than: wtap_seek_read (cf->wth, fdata->file_off, &cf->pseudo_header, cf->pd, fdata->cap_len, &err, &err_info) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32980 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Update name resolving description.jake1-44/+45
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32979 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Reference the 'interlink' plugin dir as an example (rather than agentxwmeier1-2/+2
which is no longer a plugin). Fix a typo. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32978 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Add a tooltip.martinm1-0/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32977 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Add some tooltips.martinm1-2/+19
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32976 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26proto_registrar_dump_fields: output "" for blurb if blurb is a zero-length ↵wmeier1-0/+2
string. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32975 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Expert severity was still overlapping with bits length, so separate them.martinm1-5/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32974 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Try to optimize a bit.etxrab1-21/+10
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32973 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Fix indentation.etxrab1-17/+17
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32972 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Export value_string_ext related functionskukosa1-0/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32971 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Untabify.stig1-35/+35
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32970 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Don't report EINTR - it might be from a ^C.guy1-6/+24
Do report the error string for other read errors, though. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32969 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Don't send ^T output to the standard error if we're a capture child.guy2-7/+11
Make SIGINFO a restart-the-system-call signal, so reads etc. don't return an error. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32968 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Remember the default value of each protocol preference.morriss2-75/+107
If, when we're writing the preferences file, the current value of the preference is the same as the default, write out the preference (since the preference file is also the documentation for the preferences) but comment it out (so that if, for example, you go back to an older version of Wireshark you won't get warnings about non-existant preferences that you didn't change--and thus probably don't care too much about). It might be interesting to, in the future, add a UI to restore the default values. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32967 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26g_error -> expert_add_info_format. Fixup whitespace.gerald1-31/+33
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32966 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Use the right system call name.guy1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32965 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26If dumpcap exits abnormally, report the error.guy4-7/+17
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32964 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26More <stdarg.h> cleanup; some are real bugs, some are just "don't doguy4-11/+17
va_start and va_end unless you're actually going to use the va_list" (those bring the va_start and va_end closer to the use point, which makes it a little more obvious that we're using <stdarg.h> correctly and makes it a little harder to use it incorrectly). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32963 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Put in a warning about the <stdarg.h> problem that I just found andguy1-0/+20
fixed in one place (and am now fixing in some other places). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32962 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Once you've used a va_list, you can't use it again until youguy1-6/+6
reinitialize it with va_start(). (Yes, there are platforms where reusing the va_arg fails, e.g. Mac OS X on x86-64.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32961 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Reindent a bitmorriss1-20/+26
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32960 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Fix build without pcap.guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32959 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-26Add a -q flag to dumpcap, to squelch its reporting of the packet count,guy5-14/+112
and add support for SIGINFO, so, if your OS supports SIGINFO, you can get the packet count by typing ^T. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32958 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25r32323 broke packet detail tree expansion using the left/right keys ongerald1-4/+18
X11. Add back the removed code and add checks for expandable items. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32957 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25Handle lines ending in \r\n.wmeier1-2/+2
Fixes Bug #4780 See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4780 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32956 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25From Sam Leffler and Javier Cardona via email & bug 4793:gerald1-12/+661
Add 802.11s mesh support. From me: Merge all of the "#ifdef" and "#if 0" switches into "#ifdef MESH_OVERRIDES" Add Fast BSS Transition to the list of overridden tags. Fix a couple of variable initialization errors. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32955 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25Add a note about running autogen.sh.gerald1-2/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32954 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25RFC 4165 uses the same message/parameter formats as draft-12 did so let'smorriss1-46/+46
call it RFC 4165. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32953 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25Only try header reassembly for TCP.etxrab1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32952 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25Remove find_val_for_stringmorriss1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32951 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25find_val_for_string() is only used in prefs.c so remove the prototypemorriss2-9/+5
and make it static. When reading enum preferences, use the current value of the preference as the default value of the preference instead of a hard-coded 1. This way if we couldn't find the appropriate value we'll don't end up changing the preference to something that may or may not make sense. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32950 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25Pull the big pile of code that handles theguy1-129/+101
capture-stopping/file-switching operation into a routine. Move a few variables into the loop_data structure so that routine can get at them. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32949 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25From Neil Piercy:etxrab1-22/+40
Fix misleading PER Bit string display. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4789 (I Added bits display) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32948 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25Fix for bug 4782:jake1-2/+2
Use proper bitmask to test the "MATCH"-part. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32947 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25Add a filter for DCT2000 error strings, and allow it be included in ↵martinm2-0/+34
generated filters from RLC status window. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32946 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25Re-organise which FI bits are used to store expert severity and event info, ↵martinm1-16/+17
in order to avoid clash with bit offset and length as added in 4413 (Improve bitview display). The event info values were (mostly) done as though they were flags rather than values, but as it doesn't really make sense to combine events I changed them to use contiguous values. They now use the 8 m.s. bits, so there are now 9 unused bits available for new uses. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32945 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25Support of value_string_ext in the asn2wrs using new directive #.USE_VALS_EXTkukosa3-9/+36
Example usage in NBAP git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32944 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25Remove faulty vendor from SIP AVP:s, update comments.etxrab4-21/+186
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32943 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25From Jakub Ruzicka:etxrab2-10/+214
Trunk packet support in IAX2 dissector https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4783 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32942 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25From H.sivank: GtkOSXApplication support.guy9-58/+176
Call the various flavors of OS X integration just "OS X integration", not anything with "IGE" in it - it appears that, in some places, "ige-mac-integration" refers only to the older Carbon-based functions, although the library still appears to be called -ligemacintegration. Update the URLs for the information about the OS X integration libraries. Clean up help message for --with-pcap-remote. Clean up white space a bit. Speaking of white space, it's "Mac OS X", not "MacOS X". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32941 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-25Minor rewording; Also: add note to not use "" for a hf[] array blurb.wmeier1-5/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32940 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-24Jose Pedro Oliveira <jpo@di.uminho.pt>jmayer1-0/+1
(via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4786) Add missing +INCLUDE(CheckVariableExists) to make the previous commit work. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32939 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-24At least according to the CMake 2.6 documentation,guy2-4/+1
CHECK_VARIABLE_EXISTS() can be used to check for C variables; use that to check for pcap_version. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32938 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-24Fix the value_string regexp so it doesn't match value_string_ext (which we ↵morriss1-22/+22
don't have to check for NULL termination and the like) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32937 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-24- Add a comment about the magic in the FindXXX.cmake filenames.jmayer1-0/+11
- Fix for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4786 Define HAVE_PCAP_VERSION if HAVE_PCAP_LIB_VERSION is set. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32936 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-24Use the new name for the last argument to proto_tree_add_item().guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32935 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-24Check that the PDU isn't bigger than the reported grant size. Thought I was ↵martinm1-2/+8
already doing this... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32934 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-24Fix reassemble_test's (copy of the) proto_tree_add_item() prototype to get itmorriss3-38/+51
compiling again. fragment_add_seq_check(), fragment_add_seq_802_11(), and fragment_add_seq_next() all call fragment_add_seq_check_work() so make their prototypes match each other in const-ness. This fixes a warning when compiling reassemble_test. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32933 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-24Use value_string_ext for AVP:setxrab1-7/+46
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32932 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-24From Tamás Regõs:etxrab2-1436/+1464
Diameter AVP clean up. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32931 f5534014-38df-0310-8fa8-9805f1628bb7