PcapDumper.dump

void dump(const(pcap_pkthdr) * header, const(ubyte) * data)

Writes a packet to the savefile.

Parameters

headerThe packet header.
dataThe packet data.