Wireshark mailing list archives

take over responsibility of the pcap_pkthdr *


From: Andrej van der Zee <andrejvanderzee () gmail com>
Date: Sun, 23 Jan 2011 14:36:01 +0900

Hi,

I have a question about the callback pcap_handler that is called for
each packet. I assume that each pcap_pkthdr * is released by pcap
after the callback returns. Is it by any means possible to take over
responsibility of the pcap_pkthdr *? Sometimes I want to write a
complete TCP stream to a file, but I only know this after having
handled a certain number of packets.

Thank you,
Andrej
___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request () wireshark org?subject=unsubscribe


Current thread: