Lines Matching refs:buf
100 addr_to_string(char *prefix, uchar_t *mac, int mac_len, char *buf, int buf_len)
104 buf[0] = '\0';
106 n = sprintf(buf, prefix);
108 n += sprintf(buf + n, "%2.2X", *mac++);
110 return (buf);
117 char buf[128];
151 buf, sizeof (buf));
155 hp->h_length, buf, sizeof (buf));
160 buf, sizeof (buf));
163 return (strdup(buf));
295 char buf[INET_ADDRSTRLEN];
299 &s->sin_addr, buf, sizeof (buf));