(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
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
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
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"""
    PcapWriter(filename, *args, **kargs).write(pkt)
def wrpcap ( filename , pkt , * args , * * kargs ) : PcapWriter ( filename , * args , * * kargs ) . write ( pkt )