Searched refs:selectable_fd (Results 1 - 24 of 24) sorted by relevance

/freebsd-12-stable/contrib/libpcap/testprogs/
H A Dselpolltest.c77 int selectable_fd; local
165 selectable_fd = pcap_get_selectable_fd(pd);
166 if (selectable_fd == -1) {
201 if (selectable_fd != -1) {
202 FD_SET(selectable_fd, &setread);
204 FD_SET(selectable_fd, &setexcept);
213 status = select(selectable_fd + 1, &setread,
217 status = select(selectable_fd + 1, &setread,
220 status = select((selectable_fd == -1) ?
221 0 : selectable_fd
[all...]
/freebsd-12-stable/contrib/libpcap/
H A Dpcap-septel.c208 handle->selectable_fd = -1;
H A Dpcap-bt-monitor-linux.c241 handle->selectable_fd = handle->fd;
H A Dpcap-dbus.c261 handle->selectable_fd = handle->fd = -1;
H A Dpcap-int.h229 int selectable_fd; /* FD on which select()/poll()/epoll_wait()/kevent()/etc. can be done */ member in struct:pcap
H A Dpcap-netmap.c267 p->selectable_fd = p->fd;
H A Dpcap-nit.c332 p->selectable_fd = p->fd;
H A Dpcap-bt-linux.c302 handle->selectable_fd = handle->fd;
H A Dpcap-libdlpi.c238 p->selectable_fd = p->fd;
H A Dpcap-snit.c421 p->selectable_fd = p->fd;
H A Dpcap-snoop.c402 p->selectable_fd = p->fd;
H A Dsavefile.c439 * Windows, so, on Win32 systems, we don't have "selectable_fd".
441 p->selectable_fd = fileno(fp);
H A Dpcap-pf.c521 p->selectable_fd = p->fd;
H A Dpcap-rdmasniff.c316 handle->selectable_fd = priv->channel->fd;
H A Dpcap-snf.c325 p->selectable_fd = -1;
H A Dpcap-usb-linux.c706 handle->selectable_fd = handle->fd;
800 handle->selectable_fd = handle->fd;
H A Dpcap-netfilter-linux.c681 handle->selectable_fd = handle->fd;
H A Dpcap.c2269 p->selectable_fd = -1;
3265 return (p->selectable_fd);
3746 p->selectable_fd = -1;
H A Dpcap-bpf.c2531 * Therefore, on FreeBSD 4.3 and 4.4, we set "p->selectable_fd"
2542 p->selectable_fd = p->fd; /* assume select() works until we know otherwise */
2550 p->selectable_fd = -1;
H A Dpcap-dag.c978 p->selectable_fd = -1;
H A Dpcap-dlpi.c845 p->selectable_fd = p->fd;
H A Dpcap-sita.c1041 handle->selectable_fd = handle->fd;
H A Dpcap-tc.c686 p->selectable_fd = -1;
H A Dpcap-linux.c1699 handle->selectable_fd = handle->fd;
4119 handle->selectable_fd = handle->fd;

Completed in 135 milliseconds