Searched refs:cur_req (Results 1 – 1 of 1) sorted by relevance
798 struct ifreq cur_req; local799 memcpy(&cur_req, p, sizeof(struct ifreq));802 entry_len = cur_req.ifr_addr.sa_len + sizeof(cur_req.ifr_name);805 entry_len = sizeof(struct sockaddr) + sizeof(cur_req.ifr_name);807 entry_len = MAX(entry_len, sizeof(cur_req));809 if ((((struct sockaddr*)&cur_req.ifr_addr)->sa_family == AF_INET) &&810 (((struct sockaddr_in*)&cur_req.ifr_addr)->sin_addr.s_addr ==813 if (ioctl(php_sock->bsd_socket, SIOCGIFINDEX, (char*)&cur_req)817 if ((index_tmp = if_nametoindex(cur_req.ifr_name)) == 0) {827 *if_index = cur_req.ifr_ifindex;
Completed in 5 milliseconds