(filename, count=-1)
return PcapReader(filename).read_all(count=count)
Read a pcap file and return a packet list
count: read only <count> packets
Read a pcap file and return a packet list
count: read only <count> packets
Read a pcap file and return a packet list count : read only <count > packets
def rdpcap(filename, count=-1):
    """Read a pcap file and return a packet list
count: read only <count> packets"""
    return PcapReader(filename).read_all(count=count)
def rdpcap ( filename , count = - 1 ) : return PcapReader ( filename ) . read_all ( count = count )