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