/freebsd-11-stable/contrib/sendmail/src/ |
H A D | sasl.c | 249 char hbuf[NI_MAXHOST], pbuf[NI_MAXSERV]; local 267 hbuf, sizeof(hbuf), pbuf, sizeof(pbuf), niflags) != 0) 275 if (sm_strlcpy(hbuf, inet_ntoa(addr->sin.sin_addr), sizeof(hbuf)) 276 >= sizeof(hbuf)) 284 if (outlen < strlen(hbuf) + strlen(pbuf) + 2) 289 sm_snprintf(out, outlen, "%s;%s", hbuf, pbuf);
|
/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-icmp6.c | 1828 char hbuf[NI_MAXHOST]; local 1896 if (addrtostr6(&match->rpm_prefix, hbuf, sizeof(hbuf))) 1897 ND_PRINT((ndo,",%s/%u", hbuf, match->rpm_matchlen)); 1939 if (addrtostr6(&use->rpu_prefix, hbuf, sizeof(hbuf))) 1940 ND_PRINT((ndo,"%s/%u/%u", hbuf, use->rpu_uselen,
|
/freebsd-11-stable/contrib/tcsh/ |
H A D | ed.chared.c | 2155 Char *hbuf; local 2167 hbuf = NULL; 2179 hbuf = expand_lex(&hp->Hlex, 0, INT_MAX); 2180 cp = Strend(hbuf); 2181 bp = hbuf; 2201 hbuf = expand_lex(&hp->Hlex, 0, INT_MAX); 2202 cp = Strend(hbuf); 2203 bp = hbuf; 2231 xfree(hbuf); 2235 xfree(hbuf); [all...] |
H A D | sh.lex.c | 296 Char hbuf[12]; local 330 hbuf[h++] = c; 333 hbuf[11] = '\0'; 334 Htime = a2time_t(hbuf);
|
/freebsd-11-stable/contrib/telnet/telnet/ |
H A D | commands.c | 1660 char hbuf[256+1]; 1663 gethostname(hbuf, sizeof(hbuf)); 1664 hbuf[sizeof(hbuf)-1] = '\0'; 1665 asprintf(&cp, "%s%s", hbuf, cp2); 1652 char hbuf[256+1]; local
|
/freebsd-11-stable/sys/contrib/zlib/ |
H A D | inflate.c | 25 * - Make hbuf[] unsigned char to match parameter type in inflate.c 460 hbuf[0] = (unsigned char)(word); \ 461 hbuf[1] = (unsigned char)((word) >> 8); \ 462 check = crc32(check, hbuf, 2); \ 467 hbuf[0] = (unsigned char)(word); \ 468 hbuf[1] = (unsigned char)((word) >> 8); \ 469 hbuf[2] = (unsigned char)((word) >> 16); \ 470 hbuf[3] = (unsigned char)((word) >> 24); \ 471 check = crc32(check, hbuf, 4); \ 640 unsigned char hbuf[ local [all...] |
/freebsd-11-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64lsn.c | 1336 unsigned char hbuf[36]; local 1338 memcpy(hbuf, &f_id->dst_ip6, 16); 1339 memcpy(&hbuf[16], &f_id->src_ip6, 16); 1340 memcpy(&hbuf[32], &f_id->dst_port, 2); 1341 memcpy(&hbuf[32], &f_id->src_port, 2); 1343 return (djb_hash(hbuf, sizeof(hbuf)));
|
/freebsd-11-stable/usr.bin/netstat/ |
H A D | inet6.c | 1312 char hbuf[NI_MAXHOST], *cp; local 1336 error = getnameinfo((struct sockaddr *)&sin6, sizeof(sin6), hbuf, 1337 sizeof(hbuf), NULL, 0, flags); 1340 (cp = strchr(hbuf, '.')) && 1343 strlcpy(line, hbuf, sizeof(line));
|
/freebsd-11-stable/usr.sbin/rtsold/ |
H A D | rtsol.c | 699 char hbuf[NI_MAXHOST]; local 707 rai->rai_saddr.sin6_len, hbuf, sizeof(hbuf), NULL, 0, 710 sprintf(rsid, "%s:%s:[%s]", ifname, origin, hbuf);
|
/freebsd-11-stable/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 360 char hbuf[NI_MAXHOST], src0[NI_MAXHOST], *ep; local 632 if (getnameinfo(res->ai_addr, res->ai_addrlen, hbuf, 633 sizeof(hbuf), NULL, 0, NI_NUMERICHOST) != 0) 634 strlcpy(hbuf, "?", sizeof(hbuf)); 636 "addresses; using %s\n", hostname, hbuf); 906 if (getnameinfo((struct sockaddr *)&Dst, Dst.sin6_len, hbuf, 907 sizeof(hbuf), NULL, 0, NI_NUMERICHOST)) 908 strlcpy(hbuf, "(invalid)", sizeof(hbuf)); 1285 char hbuf[NI_MAXHOST]; local 1509 char hbuf[NI_MAXHOST]; local [all...] |