Lines Matching defs:revents
363 pxtcp_chan_recv(struct pollmgr_handler *handler, SOCKET fd, int revents)
367 pxtcp = (struct pxtcp *)pollmgr_chan_recv_ptr(handler, fd, revents);
376 pxtcp_chan_recv_strong(struct pollmgr_handler *handler, SOCKET fd, int revents)
382 rp = (struct pollmgr_refptr *)pollmgr_chan_recv_ptr(handler, fd, revents);
434 pxtcp_pmgr_chan_add(struct pollmgr_handler *handler, SOCKET fd, int revents)
439 pxtcp = pxtcp_chan_recv(handler, fd, revents);
460 pxtcp_pmgr_chan_pollout(struct pollmgr_handler *handler, SOCKET fd, int revents)
464 pxtcp = pxtcp_chan_recv_strong(handler, fd, revents);
485 pxtcp_pmgr_chan_pollin(struct pollmgr_handler *handler, SOCKET fd, int revents)
489 pxtcp = pxtcp_chan_recv_strong(handler, fd, revents);
518 pxtcp_pmgr_chan_del(struct pollmgr_handler *handler, SOCKET fd, int revents)
522 pxtcp = pxtcp_chan_recv_strong(handler, fd, revents);
550 pxtcp_pmgr_chan_reset(struct pollmgr_handler *handler, SOCKET fd, int revents)
554 pxtcp = pxtcp_chan_recv_strong(handler, fd, revents);
1100 pxtcp_pmgr_connect(struct pollmgr_handler *handler, SOCKET fd, int revents)
1109 if (revents & POLLNVAL) {
1130 if (revents & CONNECT_CHECK_ERROR) {
1144 if ((revents & (POLLERR | POLLHUP)) /* we were told it's failed */
1151 if ((revents & (POLLERR | POLLHUP))
1167 if (revents & POLLOUT) { /* connect is successful */
1187 DPRINTF0(("%s: pxtcp %p, sock %d: unexpected revents 0x%x\n",
1188 __func__, (void *)pxtcp, fd, revents));
1664 pxtcp_pmgr_pump(struct pollmgr_handler *handler, SOCKET fd, int revents)
1674 if (revents & POLLNVAL) {
1679 if (revents & POLLERR) {
1694 if (revents & POLLOUT) {
1699 if (revents & POLLIN) {
1722 LWIP_ASSERT1((revents & POLLHUP) == 0);
1730 LWIP_ASSERT1((revents & POLLHUP) == 0);
1732 if (revents & POLLHUP) {