Lines Matching refs:hbuf
119 ** host_map_lookup(map, hbuf, avp, pstat)
120 ** Convert the entry in hbuf into a canonical form.
3627 static char hbuf[MAXNAME + MAXAUTHINFO + 11]; /* EAI:ok? (as above)*/
3648 (void) sm_strlcpyn(hbuf, sizeof(hbuf), 2, RealUserName,
3651 sm_dprintf("getauthinfo: %s\n", hbuf);
3652 return hbuf;
3915 (void) sm_strlcpy(hbuf, "IDENT:", sizeof(hbuf));
3916 cleanstrcpy(&hbuf[6], p, MAXAUTHINFO);
3919 cleanstrcpy(hbuf, p, MAXAUTHINFO);
3920 len = strlen(hbuf);
3921 (void) sm_strlcpyn(&hbuf[len], sizeof(hbuf) - len, 2, "@",
3954 (void) sm_strlcpy(hbuf, RealHostName, sizeof(hbuf));
3971 ** p - pointer to hbuf
4015 p = &hbuf[strlen(hbuf)];
4016 l = sizeof(hbuf) - (hbuf - p) - 6;
4017 (void) sm_snprintf(p, SPACELEFT(hbuf, p),
4036 SPACELEFT(hbuf, p),
4056 (void) sm_snprintf(p, SPACELEFT(hbuf, p), "]");
4064 p = &hbuf[strlen(hbuf)];
4065 (void) sm_snprintf(p, SPACELEFT(hbuf, p), " [%.100s]",
4070 p = &hbuf[strlen(hbuf)];
4071 (void) sm_strlcpy(p, " (may be forged)", SPACELEFT(hbuf, p));
4099 sm_dprintf("getauthinfo: %s\n", hbuf);
4100 return hbuf;
4118 ** Looks up the host specified in hbuf. If it is not
4145 char hbuf[MAXNAME + 1]; /* is (host)name in 'x' format? */
4244 (void) sm_strlcpy(hbuf, hn2alabel(name), sizeof(hbuf));
4247 utf8 = strchr(hbuf, '.') != NULL;
4253 (void) sm_strlcpy(hbuf, name, sizeof(hbuf));
4256 r = getcanonname(hbuf, sizeof(hbuf) - 1, !HasWildcardMX, &ttl);
4267 (void) sm_strlcpy(hbuf, name, sizeof(hbuf));
4269 ans = hbuf;