/external/libpcap/ |
H A D | pcap-null.c | 43 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument
|
H A D | pcap-nit.c | 213 nit_setflags(int fd, int promisc, int to_ms, char *ebuf) argument 225 if (to_ms != 0) { 227 nioc.nioc_timeout.tv_sec = to_ms / 1000; 228 nioc.nioc_timeout.tv_usec = (to_ms * 1000) % 1000000; 250 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument 285 nit_setflags(p->fd, promisc, to_ms, ebuf);
|
H A D | pcap-septel.c | 204 * The to_ms parameter is also ignored as it is 209 pcap_t *septel_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf) { argument
|
H A D | pcap-snoop.c | 198 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument
|
H A D | pcap-pf.c | 296 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument 474 if (to_ms != 0) { 476 timeout.tv_sec = to_ms / 1000; 477 timeout.tv_usec = (to_ms * 1000) % 1000000;
|
H A D | pcap-snit.c | 231 nit_setflags(int fd, int promisc, int to_ms, char *ebuf) argument 238 if (to_ms != 0) { 239 timeout.tv_sec = to_ms / 1000; 240 timeout.tv_usec = (to_ms * 1000) % 1000000; 265 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument 355 if (nit_setflags(p->fd, promisc, to_ms, ebuf) < 0)
|
H A D | pcap-bpf.c | 593 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument 613 return dag_open_live(device, snaplen, promisc, to_ms, ebuf); 856 if (to_ms != 0) { 863 to.tv_sec = to_ms / 1000; 864 to.tv_usec = (to_ms * 1000) % 1000000;
|
H A D | pcap-dag.c | 214 * If to_ms is set, it will timeout before 64kB has accumulated. 218 * This does mean if to_ms is not specified the capture may 'hang' 488 * cards are always promiscuous. The to_ms parameter is also ignored as it is 497 dag_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf) argument 582 * at low packet rates if to_ms not set! 586 /* Obey to_ms if supplied. This is a good idea! 589 maxwait.tv_sec = to_ms/1000; 590 maxwait.tv_usec = (to_ms%1000) * 1000; 669 handle->md.dag_timeout = to_ms; 863 * at low packet rates if to_ms no [all...] |
H A D | pcap-win32.c | 393 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument 530 p->timeout= to_ms; 619 PacketSetReadTimeout(p->adapter, to_ms);
|
H A D | pcap-linux.c | 237 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument 248 return dag_open_live(device, snaplen, promisc, to_ms, ebuf); 254 return septel_open_live(device, snaplen, promisc, to_ms, ebuf); 271 handle->md.timeout = to_ms; 307 if ((err = live_open_new(handle, device, promisc, to_ms, ebuf)) == 1) 311 if (live_open_old(handle, device, promisc, to_ms, ebuf)) 1389 int to_ms, char *ebuf) 1779 int to_ms, char *ebuf) 1388 live_open_new(pcap_t *handle, const char *device, int promisc, int to_ms, char *ebuf) argument 1778 live_open_old(pcap_t *handle, const char *device, int promisc, int to_ms, char *ebuf) argument
|
H A D | pcap-dlpi.c | 460 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument 894 if (to_ms != 0) { 897 to.tv_sec = to_ms / 1000; 898 to.tv_usec = (to_ms * 1000) % 1000000;
|