Searched refs:iface_index (Results 1 – 2 of 2) sorted by relevance
/external/dnsmasq/src/ |
D | dhcp.c | 113 int iface_index = 0, unicast_dest = 0, is_inform = 0; in dhcp_packet() local 178 iface_index = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex; in dhcp_packet() 187 iface_index = ((struct sockaddr_dl *)CMSG_DATA(cmptr))->sdl_index; in dhcp_packet() 194 iface_index = *((unsigned int *)CMSG_DATA(cmptr)); in dhcp_packet() 198 if (!indextoname(daemon->dhcpfd, iface_index, ifr.ifr_name)) in dhcp_packet() 214 if (!iface_check(AF_INET, (struct all_addr *)addrp, ifr.ifr_name, &iface_index)) in dhcp_packet() 240 parm.ind = iface_index; in dhcp_packet() 245 iov.iov_len = dhcp_reply(parm.current, ifr.ifr_name, iface_index, (size_t)sz, in dhcp_packet() 296 pkt->ipi_ifindex = iface_index; in dhcp_packet() 351 setsockopt(daemon->dhcpfd, IPPROTO_IP, IP_BOUND_IF, &iface_index, sizeof(iface_index)); in dhcp_packet()
|
/external/dnsmasq/contrib/lease-access/ |
D | lease.access.patch | 282 - iov.iov_len = dhcp_reply(parm.current, ifr.ifr_name, iface_index, (size_t)sz, 284 + iov.iov_len = dhcp_reply(piperead, parm.current, ifr.ifr_name, iface_index, (size_t)sz,
|