Home
last modified time | relevance | path

Searched refs:iface_index (Results 1 – 1 of 1) sorted by relevance

/external/dnsmasq/src/
Ddhcp.c103 int iface_index = 0, unicast_dest = 0, is_inform = 0; in dhcp_packet() local
164 iface_index = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex; in dhcp_packet()
170 if (!indextoname(daemon->dhcpfd, iface_index, ifr.ifr_name)) in dhcp_packet()
186 if (!iface_check(AF_INET, (struct all_addr *)addrp, ifr.ifr_name, &iface_index)) in dhcp_packet()
212 parm.ind = iface_index; in dhcp_packet()
217 iov.iov_len = dhcp_reply(parm.current, ifr.ifr_name, iface_index, (size_t)sz, in dhcp_packet()
268 pkt->ipi_ifindex = iface_index; in dhcp_packet()