/freebsd-current/sys/sys/ |
H A D | module_khelp.h | 73 #define KHELP_DECLARE_MOD_UMA(hname, hdata, hhooks, version, size, ctor, dtor) \ 74 static struct khelp_modevent_data kmd_##hname = { \ 75 .name = #hname, \ 83 static moduledata_t h_##hname = { \ 84 .name = #hname, \ 86 .priv = &kmd_##hname \ 88 DECLARE_MODULE(hname, h_##hname, SI_SUB_KHELP, SI_ORDER_ANY); \ 89 MODULE_VERSION(hname, version) 91 #define KHELP_DECLARE_MOD(hname, hdat [all...] |
H A D | khelp.h | 71 int32_t khelp_get_id(char *hname);
|
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | iruserok.c | 95 char hname[MaxHostNameLen]; local 112 strlcpy(hname, hp->h_name, sizeof(hname)); 153 (char *)&hname, NULL, ypdomain); 160 (char *)&hname, NULL, ypdomain))
|
/freebsd-current/contrib/tcp_wrappers/ |
H A D | socket.c | 173 char *ap = NULL, *rap, hname[NI_MAXHOST]; local 205 err = getnameinfo(sin, salen, hname, sizeof(hname), 210 STRN_CPY(host->name, hname, sizeof(host->name)); 310 getnameinfo(sin, salen, hname, sizeof(hname), 313 hname, STRING_LENGTH,
|
/freebsd-current/lib/libc/rpc/ |
H A D | auth_time.c | 142 char hname[256]; local 172 snprintf(hname, sizeof(hname), "%s.0.111", inet_ntoa(*a)); 173 ep->uaddr = strdup(hname); 187 snprintf(hname, sizeof(hname), "%s.0.111", inet_ntoa(*a)); 188 ep->uaddr = strdup(hname);
|
/freebsd-current/lib/libsecureboot/openpgp/ |
H A D | opgp_sig.c | 193 const char *hname; member in struct:hash_alg_map 211 return (hmp->hname); 300 const char *hname; local 321 } else if (!(hname = get_hname(sig->hash_alg))) { 343 warnx("unsupported hash algorithm: %s", hname); 355 md = EVP_get_digestbyname(hname); 363 rc = verify_digest(key->key, hname, mdata, mlen,
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/ |
H A D | history_common.kshlib | 104 typeset hname=$(hostname) 106 hname=$hname:$(zonename) 116 if ! grep -q "$cmd \[user $uid ($user) on $hname$suffix\]" $NEW_HISTORY; then
|
/freebsd-current/usr.sbin/yp_mkdb/ |
H A D | yp_mkdb.c | 115 char hname[MAXHOSTNAMELEN + 2]; local 175 if (gethostname((char *)&hname, sizeof(hname)) == -1) 177 mastername = (char *)&hname;
|
/freebsd-current/usr.bin/usbhidctl/ |
H A D | usbhid.c | 73 char hname[1000], *tmp1, *tmp2; local 157 snprintf(hname, sizeof(hname), "%s%s%s:%s", 161 t = strlen(hname) - strlen(var->name); 163 if (strcmp(hname + t, var->name) != 0) 165 if (hname[t - 1] != '.') 167 } else if (strcmp(hname, var->name) != 0)
|
/freebsd-current/crypto/heimdal/lib/sl/ |
H A D | slc-gram.y | 692 char hname[PATH_MAX]; 701 cprint(0, "#include \"%s\"\n\n", hname); 767 strlcpy(hname, cname, sizeof(hname)); 769 strlcat(hname, ".h", sizeof(hname)); 777 hfile = fopen(hname, "w"); 779 err(1, "%s", hname);
|
H A D | slc-gram.c | 2204 char hname[PATH_MAX]; 2213 cprint(0, "#include \"%s\"\n\n", hname); 2279 strlcpy(hname, cname, sizeof(hname)); 2281 strlcat(hname, ".h", sizeof(hname)); 2289 hfile = fopen(hname, "w"); 2291 err(1, "%s", hname); 2201 char hname[PATH_MAX]; variable
|
/freebsd-current/lib/libc/net/ |
H A D | rcmd.c | 566 char hname[MAXHOSTNAMELEN]; local 578 if (getnameinfo(raddr, salen, hname, sizeof(hname), NULL, 0, 580 hname[0] = '\0'; 619 hostok = hname[0] != '\0' && 620 innetgr(&buf[2], hname, NULL, ypdomain); 627 if (hname[0] == '\0' || 628 innetgr(&buf[2], hname, NULL, ypdomain))
|
/freebsd-current/contrib/ntp/ntpdc/ |
H A D | ntpdc.c | 403 const char *hname 418 if (*hname == '[') { 419 cp = strchr(hname + 1, ']'); 420 if (!cp || (octets = (size_t)(cp - hname) - 1) >= sizeof(name)) { 425 memcpy(name, hname + 1, octets); 427 hname = name; 444 a_info = getaddrinfo(hname, service, &hints, &ai); 454 a_info = getaddrinfo(hname, service, &hints, &ai); 478 a_info = getaddrinfo(hname, service, &hints, &ai); 1459 const char *hname, 1458 getnetnum( const char *hname, sockaddr_u *num, char *fullhost, int af ) argument [all...] |
/freebsd-current/contrib/tnftp/src/ |
H A D | util.c | 1349 char hname[NI_MAXHOST]; local 1354 hname, sizeof(hname), sname, sizeof(sname), 1356 strlcpy(hname, "?", sizeof(hname)); 1386 "save", hname, sname); 1392 hname, sname); 1410 warn("Can't connect to `%s:%s'", hname, sname); 1456 "restore", hname, sname);
|
H A D | ftp.c | 198 char hname[NI_MAXHOST], sname[NI_MAXSERV]; local 202 hname, sizeof(hname), sname, sizeof(sname), 204 strlcpy(hname, "?", sizeof(hname)); 209 fprintf(ttyout, "Trying %s:%s ...\n", hname, sname); 214 hname, sname); 1540 char hname[NI_MAXHOST], sname[NI_MAXSERV]; local 1564 tmp.su_len, hname, sizeof(hname), snam [all...] |
H A D | fetch.c | 718 char hname[NI_MAXHOST], sname[NI_MAXSERV]; local 722 hname, sizeof(hname), sname, sizeof(sname), 724 strlcpy(hname, "?", sizeof(hname)); 730 hname, sname); 738 "`%s:%s'", hname, sname);
|
/freebsd-current/sbin/routed/rtquery/ |
H A D | rtquery.c | 798 char hname[MAXHOSTNAMELEN+1]; local 806 if (i > (int)sizeof(hname)-1) /* name too long */ 808 memmove(hname, name, i); 809 hname[i] = '\0'; 811 name = hname;
|
/freebsd-current/usr.sbin/syslogd/ |
H A D | syslogd.c | 902 const char *hname; local 919 hname = LocalHostName; 921 hname = cvthname(sa); 923 if (validate(sa, hname) == 0) { 924 dprintf("Message from %s was ignored.", hname); 928 parsemsg(hname, line); 2255 static char hname[NI_MAXHOST], ip[NI_MAXHOST]; local 2269 error = getnameinfo(f, f->sa_len, hname, sizeof(hname), 2275 hl = strlen(hname); 3469 validate(struct sockaddr *sa, const char *hname) argument [all...] |
/freebsd-current/sys/kern/ |
H A D | kern_khelp.c | 236 khelp_get_id(char *hname) argument 245 if (strncmp(h->h_name, hname, HELPER_NAME_MAXLEN) == 0) {
|
/freebsd-current/contrib/ntp/ntpq/ |
H A D | ntpq.c | 669 const char *hname, 685 if (*hname == '[') { 686 cp = strchr(hname + 1, ']'); 687 if (!cp || (octets = (size_t)(cp - hname) - 1) >= sizeof(name)) { 692 memcpy(name, hname + 1, octets); 694 hname = name; 711 a_info = getaddrinfo(hname, svc, &hints, &ai); 721 a_info = getaddrinfo(hname, svc, &hints, &ai); 746 a_info = getaddrinfo(hname, svc, &hints, &ai); 1982 const char *hname, 668 openhost( const char *hname, int fam ) argument 1981 getnetnum( const char *hname, sockaddr_u *num, char *fullhost, int af ) argument [all...] |
/freebsd-current/sbin/routed/ |
H A D | parms.c | 936 char hname[MAXHOSTNAMELEN+1]; local 944 if (i > (int)sizeof(hname)-1) /* name too long */ 946 memmove(hname, name, i); 947 hname[i] = '\0'; 949 name = hname;
|
/freebsd-current/libexec/ftpd/ |
H A D | ftpd.c | 2367 char hname[NI_MAXHOST]; 2377 hname, sizeof(hname) - 1, NULL, 0, NI_NUMERICHOST)) { 2378 hname[sizeof(hname) - 1] = 0; 2379 if (strcmp(hname, remotehost) != 0) 2380 printf(" (%s)", hname); 2482 hname, sizeof(hname) - 1, NULL, 0, 2484 hname[sizeo [all...] |
/freebsd-current/contrib/tcpdump/ |
H A D | addrtoname.c | 150 char hname[NI_MAXHOST]; local 163 hname, sizeof(hname), NULL, 0, 0)) { 166 strlcpy(host.h_name, hname, NI_MAXHOST);
|
/freebsd-current/lib/libfetch/ |
H A D | ftp.c | 790 char hname[INET6_ADDRSTRLEN]; local 836 hname, sizeof(hname), 838 e = ftp_cmd(conn, "EPRT |%d|%s|%d|", 2, hname,
|
/freebsd-current/sys/netinet/ |
H A D | in_pcb.h | 401 #define INPCBSTORAGE_DEFINE(prot, ppcb, lname, zname, iname, hname) \ 416 .ips_hashlock_name = hname, \
|