Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #253808

Category libpcap
Changed by Guy Harris <gharrisohnoyoudont@sonic.net>
Changed at Thu 01 Jan 2026 20:48:58
Repository https://git.tcpdump.org/libpcap
Project libpcap
Branch master
Revision d08be3e1015924892e9f70d6ef3a30aacdb6d130

Comments

netmap: set the captured length appropriately.
If there's no capture filter, set it to the minimum of the length
provided by netmap and the length specified when the device was opened.

If there is a capture filter, set it to the minimum of the length
provided by netmap and the length returned by the capture filter
program.

That way, "tcpdump -s", etc. will give you shorter packets, so you don't
have to write all the data out or parse it.

Changed files