Searched refs:ifrcopy (Results 1 – 1 of 1) sorted by relevance
231 struct ifreq *ifr, ifrcopy; in get_ifi_info() local303 ifrcopy = *ifr; in get_ifi_info()304 if (ioctl(sockfd, SIOCGIFFLAGS, &ifrcopy) < 0) { in get_ifi_info()308 flags = ifrcopy.ifr_flags; in get_ifi_info()326 ifrcopy = *ifr; in get_ifi_info()328 if ( 0 >= ioctl(sockfd, SIOCGIFINDEX, &ifrcopy)) in get_ifi_info()329 ifi->ifi_index = ifrcopy.ifr_index; in get_ifi_info()349 if (ioctl(sockfd, SIOCGIFNETMASK, &ifrcopy) < 0) { in get_ifi_info()368 sinptr = (struct sockaddr_in *) &ifrcopy.ifr_addr; in get_ifi_info()379 if (ioctl(sockfd, SIOCGIFBRDADDR, &ifrcopy) < 0) { in get_ifi_info()[all …]