arpd.c | 63 struct pollfd pset[2]; variable in typeref:struct:pollfd 231 if (sendto(pset[0].fd, buf, p-buf, 0, (struct sockaddr*)&sll, sizeof(sll)) < 0) 488 n = recvfrom(pset[0].fd, buf, sizeof(buf), MSG_DONTWAIT, 752 pset[0].fd = socket(PF_PACKET, SOCK_DGRAM, 0); 753 if (pset[0].fd < 0) { 764 if (bind(pset[0].fd, (struct sockaddr*)&sll, sizeof(sll)) < 0) { 774 pset[1].fd = rth.fd; 790 pset[0].events = EVENTS; 791 pset[0].revents = 0; 792 pset[1].events = EVENTS [all...] |