ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Is there any need for wtap_get_bytes_dumped() or wtap_set_bytes_

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 1 Sep 2011 19:23:50 -0700
Nothing currently uses them - the progress bar for writing out a capture file counts packets, not bytes, and making it count bytes would require a pass through the capture to ask Wiretap how many bytes each packet would require before writing the file out - and writing out a capture file doesn't necessarily proceed 100% sequentially in any case.

Is there any use for those routines, or the bytes-dumped count they fetch and set?