Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-nit.c213 nit_setflags(int fd, int promisc, int to_ms, char *ebuf) in nit_setflags() argument
225 if (to_ms != 0) { in nit_setflags()
227 nioc.nioc_timeout.tv_sec = to_ms / 1000; in nit_setflags()
228 nioc.nioc_timeout.tv_usec = (to_ms * 1000) % 1000000; in nit_setflags()
250 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, in pcap_open_live() argument
285 nit_setflags(p->fd, promisc, to_ms, ebuf); in pcap_open_live()
Dpcap-snit.c231 nit_setflags(int fd, int promisc, int to_ms, char *ebuf) in nit_setflags() argument
238 if (to_ms != 0) { in nit_setflags()
239 timeout.tv_sec = to_ms / 1000; in nit_setflags()
240 timeout.tv_usec = (to_ms * 1000) % 1000000; in nit_setflags()
265 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, in pcap_open_live() argument
355 if (nit_setflags(p->fd, promisc, to_ms, ebuf) < 0) in pcap_open_live()
Dpcap-pf.c296 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, in pcap_open_live() argument
474 if (to_ms != 0) { in pcap_open_live()
476 timeout.tv_sec = to_ms / 1000; in pcap_open_live()
477 timeout.tv_usec = (to_ms * 1000) % 1000000; in pcap_open_live()
Dpcap-linux.c237 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, in pcap_open_live() argument
248 return dag_open_live(device, snaplen, promisc, to_ms, ebuf); in pcap_open_live()
254 return septel_open_live(device, snaplen, promisc, to_ms, ebuf); in pcap_open_live()
271 handle->md.timeout = to_ms; in pcap_open_live()
307 if ((err = live_open_new(handle, device, promisc, to_ms, ebuf)) == 1) in pcap_open_live()
311 if (live_open_old(handle, device, promisc, to_ms, ebuf)) in pcap_open_live()
1389 int to_ms, char *ebuf) in live_open_new() argument
1779 int to_ms, char *ebuf) in live_open_old() argument
Dpcap-septel.h14 pcap_t *septel_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf);
Dpcap-dag.h13 pcap_t *dag_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf);
Dpcap-null.c43 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, in pcap_open_live() argument
Dpcap-bpf.c593 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, in pcap_open_live() argument
613 return dag_open_live(device, snaplen, promisc, to_ms, ebuf); in pcap_open_live()
856 if (to_ms != 0) { in pcap_open_live()
863 to.tv_sec = to_ms / 1000; in pcap_open_live()
864 to.tv_usec = (to_ms * 1000) % 1000000; in pcap_open_live()
Dpcap-dag.c497 dag_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf) in dag_open_live() argument
589 maxwait.tv_sec = to_ms/1000; in dag_open_live()
590 maxwait.tv_usec = (to_ms%1000) * 1000; in dag_open_live()
669 handle->md.dag_timeout = to_ms; in dag_open_live()
Dpcap-win32.c393 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, in pcap_open_live() argument
530 p->timeout= to_ms; in pcap_open_live()
619 PacketSetReadTimeout(p->adapter, to_ms); in pcap_open_live()
Dpcap-septel.c209 pcap_t *septel_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf) { in septel_open_live() argument
Dpcap-dlpi.c460 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, in pcap_open_live() argument
894 if (to_ms != 0) { in pcap_open_live()
897 to.tv_sec = to_ms / 1000; in pcap_open_live()
898 to.tv_usec = (to_ms * 1000) % 1000000; in pcap_open_live()
Dpcap-snoop.c198 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, in pcap_open_live() argument