Home
last modified time | relevance | path

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

/libuv/src/unix/
H A Dos390.c408 struct ifreq flg; in uv_interface_addresses() local
469 memcpy(flg.ifr_name, p->ifr_name, sizeof(flg.ifr_name)); in uv_interface_addresses()
470 if (ioctl(sockfd, SIOCGIFFLAGS, &flg) == -1) { in uv_interface_addresses()
478 if (!(flg.ifr_flags & IFF_UP && flg.ifr_flags & IFF_RUNNING)) in uv_interface_addresses()
523 memcpy(flg.ifr_name, p->ifr_name, sizeof(flg.ifr_name)); in uv_interface_addresses()
524 if (ioctl(sockfd, SIOCGIFFLAGS, &flg) == -1) { in uv_interface_addresses()
531 if (!(flg.ifr_flags & IFF_UP && flg.ifr_flags & IFF_RUNNING)) in uv_interface_addresses()
565 address->is_internal = flg.ifr_flags & IFF_LOOPBACK ? 1 : 0; in uv_interface_addresses()
H A Daix.c1120 struct ifreq *ifr, *p, flg; in uv_interface_addresses() local
1169 memcpy(flg.ifr_name, p->ifr_name, sizeof(flg.ifr_name)); in uv_interface_addresses()
1170 if (ioctl(sockfd, SIOCGIFFLAGS, &flg) == -1) { in uv_interface_addresses()
1175 if (!(flg.ifr_flags & IFF_UP && flg.ifr_flags & IFF_RUNNING)) in uv_interface_addresses()
1204 memcpy(flg.ifr_name, p->ifr_name, sizeof(flg.ifr_name)); in uv_interface_addresses()
1205 if (ioctl(sockfd, SIOCGIFFLAGS, &flg) == -1) in uv_interface_addresses()
1208 if (!(flg.ifr_flags & IFF_UP && flg.ifr_flags & IFF_RUNNING)) in uv_interface_addresses()
1240 address->is_internal = flg.ifr_flags & IFF_LOOPBACK ? 1 : 0; in uv_interface_addresses()

Completed in 14 milliseconds