Home
last modified time | relevance | path

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

/busybox-1.35.0/networking/
Dether-wake.c245 unsigned char *hwaddr = if_hwaddr.ifr_hwaddr.sa_data; in ether_wake_main() local
248 if_hwaddr.ifr_hwaddr.sa_family, hwaddr[0], hwaddr[1], in ether_wake_main()
249 hwaddr[2], hwaddr[3], hwaddr[4], hwaddr[5]); in ether_wake_main()
Difenslave.c155 struct ifreq mtu, flags, hwaddr; member
195 res |= set_ifrname_and_do_ioctl(SIOCGIFHWADDR, &dd->hwaddr, ifname); in get_if_settings()
205 static int set_hwaddr(char *ifname, struct sockaddr *hwaddr) in set_hwaddr() argument
209 memcpy(&(ifr.ifr_hwaddr), hwaddr, sizeof(*hwaddr)); in set_hwaddr()
363 if (set_hwaddr(slave_ifname, &(master.hwaddr.ifr_hwaddr))) { in enslave()
392 if (set_hwaddr(master_ifname, &(slave.hwaddr.ifr_hwaddr))) { in enslave()
421 set_hwaddr(master_ifname, &(master.hwaddr.ifr_hwaddr)); in enslave()
426 set_hwaddr(slave_ifname, &(slave.hwaddr.ifr_hwaddr)); in enslave()
557 if (master.hwaddr.ifr_hwaddr.sa_family != 1) { in ifenslave_main()
Dinterface.c332 char hwaddr[32]; /* HW address */ member
333 #define LAST_TO_ZERO hwaddr
610 memcpy(ife->hwaddr, ifr.ifr_hwaddr.sa_data, 8); in if_fetch()
928 && !(hw_null_address(hw, ptr->hwaddr) && hw->suppress_null_addr) in ife_print()
930 printf("HWaddr %s ", hw->print((unsigned char *)ptr->hwaddr)); in ife_print()