Home
last modified time | relevance | path

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

/busybox-1.35.0/networking/
Dether-wake.c236 struct ifreq if_hwaddr; in ether_wake_main() local
238 strncpy_IFNAMSIZ(if_hwaddr.ifr_name, ifname); in ether_wake_main()
239 ioctl_or_perror_and_die(s, SIOCGIFHWADDR, &if_hwaddr, "SIOCGIFHWADDR on %s failed", ifname); in ether_wake_main()
241 memcpy(outpack+6, if_hwaddr.ifr_hwaddr.sa_data, 6); in ether_wake_main()
245 unsigned char *hwaddr = if_hwaddr.ifr_hwaddr.sa_data; in ether_wake_main()
248 if_hwaddr.ifr_hwaddr.sa_family, hwaddr[0], hwaddr[1], in ether_wake_main()