Searched refs:iface_index (Results 1 – 1 of 1) sorted by relevance
/external/dnsmasq/src/ |
D | dhcp.c | 96 int iface_index = 0, unicast_dest = 0, is_inform = 0; in dhcp_packet() local 151 iface_index = ((struct in_pktinfo*) CMSG_DATA(cmptr))->ipi_ifindex; in dhcp_packet() 157 if (!indextoname(daemon->dhcpfd, iface_index, ifr.ifr_name)) return; in dhcp_packet() 170 if (!iface_check(AF_INET, (struct all_addr*) addrp, ifr.ifr_name, &iface_index)) return; in dhcp_packet() 191 parm.ind = iface_index; in dhcp_packet() 195 iov.iov_len = dhcp_reply(parm.current, ifr.ifr_name, iface_index, (size_t) sz, now, in dhcp_packet() 236 pkt->ipi_ifindex = iface_index; in dhcp_packet()
|