HomeSort by relevance Sort by last modified time
    Searched refs:dhcpfd (Results 1 - 5 of 5) sorted by null

  /external/dnsmasq/src/
dhcp.c 79 daemon->dhcpfd = fd;
138 while ((sz = recvmsg(daemon->dhcpfd, &msg, MSG_PEEK | MSG_TRUNC)) == -1 && errno == EINTR);
168 while ((sz = recvmsg(daemon->dhcpfd, &msg, 0)) == -1 && errno == EINTR);
198 if (!indextoname(daemon->dhcpfd, iface_index, ifr.ifr_name))
208 if (ioctl(daemon->dhcpfd, SIOCGIFADDR, &ifr) != -1 )
224 if (ioctl(daemon->dhcpfd, SIOCGIFADDR, &ifr) == -1)
316 ioctl(daemon->dhcpfd, SIOCSARP, &req);
340 ioctl(daemon->dhcpfd, SIOCSARP, &req);
351 setsockopt(daemon->dhcpfd, IPPROTO_IP, IP_BOUND_IF, &iface_index, sizeof(iface_index));
354 while(sendmsg(daemon->dhcpfd, &msg, 0) == -1 && retry_send())
    [all...]
bpf.c 184 if (ioctl(daemon->dhcpfd, SIOCGIFADDR, ifr) < 0)
helper.c 355 if (ioctl(daemon->dhcpfd, SIOCGIFNAME, &ifr) != -1)
dnsmasq.c 614 FD_SET(daemon->dhcpfd, &rset);
615 bump_maxfd(daemon->dhcpfd, &maxfd);
700 if (daemon->dhcp && FD_ISSET(daemon->dhcpfd, &rset))
    [all...]
dnsmasq.h 665 int dhcpfd, helperfd; member in struct:daemon

Completed in 38 milliseconds