Searched refs:if_req (Results 1 – 1 of 1) sorted by relevance
714 struct ifreq if_req; local726 if_req.ifr_ifindex = if_index;727 if (ioctl(php_sock->bsd_socket, SIOCGIFNAME, &if_req) == -1) {729 if (if_indextoname(if_index, if_req.ifr_name) == NULL) {738 if (ioctl(php_sock->bsd_socket, SIOCGIFADDR, &if_req) == -1) {744 memcpy(out_addr, &((struct sockaddr_in *) &if_req.ifr_addr)->sin_addr,
Completed in 4 milliseconds