Searched refs:cur_req (Results 1 – 1 of 1) sorted by relevance
795 struct ifreq *cur_req; local798 cur_req = (struct ifreq*) p;801 entry_len = cur_req->ifr_addr.sa_len + sizeof(cur_req->ifr_name);804 entry_len = sizeof(struct sockaddr) + sizeof(cur_req->ifr_name);806 entry_len = MAX(entry_len, sizeof(*cur_req));808 if ((((struct sockaddr*)&cur_req->ifr_addr)->sa_family == AF_INET) &&809 (((struct sockaddr_in*)&cur_req->ifr_addr)->sin_addr.s_addr ==812 if (ioctl(php_sock->bsd_socket, SIOCGIFINDEX, (char*)cur_req)816 if ((index_tmp = if_nametoindex(cur_req->ifr_name)) == 0) {826 *if_index = cur_req->ifr_ifindex;
Completed in 21 milliseconds