Home | History | Annotate | Download | only in misc

Lines Matching refs:pset

64 struct pollfd pset[2];
234 if (sendto(pset[0].fd, buf, p-buf, 0, (struct sockaddr*)&sll, sizeof(sll)) < 0)
495 n = recvfrom(pset[0].fd, buf, sizeof(buf), MSG_DONTWAIT,
764 pset[0].fd = socket(PF_PACKET, SOCK_DGRAM, 0);
765 if (pset[0].fd < 0) {
776 if (bind(pset[0].fd, (struct sockaddr*)&sll, sizeof(sll)) < 0) {
786 pset[1].fd = rth.fd;
802 pset[0].events = EVENTS;
803 pset[0].revents = 0;
804 pset[1].events = EVENTS;
805 pset[1].revents = 0;
822 if (poll(pset, 2, poll_timeout) > 0) {
824 if (pset[0].revents&EVENTS)
826 if (pset[1].revents&EVENTS)