Lines Matching refs:host_buf
624 char host_buf[sizeof(ep->host)];
632 strlcpy(host_buf, *ep->host ? ep->host : "-", sizeof(host_buf));
633 p = host_buf;
638 for (x = p; x < &host_buf[sizeof(host_buf)]; x++)
641 if (x == p + sizeof(host_buf) || *x != ':')
644 for (m = x + 1; m < &host_buf[sizeof(host_buf)]; m++)
647 if (m == p + sizeof(host_buf) || *m != ':') {
659 for (b = p++; b < &host_buf[sizeof(host_buf)]; b++)
662 if (b < &host_buf[sizeof(host_buf)] && *b == ']') {
664 for (x = b + 1; x < &host_buf[sizeof(host_buf)]; x++)
667 if (x < &host_buf[sizeof(host_buf)] && *x == ':')
681 r = host_buf;