pub fn wrpcap_packets(path: impl AsRef<Path>, packets: &[Packet]) -> Result<()>
Write plain packets to a PCAP file (convenience function).
Timestamps are set to zero, orig_len matches each packet’s data length.
orig_len