Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/libpcap/dist/testprogs/
H A Dselpolltest.c77 int selectable_fd = -1; in main() local
170 selectable_fd = pcap_get_selectable_fd(pd); in main()
171 if (selectable_fd == -1) { in main()
207 if (selectable_fd != -1) { in main()
208 FD_SET(selectable_fd, &setread); in main()
210 FD_SET(selectable_fd, &setexcept); in main()
227 status = select((selectable_fd == -1) ? in main()
228 0 : selectable_fd + 1, &setread, NULL, &setexcept, in main()
239 if (FD_ISSET(selectable_fd, &setread)) in main()
243 if (FD_ISSET(selectable_fd, &setexcept)) in main()
[all …]