Searched refs:cur_req (Results 1 – 1 of 1) sorted by relevance
788 struct ifreq cur_req; local789 memcpy(&cur_req, p, sizeof(struct ifreq));792 entry_len = cur_req.ifr_addr.sa_len + sizeof(cur_req.ifr_name);795 entry_len = sizeof(struct sockaddr) + sizeof(cur_req.ifr_name);797 entry_len = MAX(entry_len, sizeof(cur_req));799 if ((((struct sockaddr*)&cur_req.ifr_addr)->sa_family == AF_INET) &&800 (((struct sockaddr_in*)&cur_req.ifr_addr)->sin_addr.s_addr ==803 if (ioctl(php_sock->bsd_socket, SIOCGIFINDEX, (char*)&cur_req)807 if ((index_tmp = if_nametoindex(cur_req.ifr_name)) == 0) {817 *if_index = cur_req.ifr_ifindex;
Completed in 5 milliseconds