Lines Matching refs:selectable_fd
77 int selectable_fd;
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 + 1, &setread,
228 if (selectable_fd == -1) {
236 if (FD_ISSET(selectable_fd, &setread))
240 if (FD_ISSET(selectable_fd, &setexcept))
269 fd.fd = selectable_fd;
278 status = poll(&fd, (selectable_fd == -1) ? 0 : 1, polltimeout);
283 if (selectable_fd == -1) {