This component formats provided frames into PCAP binary format.
It's based on Wiresharks LibPCAP file format referenc. It simply appends new frames to a structured buffer and it can be obtained on demand.
- First initialise new PCAP file buffer by calling
pcap_serializer_init()
. - Then
pcap_serializer_append_frame()
is used to append more frames into the file. - To get the buffer, call
pcap_serializer_get_buffer()
andpcap_serializer_get_size()
.
Doxygen API reference available