Home
last modified time | relevance | path

Searched refs:to_ms (Results 1 – 3 of 3) sorted by relevance

/external/scapy/scapy/arch/
Dpcapdnet.py135 def __init__(self, device, snaplen, promisc, to_ms): argument
138 self.pcap = pcap_open_live(self.iface, snaplen, promisc, to_ms, self.errbuf)
368 def __init__(self, device, snaplen, promisc, to_ms): argument
370 … self.pcap = pcap.pcap(device, snaplen, promisc, immediate=1, timeout_ms=to_ms)
/external/libpcap/doc/
DREADME.dag42 Timeouts are supported. pcap_dispatch() will return after to_ms milliseconds
43 regardless of how many packets are received. If to_ms is zero pcap_dispatch()
/external/libpcap/
Dpcap.c2453 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, char *errbuf)
2483 promisc ? PCAP_OPENFLAG_PROMISCUOUS : 0, to_ms,
2514 status = pcap_set_timeout(p, to_ms);