Searched refs:if_req (Results 1 – 1 of 1) sorted by relevance
716 struct ifreq if_req; local728 if_req.ifr_ifindex = if_index;729 if (ioctl(php_sock->bsd_socket, SIOCGIFNAME, &if_req) == -1) {731 if (if_indextoname(if_index, if_req.ifr_name) == NULL) {740 if (ioctl(php_sock->bsd_socket, SIOCGIFADDR, &if_req) == -1) {746 memcpy(out_addr, &((struct sockaddr_in *) &if_req.ifr_addr)->sin_addr,
Completed in 13 milliseconds