docs: def wrpcap(filename, pkt, *args, **kargs):
      """Write a list of packets to a pcap file
  gz: set to 1 to save a gzipped capture
  linktype: force linktype value
  endianness: "<" or ">", force endianness"""
      with PcapWriter(filename, *args, **kargs) as pcap:
          pcap.write(pkt)