Lines Matching refs:pfd
200 struct pollfd pfd[1]; in slp_uc_udp_send() local
226 pfd[0].fd = sockfd; in slp_uc_udp_send()
227 pfd[0].events = POLLRDNORM; in slp_uc_udp_send()
254 0, &timeout, sent, &now, pfd, 1); in slp_uc_udp_send()
341 struct pollfd *pfd; in slp_mc_send() local
351 if (make_mc_target(hp, sin, header, &pfd, &nfds, &bcifs) != SLP_OK) in slp_mc_send()
375 if (mc_sendmsg(pfd, msg, &bcifs) != SLP_OK) { in slp_mc_send()
381 mc_recvmsg(pfd, nfds, hp, scopes, header, &collator, final_to, in slp_mc_send()
393 free_pfds(pfd, nfds); in slp_mc_send()
1006 static void mc_recvmsg(struct pollfd *pfd, nfds_t nfds, slp_handle_impl_t *hp, in mc_recvmsg() argument
1022 final_to, &timeout, sent, now, pfd, nfds); in mc_recvmsg()
1033 if (pfd[i].fd < 0 || in mc_recvmsg()
1034 !(pfd[i].revents & (POLLRDNORM | POLLERR))) { in mc_recvmsg()
1045 if (recvfrom(pfd[i].fd, reply, mtu, 0, in mc_recvmsg()
1161 struct pollfd pfd[], nfds_t nfds) { in wait_for_response() argument
1167 pollerr = poll(pfd, nfds, *timeout); in wait_for_response()