Lines Matching refs:hbuf
119 ** host_map_lookup(map, hbuf, avp, pstat)
120 ** Convert the entry in hbuf into a canonical form.
3543 static char hbuf[MAXNAME + MAXAUTHINFO + 11];
3564 (void) sm_strlcpyn(hbuf, sizeof(hbuf), 2, RealUserName,
3567 sm_dprintf("getauthinfo: %s\n", hbuf);
3568 return hbuf;
3831 (void) sm_strlcpy(hbuf, "IDENT:", sizeof(hbuf));
3832 cleanstrcpy(&hbuf[6], p, MAXAUTHINFO);
3835 cleanstrcpy(hbuf, p, MAXAUTHINFO);
3836 len = strlen(hbuf);
3837 (void) sm_strlcpyn(&hbuf[len], sizeof(hbuf) - len, 2, "@",
3870 (void) sm_strlcpy(hbuf, RealHostName, sizeof(hbuf));
3887 ** p - pointer to hbuf
3931 p = &hbuf[strlen(hbuf)];
3932 l = sizeof(hbuf) - (hbuf - p) - 6;
3933 (void) sm_snprintf(p, SPACELEFT(hbuf, p),
3952 SPACELEFT(hbuf, p),
3972 (void) sm_snprintf(p, SPACELEFT(hbuf, p), "]");
3980 p = &hbuf[strlen(hbuf)];
3981 (void) sm_snprintf(p, SPACELEFT(hbuf, p), " [%.100s]",
3986 p = &hbuf[strlen(hbuf)];
3987 (void) sm_strlcpy(p, " (may be forged)", SPACELEFT(hbuf, p));
4015 sm_dprintf("getauthinfo: %s\n", hbuf);
4016 return hbuf;
4034 ** Looks up the host specified in hbuf. If it is not
4061 char hbuf[MAXNAME + 1];
4155 (void) sm_strlcpy(hbuf, name, sizeof(hbuf));
4157 r = getcanonname(hbuf, sizeof(hbuf) - 1, !HasWildcardMX, &ttl);
4160 ans = hbuf;