Lines Matching defs:ip
48 const char *ip;
174 if (strncmp(old->ip, new->ip, MAXIPSIZE)==0) {
188 if (strncmp(old->ip, new->ip, MAXIPSIZE)==0) {
205 memcpy(hmserver.ip, s->ip, MAXIPSIZE);
273 const char *ip;
295 ip = apr_pstrmemdup(pool, buf, t - buf);
297 ip = NULL;
299 if (!ip || buf[0] == '#') {
302 } else if (strcmp(ip, s->ip) !=0 ) {
333 ip, node.ready, node.busy, (unsigned int) seen, node.port);
338 s->ip, s->ready, s->busy, (unsigned int) seen, s->port);
348 s->ip, s->ready, s->busy, (unsigned int) seen, s->port);
426 s->ip, s->ready, s->busy, (unsigned int) seen, s->port);
499 static hm_server_t *hm_get_server(hm_ctx_t *ctx, const char *ip, const int port)
503 s = apr_hash_get(ctx->servers, ip, APR_HASH_KEY_STRING);
507 s->ip = apr_pstrdup(ctx->p, ip);
512 apr_hash_set(ctx->servers, s->ip, APR_HASH_KEY_STRING, s);
533 char *ip;
541 apr_sockaddr_ip_get(&ip, from);
546 s = hm_get_server(ctx, ip, port);
738 char *ip;
764 apr_sockaddr_ip_get(&ip, r->connection->client_addr);
765 hmserver.ip = ip;