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

/external/libpcap/
H A Dpcap-septel.h14 pcap_t *septel_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf);
H A Dpcap-dag.h13 pcap_t *dag_open_live(const char *device, int snaplen, int promisc, int to_ms, char *ebuf);
H A Dpcap-null.c43 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument
H A Dpcap-nit.c213 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 Dpcap-snit.c231 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 Dpcap-pf.c296 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 Dpcap-linux.c237 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 Dpcap-bpf.c593 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 Dpcap-win32.c393 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 Dpcap-septel.c204 * 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 Dpcap-dag.c214 * 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 Dpcap-dlpi.c460 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;
H A Dpcap-snoop.c198 pcap_open_live(const char *device, int snaplen, int promisc, int to_ms, argument

Completed in 77 milliseconds