Searched refs:if_req (Results 1 – 1 of 1) sorted by relevance
415 struct ifreq if_req; local427 if_req.ifr_ifindex = if_index;428 if (ioctl(php_sock->bsd_socket, SIOCGIFNAME, &if_req) == -1) {430 if (if_indextoname(if_index, if_req.ifr_name) == NULL) {439 if (ioctl(php_sock->bsd_socket, SIOCGIFADDR, &if_req) == -1) {445 memcpy(out_addr, &((struct sockaddr_in *) &if_req.ifr_addr)->sin_addr,
Completed in 4 milliseconds