remove unused function hash_eth_wka()
in order to fix the compile error
addr_resolv.c:1250:1: error: 'hash_eth_wka' defined but not used
[-Werror=unused-function]


git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51085 f5534014-38df-0310-8fa8-9805f1628bb7
simplify argument checking for tshark
if a capture file is read, do all corresponding checks in one place


git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51086 f5534014-38df-0310-8fa8-9805f1628bb7
use getopt_long() in tshark


git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51087 f5534014-38df-0310-8fa8-9805f1628bb7
Squelch a warning by explicitly casting to throw away the upper 32 bits
of a result.


git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51088 f5534014-38df-0310-8fa8-9805f1628bb7
add --capture-comment to tshark
make sure that getopt() does not permute tshark's argv[] array


git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51089 f5534014-38df-0310-8fa8-9805f1628bb7
Remove fdata->opt_comment, add pkt_comment to pinfo

Original (read from file) comments can be accessed by pkthdr->opt_comment
Keep user comments in seperated BST, add new method for epan session to get it.


git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51090 f5534014-38df-0310-8fa8-9805f1628bb7
add --capture-comment to tshark's print_usage() function

make it clear that a capture comment can only be added when we
create a new file


git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51091 f5534014-38df-0310-8fa8-9805f1628bb7
From Dominique Martinet via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8787 :

Follow-up on 9P dissector enhancement ( https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8589 )

"fid"s, 9P file descriptors, are valid from the moment it's allocated until
when it's freed. My original patch kept a fid hashtable updated everytime a
packet was dissected in full-view (with a non-null tree)

Attached is a patch that builds a tree for each 9P fid and stores the
corresponding path when it becomes valid/marks it as invalid when it no longer
is.


git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51092 f5534014-38df-0310-8fa8-9805f1628bb7
use explicit cast to squelch compiler warning


git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51093 f5534014-38df-0310-8fa8-9805f1628bb7
pass --capture-comment from tshark to dumpcap
handle error cases in tshark


git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51094 f5534014-38df-0310-8fa8-9805f1628bb7
Initialize fdata->flags.has_user_comment too.

git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51095 f5534014-38df-0310-8fa8-9805f1628bb7
add --capture-comment to tshark's manpage
fix a typo in the dumpcap manpage


git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51096 f5534014-38df-0310-8fa8-9805f1628bb7
Use opt_comment only when has_phdr_comment is set.


git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51097 f5534014-38df-0310-8fa8-9805f1628bb7
As suggested in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8816 :

Enable TSN analysis by default.


git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51098 f5534014-38df-0310-8fa8-9805f1628bb7
fix buildbot error on OSX-10.6-x64
include capture_opts.h


git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51099 f5534014-38df-0310-8fa8-9805f1628bb7
Move a bunch of the crypt modules and pint.h into wsutil.

This means wsutil now links against libcrypt.

Protect a bunch of the crypt header files from multiple inclusion.


git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51100 f5534014-38df-0310-8fa8-9805f1628bb7
TShark links with libui so we should always build it.


git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51101 f5534014-38df-0310-8fa8-9805f1628bb7
md5.h is in wsutil now.

git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51102 f5534014-38df-0310-8fa8-9805f1628bb7
Include LIBGCRYPT_CFLAGS in wsutil (but not in epan/crypt).

git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51103 f5534014-38df-0310-8fa8-9805f1628bb7
Rewrite the merge_free routine to keep the merged chunk on the master free list
if the right-hand merge target was there originally. This brings memory usage
down another ~40% when running the heavy test suite.

This also lets us extract the master-list check out of unfree() since it is now
only relevant at a single caller, and turns unfree into the more understandable
remove_from_recycler().


git-svn-id: svn+ssh://svn.wireshark.org/svn/wireshark/trunk@51104 f5534014-38df-0310-8fa8-9805f1628bb7