Home
last modified time | relevance | path

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

/external/ppp/pppd/
Dsys-linux.c1783 struct ifreq ifreq, bestifreq; in get_ether_addr() local
1831 bestifreq = ifreq; in get_ether_addr()
1839 strlcpy(name, bestifreq.ifr_name, namelen); in get_ether_addr()
1850 memset (&bestifreq.ifr_hwaddr, 0, sizeof (struct sockaddr)); in get_ether_addr()
1851 if (ioctl (sock_fd, SIOCGIFHWADDR, &bestifreq) < 0) { in get_ether_addr()
1852 error("SIOCGIFHWADDR(%s): %m", bestifreq.ifr_name); in get_ether_addr()
1857 &bestifreq.ifr_hwaddr, in get_ether_addr()