Lines Matching defs:hbuf
396 char hbuf[NI_MAXHOST], sbuf[NI_MAXSERV];
417 ret = getnameinfo((struct sockaddr*)addr, len, hbuf, sizeof(hbuf),
427 len = strlen(hbuf) + 2 + strlen(sbuf);
429 snprintf(retstring, len, "%s:%s", hbuf, sbuf);
431 retstring = m_strdup(hbuf);
442 char hbuf[NI_MAXHOST];
467 ret = getnameinfo((struct sockaddr*)addr, len, hbuf, sizeof(hbuf),
477 return m_strdup(hbuf);