Searched refs:thishost (Results 1 – 10 of 10) sorted by relevance
| /netbsd/src/external/bsd/ipf/dist/lib/ |
| D | initparse.c | 13 char thishost[MAXHOSTNAMELEN]; variable 18 gethostname(thishost, sizeof(thishost)); in initparse() 19 thishost[sizeof(thishost) - 1] = '\0'; in initparse()
|
| D | gethost.c | 39 name = thishost;
|
| /netbsd/src/external/bsd/am-utils/dist/fixmount/ |
| D | fixmount.c | 64 static char thishost[MAXHOSTNAMELEN + 1] = ""; variable 132 if (is_same_host(mp->ml_hostname, thishost, thisaddr)) { in print_dump() 210 if (is_same_host(p->ml_hostname, thishost, thisaddr)) { in fix_rmtab() 322 xstrlcpy(thishost, optarg, sizeof(thishost)); in main() 336 if (!*thishost) { in main() 339 if (gethostname(thishost, sizeof(thishost)) < 0) { in main() 343 thishost[sizeof(thishost) - 1] = '\0'; in main() 350 if (!(he = gethostbyname(thishost))) { in main() 352 thishost); in main() 362 xstrlcpy(thishost, he->h_name, sizeof(thishost)); in main()
|
| /netbsd/src/crypto/external/bsd/openssh/dist/ |
| D | sshconnect.h | 41 char *thishost; member 61 "l", conn_info->thishost, \
|
| D | ssh.c | 614 free(cinfo->thishost); in ssh_conn_info_free() 670 char cname[NI_MAXHOST], thishost[NI_MAXHOST]; in main() local 1425 if (gethostname(thishost, sizeof(thishost)) == -1) in main() 1427 cinfo->thishost = xstrdup(thishost); in main() 1428 thishost[strcspn(thishost, ".")] = '\0'; in main() 1429 cinfo->shorthost = xstrdup(thishost); in main() 1459 cinfo->conn_hash_hex = ssh_connection_hash(cinfo->thishost, in main()
|
| D | readconf.h | 256 char *ssh_connection_hash(const char *thishost, const char *host,
|
| D | readconf.c | 392 ssh_connection_hash(const char *thishost, const char *host, const char *portstr, in ssh_connection_hash() argument 399 ssh_digest_update(md, thishost, strlen(thishost)) < 0 || in ssh_connection_hash() 688 char thishost[NI_MAXHOST], shorthost[NI_MAXHOST], portstr[NI_MAXSERV]; in expand_match_exec_or_include_path() local 705 if (gethostname(thishost, sizeof(thishost)) == -1) in expand_match_exec_or_include_path() 709 strlcpy(shorthost, thishost, sizeof(shorthost)); in expand_match_exec_or_include_path() 710 shorthost[strcspn(thishost, ".")] = '\0'; in expand_match_exec_or_include_path() 714 conn_hash_hex = ssh_connection_hash(thishost, host, in expand_match_exec_or_include_path() 724 "l", thishost, in expand_match_exec_or_include_path()
|
| /netbsd/src/external/bsd/ipf/dist/ |
| D | todo | 15 * add another alias for <thishost> for interfaces <thisif>? as well as
|
| D | ipf.h | 214 extern char thishost[];
|
| D | HISTORY | 1592 initparse() call, missing to prime "<thishost>" hook - Craig Bishop
|