Lines Matching refs:client_sa
249 static sa_t client_sa; variable
1316 if (client_sa.sa.sa_family == AF_UNIX) { in fcgi_is_allowed()
1322 if (client_sa.sa.sa_family == AF_INET) { in fcgi_is_allowed()
1325 && !memcmp(&client_sa.sa_inet.sin_addr, &allowed_clients[i].sa_inet.sin_addr, 4)) { in fcgi_is_allowed()
1331 if (client_sa.sa.sa_family == AF_INET6) { in fcgi_is_allowed()
1334 && !memcmp(&client_sa.sa_inet6.sin6_addr, &allowed_clients[i].sa_inet6.sin6_addr, 12)) { in fcgi_is_allowed()
1339 && IN6_IS_ADDR_V4MAPPED(&client_sa.sa_inet6.sin6_addr) in fcgi_is_allowed()
1340 … && !memcmp(((char *)&client_sa.sa_inet6.sin6_addr)+12, &allowed_clients[i].sa_inet.sin_addr, 4)) { in fcgi_is_allowed()
1400 client_sa = sa;
1748 if (client_sa.sa.sa_family == AF_INET) {
1749 return inet_ntop(client_sa.sa.sa_family, &client_sa.sa_inet.sin_addr, str, INET6_ADDRSTRLEN);
1754 if (client_sa.sa.sa_family == AF_INET6
1755 && IN6_IS_ADDR_V4MAPPED(&client_sa.sa_inet6.sin6_addr)) {
1756 return inet_ntop(AF_INET, ((char *)&client_sa.sa_inet6.sin6_addr)+12, str, INET6_ADDRSTRLEN);
1760 if (client_sa.sa.sa_family == AF_INET6) {
1761 return inet_ntop(client_sa.sa.sa_family, &client_sa.sa_inet6.sin6_addr, str, INET6_ADDRSTRLEN);