Searched refs:if_req (Results 1 – 1 of 1) sorted by relevance
722 struct ifreq if_req; local734 if_req.ifr_ifindex = if_index;735 if (ioctl(php_sock->bsd_socket, SIOCGIFNAME, &if_req) == -1) {737 if (if_indextoname(if_index, if_req.ifr_name) == NULL) {746 if (ioctl(php_sock->bsd_socket, SIOCGIFADDR, &if_req) == -1) {752 memcpy(out_addr, &((struct sockaddr_in *) &if_req.ifr_addr)->sin_addr,
Completed in 7 milliseconds