Lines Matching refs:client_sa
255 static sa_t client_sa; variable
1330 if (client_sa.sa.sa_family == AF_UNIX) { in fcgi_is_allowed()
1336 if (client_sa.sa.sa_family == AF_INET) { in fcgi_is_allowed()
1339 && !memcmp(&client_sa.sa_inet.sin_addr, &allowed_clients[i].sa_inet.sin_addr, 4)) { in fcgi_is_allowed()
1345 if (client_sa.sa.sa_family == AF_INET6) { in fcgi_is_allowed()
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()
1414 client_sa = sa;
1751 if (client_sa.sa.sa_family == AF_INET) {
1752 return inet_ntop(client_sa.sa.sa_family, &client_sa.sa_inet.sin_addr, str, INET6_ADDRSTRLEN);
1757 if (client_sa.sa.sa_family == AF_INET6
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);
1763 if (client_sa.sa.sa_family == AF_INET6) {
1764 return inet_ntop(client_sa.sa.sa_family, &client_sa.sa_inet6.sin6_addr, str, INET6_ADDRSTRLEN);