Searched refs:set_ifrname_and_do_ioctl (Results 1 – 1 of 1) sorted by relevance
/busybox-1.35.0/networking/ |
D | ifenslave.c | 183 static int set_ifrname_and_do_ioctl(unsigned request, struct ifreq *ifr, const char *ifname) in set_ifrname_and_do_ioctl() function 193 res = set_ifrname_and_do_ioctl(SIOCGIFMTU, &dd->mtu, ifname); in get_if_settings() 194 res |= set_ifrname_and_do_ioctl(SIOCGIFFLAGS, &dd->flags, ifname); in get_if_settings() 195 res |= set_ifrname_and_do_ioctl(SIOCGIFHWADDR, &dd->hwaddr, ifname); in get_if_settings() 202 return set_ifrname_and_do_ioctl(SIOCGIFFLAGS, &slave.flags, slave_ifname); in get_slave_flags() 210 return set_ifrname_and_do_ioctl(SIOCSIFHWADDR, &ifr, ifname); in set_hwaddr() 218 return set_ifrname_and_do_ioctl(SIOCSIFMTU, &ifr, ifname); in set_mtu() 226 return set_ifrname_and_do_ioctl(SIOCSIFFLAGS, &ifr, ifname); in set_if_flags() 251 return set_ifrname_and_do_ioctl(SIOCSIFADDR, &ifr, ifname); in clear_if_addr() 279 res = set_ifrname_and_do_ioctl(ifra[i].g_ioctl, &ifr, master_ifname); in set_if_addr() [all …]
|