Home
last modified time | relevance | path

Searched refs:cur_req (Results 1 – 1 of 1) sorted by relevance

/PHP-5.4/ext/sockets/
H A Dmulticast.c490 struct ifreq *cur_req; local
493 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