/external/libpcap/ |
D | pcap-nit.c | 213 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()
|
D | pcap-snit.c | 231 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()
|
D | pcap-pf.c | 296 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()
|
D | pcap-linux.c | 237 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
|
D | pcap-septel.h | 14 pcap_t *septel_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf);
|
D | pcap-dag.h | 13 pcap_t *dag_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf);
|
D | pcap-null.c | 43 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, in pcap_open_live() argument
|
D | pcap-bpf.c | 593 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()
|
D | pcap-dag.c | 497 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()
|
D | pcap-win32.c | 393 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()
|
D | pcap-septel.c | 209 pcap_t *septel_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf) { in septel_open_live() argument
|
D | pcap-dlpi.c | 460 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()
|
D | pcap-snoop.c | 198 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, in pcap_open_live() argument
|