Searched refs:sa_inet6 (Results 1 – 1 of 1) sorted by relevance
/PHP-7.1/main/ |
H A D | fastcgi.c | 246 struct sockaddr_in6 sa_inet6; member 800 } else if (inet_pton(AF_INET6, cur, &allowed_clients[n].sa_inet6.sin6_addr)>0) { in fcgi_listen() 860 } else if (inet_pton(AF_INET6, cur, &allowed_clients[n].sa_inet6.sin6_addr)>0) { in fcgi_set_allowed_clients() 1348 && !memcmp(&client_sa.sa_inet6.sin6_addr, &allowed_clients[i].sa_inet6.sin6_addr, 12)) { in fcgi_is_allowed() 1353 && IN6_IS_ADDR_V4MAPPED(&client_sa.sa_inet6.sin6_addr) in fcgi_is_allowed() 1354 … && !memcmp(((char *)&client_sa.sa_inet6.sin6_addr)+12, &allowed_clients[i].sa_inet.sin_addr, 4)) { in fcgi_is_allowed() 1758 && IN6_IS_ADDR_V4MAPPED(&client_sa.sa_inet6.sin6_addr)) { 1759 return inet_ntop(AF_INET, ((char *)&client_sa.sa_inet6.sin6_addr)+12, str, INET6_ADDRSTRLEN); 1764 return inet_ntop(client_sa.sa.sa_family, &client_sa.sa_inet6.sin6_addr, str, INET6_ADDRSTRLEN);
|
Completed in 8 milliseconds