Searched refs:ifra (Results 1 – 1 of 1) sorted by relevance
/Documentation/networking/ |
D | ifenslave.c | 227 static int get_if_settings(char *ifname, struct dev_ifr ifra[]); 869 static int get_if_settings(char *ifname, struct dev_ifr ifra[]) in get_if_settings() argument 874 for (i = 0; ifra[i].req_ifr; i++) { in get_if_settings() 875 strncpy(ifra[i].req_ifr->ifr_name, ifname, IFNAMSIZ); in get_if_settings() 876 res = ioctl(skfd, ifra[i].req_type, ifra[i].req_ifr); in get_if_settings() 880 ifname, ifra[i].req_name, in get_if_settings() 1052 } ifra[] = { in set_if_addr() local 1060 for (i = 0; ifra[i].req_name; i++) { in set_if_addr() 1062 res = ioctl(skfd, ifra[i].g_ioctl, &ifr); in set_if_addr() 1067 master_ifname, ifra[i].req_name, in set_if_addr() [all …]
|