arpd.c | 63 struct pollfd pset[2]; variable in typeref:struct:pollfd 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 [all...] |