Searched refs:cur_req (Results 1 – 1 of 1) sorted by relevance
490 struct ifreq *cur_req; local493 cur_req = (struct ifreq*) p;496 entry_len = cur_req->ifr_addr.sa_len + sizeof(cur_req->ifr_name);499 entry_len = sizeof(struct sockaddr) + sizeof(cur_req->ifr_name);501 entry_len = MAX(entry_len, sizeof(*cur_req));503 if ((((struct sockaddr*)&cur_req->ifr_addr)->sa_family == AF_INET) &&504 (((struct sockaddr_in*)&cur_req->ifr_addr)->sin_addr.s_addr ==507 if (ioctl(php_sock->bsd_socket, SIOCGIFINDEX, (char*)cur_req)511 if ((index_tmp = if_nametoindex(cur_req->ifr_name)) == 0) {521 *if_index = cur_req->ifr_ifindex;
Completed in 6 milliseconds