wireshark/capchild
Guy Harris 2814e3c9cd If has_snaplen isn't set, don't set the snapshot length with pcap_create()/pcap_activate().
Just let libpcap pick the snapshot length; that way, for link-layer
types that need a really large snapshot length, such as D-Bus (which
requires 128MB for the largest messages), it can pick that, but can
otherwise pick something that doesn't require as much memory, e.g.
256KB.

For pcap_open_live() and pcap_open(), which don't have a way of saying
"give me what's appropriate", pick 256KB.

Change-Id: Idef5694f7dfa85eaf3a61d6ca7a17d263c417431
Reviewed-on: https://code.wireshark.org/review/21917
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2017-06-03 17:15:17 +00:00
..
CMakeLists.txt cmake: make WERROR_COMMON_FLAGS a normal string 2016-09-30 20:08:02 +00:00
Makefile.am Remove Makefile.common files 2016-06-30 11:04:17 +00:00
capture_ifinfo.c Fix various compile warnings turning error on Linux with gcc6 when 2017-03-19 12:27:12 +00:00
capture_session.h Fix a comment to match we-run-on-Windows-too reality. 2017-02-08 02:21:44 +00:00
capture_sync.c If has_snaplen isn't set, don't set the snapshot length with pcap_create()/pcap_activate(). 2017-06-03 17:15:17 +00:00
capture_sync.h capchild: Support optional 802.11 channel parameters 2016-09-23 06:01:27 +00:00
doxygen.cfg.in Get rid of trailing blanks. 2014-06-24 02:08:37 +00:00