Home | History | Annotate | Download | only in net

Lines Matching defs:hbuf

99 	static char hbuf[MAXHOSTNAMELEN];
126 strlcpy(hbuf, res->ai_canonname, sizeof(hbuf));
127 *ahost = hbuf;
158 static char hbuf[MAXHOSTNAMELEN];
180 strlcpy(hbuf, res->ai_canonname, sizeof(hbuf));
181 *ahost = hbuf;
244 char hbuf[NI_MAXHOST];
247 hbuf[0] = '\0';
249 hbuf, (socklen_t)sizeof(hbuf), NULL, 0, niflags) !=
251 strlcpy(hbuf, "(invalid)", sizeof(hbuf));
253 warn("rcmd: connect to address %s", hbuf);
255 hbuf[0] = '\0';
257 hbuf, (socklen_t)sizeof(hbuf), NULL, 0, niflags) !=
259 strlcpy(hbuf, "(invalid)", sizeof(hbuf));
260 (void)fprintf(stderr, "Trying %s...\n", hbuf);