Searched refs:if_req (Results 1 – 1 of 1) sorted by relevance
720 struct ifreq if_req; local732 if_req.ifr_ifindex = if_index;733 if (ioctl(php_sock->bsd_socket, SIOCGIFNAME, &if_req) == -1) {735 if (if_indextoname(if_index, if_req.ifr_name) == NULL) {744 if (ioctl(php_sock->bsd_socket, SIOCGIFADDR, &if_req) == -1) {750 memcpy(out_addr, &((struct sockaddr_in *) &if_req.ifr_addr)->sin_addr,
Completed in 6 milliseconds