Lines Matching refs:selectable_fd
77 int selectable_fd; in main() local
165 selectable_fd = pcap_get_selectable_fd(pd); in main()
166 if (selectable_fd == -1) { in main()
201 if (selectable_fd != -1) { in main()
202 FD_SET(selectable_fd, &setread); in main()
204 FD_SET(selectable_fd, &setexcept); in main()
213 status = select(selectable_fd + 1, &setread, in main()
217 status = select(selectable_fd + 1, &setread, in main()
220 status = select((selectable_fd == -1) ? in main()
221 0 : selectable_fd + 1, &setread, in main()
228 if (selectable_fd == -1) { in main()
236 if (FD_ISSET(selectable_fd, &setread)) in main()
240 if (FD_ISSET(selectable_fd, &setexcept)) in main()
269 fd.fd = selectable_fd; in main()
278 status = poll(&fd, (selectable_fd == -1) ? 0 : 1, polltimeout); in main()
283 if (selectable_fd == -1) { in main()