Home | History | Annotate | Download | only in cld80211-lib

Lines Matching refs:pfd

399 	struct pollfd pfd[2];
412 memset(&pfd[0], 0, 2*sizeof(struct pollfd));
422 pfd[0].fd = nl_socket_get_fd(ctx->sock);
423 pfd[0].events = POLLIN;
425 pfd[1].fd = ctx->exit_sockets[1];
426 pfd[1].events = POLLIN;
429 pfd[0].revents = 0;
430 pfd[1].revents = 0;
431 int result = poll(pfd, 2, timeout);
434 } else if (pfd[0].revents & (POLLIN | POLLHUP | POLLERR)) {
435 cld80211_handle_event(pfd[0].revents, ctx->sock, cb);