/dragonfly/usr.sbin/rpc.umntall/ |
H A D | mounttab.c | 53 add_mtab(char *hostp, char *dirp) { in add_mtab() argument 60 (long)time(NULL), hostp, dirp); in add_mtab() 72 char *hostp, *dirp, *cp; in read_mtab() local 99 hostp = strsep(&cp, " \t\n"); in read_mtab() 100 if (hostp == NULL || *hostp == '\0') { in read_mtab() 101 badline("host", hostp); in read_mtab() 121 memmove(mtabp->mtab_host, hostp, RPCMNT_NAMELEN); in read_mtab() 181 clean_mtab(char *hostp, char *dirp, int verbose) { in clean_mtab() argument 186 host = strdup(hostp); in clean_mtab()
|
/dragonfly/sbin/mount_nfs/ |
H A D | mount_nfs.c | 473 char *hostp, *delimp, *errstr; in getnfsargs() local 478 hostp = spec; in getnfsargs() 482 hostp = delimp + 1; in getnfsargs() 503 if (*hostp != '\0') { in getnfsargs() 504 len = strlen(hostp); in getnfsargs() 505 memmove(nam, hostp, len); in getnfsargs() 524 errx(1, "%s:%s: %s", hostp, portspec, in getnfsargs() 562 hostp, spec); in getnfsargs() 572 if (!add_mtab(hostp, spec)) in getnfsargs() 643 hostp)) { in nfs_tryproto() [all …]
|
/dragonfly/sbin/umount/ |
H A D | umount.c | 254 char *type, *hostp, *delimp, *origname; in checkname() local 291 hostp = delimp + 1; in checkname() 292 if (*hostp != '\0') { in checkname() 297 char *host = strdup(hostp); in checkname() 298 len = strlen(hostp); in checkname() 408 char *hostp, *delimp; in umountfs() local 412 hostp = NULL; in umountfs() 422 hostp = nfsdirname; in umountfs() 466 warnx("%s: %s", hostp, in umountfs() 476 warnx("%s: %s", hostp, in umountfs() [all …]
|
/dragonfly/usr.bin/telnet/ |
H A D | commands.c | 2159 if (hostp == NULL) { in tn() 2160 hostp = *argv++; in tn() 2174 if (hostp == NULL) in tn() 2196 if (hostp[0] == '/') { in tn() 2201 hostp); in tn() 2207 printf("Trying %s...\n", hostp); in tn() 2219 } else if (hostp[0] == '@' || hostp[0] == '!') { in tn() 2227 hostname = hostp; in tn() 2233 hostname = hostp; in tn() 2293 hostp = hostbuf; in tn() [all …]
|
/dragonfly/crypto/openssh/ |
H A D | ssh.c | 430 if ((addrs = resolve_addr(*hostp, port, in resolve_canonicalize() 435 *hostp, newname); in resolve_canonicalize() 436 free(*hostp); in resolve_canonicalize() 437 *hostp = xstrdup(newname); in resolve_canonicalize() 447 if (is_addr_fast(*hostp)) { in resolve_canonicalize() 466 if ((*hostp)[strlen(*hostp) - 1] == '.') { in resolve_canonicalize() 468 fullhost = xstrdup(*hostp); in resolve_canonicalize() 478 for (cp = *hostp; *cp != '\0'; cp++) { in resolve_canonicalize() 505 *hostp, fullhost); in resolve_canonicalize() 507 free(*hostp); in resolve_canonicalize() [all …]
|
H A D | misc.c | 785 if (hostp != NULL) in parse_user_host_path() 786 *hostp = NULL; in parse_user_host_path() 819 if (hostp != NULL) { in parse_user_host_path() 820 *hostp = host; in parse_user_host_path() 853 if (hostp != NULL) in parse_user_host_port() 854 *hostp = NULL; in parse_user_host_port() 883 if (hostp != NULL) { in parse_user_host_port() 884 *hostp = host; in parse_user_host_port() 984 if (hostp != NULL) in parse_uri() 985 *hostp = NULL; in parse_uri() [all …]
|
H A D | sshconnect.c | 936 char hostline[1000], *hostp, *fp, *ra; in check_host_key() local 1186 hostp = hostline; in check_host_key() 1202 hostp = host; in check_host_key() 1210 "list of known hosts.", hostp, type); in check_host_key()
|
H A D | scp.c | 701 parse_scp_uri(const char *uri, char **userp, char **hostp, int *portp, in parse_scp_uri() argument 706 r = parse_uri("scp", uri, userp, hostp, portp, pathp); in parse_scp_uri()
|
H A D | readconf.c | 3078 parse_ssh_uri(const char *uri, char **userp, char **hostp, int *portp) in parse_ssh_uri() argument 3091 if (hostp != NULL) { in parse_ssh_uri() 3092 *hostp = host; in parse_ssh_uri()
|
/dragonfly/libexec/revnetgroup/ |
H A D | parse_netgroup.c | 117 __getnetgrent(char **hostp, char **userp, char **domp) in __getnetgrent() argument 120 *hostp = nextgrp->ng_str[NG_HOST]; in __getnetgrent()
|
/dragonfly/lib/libc/gen/ |
H A D | getnetgrent.c | 215 getnetgrent(char **hostp, char **userp, char **domp) argument 222 *hostp = nextgrp->ng_str[NG_HOST];
|
/dragonfly/crypto/libressl/crypto/x509/ |
H A D | x509_internal.h | 122 int x509_constraints_uri_host(uint8_t *uri, size_t len, char **hostp);
|
/dragonfly/sbin/mountd/ |
H A D | mountd.c | 2447 del_mlist(char *hostp, char *dirp) in del_mlist() argument 2457 if (!strcmp(mlp->ml_host, hostp) && in del_mlist() 2483 add_mlist(char *hostp, char *dirp) in add_mlist() argument 2491 if (!strcmp(mlp->ml_host, hostp) && !strcmp(mlp->ml_dirp, dirp)) in add_mlist() 2499 strncpy(mlp->ml_host, hostp, RPCMNT_NAMELEN); in add_mlist()
|
/dragonfly/contrib/libpcap/ |
H A D | pcap.c | 1727 char **hostp, char **portp, char **pathp, char *ebuf) argument 1743 *hostp = NULL; 2055 *hostp = host;
|