Lines Matching refs:pset
63 struct pollfd pset[2];
233 if (sendto(pset[0].fd, buf, p-buf, 0, (struct sockaddr*)&sll, sizeof(sll)) < 0)
490 n = recvfrom(pset[0].fd, buf, sizeof(buf), MSG_DONTWAIT,
760 pset[0].fd = socket(PF_PACKET, SOCK_DGRAM, 0);
761 if (pset[0].fd < 0) {
772 if (bind(pset[0].fd, (struct sockaddr*)&sll, sizeof(sll)) < 0) {
782 pset[1].fd = rth.fd;
798 pset[0].events = EVENTS;
799 pset[0].revents = 0;
800 pset[1].events = EVENTS;
801 pset[1].revents = 0;
818 if (poll(pset, 2, poll_timeout) > 0) {
820 if (pset[0].revents&EVENTS)
822 if (pset[1].revents&EVENTS)