/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | gethost.c | 13 int gethost(family, name, hostp) 16 i6addr_t *hostp; 22 bzero(hostp, sizeof(*hostp)); 25 hostp->in4.s_addr = htonl(0xfedcba98); 29 hostp->i6[0] = htonl(0xfe80aa55); 30 hostp->i6[1] = htonl(0x12345678); 31 hostp->i6[2] = htonl(0x5a5aa5a5); 32 hostp->i6[3] = htonl(0xfedcba98); 47 hostp [all...] |
/freebsd-11-stable/usr.sbin/rpc.umntall/ |
H A D | mounttab.c | 57 add_mtab(char *hostp, char *dirp) argument 65 (long)time(NULL), hostp, dirp); 78 char *hostp, *dirp, *cp; local 105 hostp = strsep(&cp, " \t\n"); 106 if (hostp == NULL || *hostp == '\0') { 107 badline("host", hostp); 127 memmove(mtabp->mtab_host, hostp, MNTNAMLEN); 188 clean_mtab(char *hostp, char *dirp, int verbose) argument 193 /* Copy hostp i [all...] |
/freebsd-11-stable/sbin/mount_nfs/ |
H A D | mount_nfs.c | 143 static enum tryret nfs_tryproto(struct addrinfo *ai, char *hostp, char *spec, 521 char *hostp, *delimp, *errstr; local 527 hostp = spec + 1; 531 hostp = spec; 535 hostp = delimp + 1; 551 if (strlen(hostp) + strlen(spec) + 1 > MNAMELEN) { 552 warnx("%s:%s: %s", hostp, spec, strerror(ENAMETOOLONG)); 556 if (*hostp != '\0') { 557 len = strlen(hostp); 561 memmove(nam + offset, hostp, le 672 nfs_tryproto(struct addrinfo *ai, char *hostp, char *spec, char **errstr, struct iovec **iov, int *iovlen) argument [all...] |
/freebsd-11-stable/sbin/umount/ |
H A D | umount.c | 345 char *hostp, *delimp; local 352 hostp = NULL; 363 hostp = nfsdirname + 1; 366 hostp = nfsdirname; 369 if (hostp != NULL) { 371 getaddrinfo(hostp, NULL, &hints, &ai); 442 clp = clnt_create(hostp, MOUNTPROG, MOUNTVERS3, proto_ptr); 444 warnx("%s: %s", hostp, 455 warnx("%s: %s", hostp, 464 clean_mtab(hostp, nfsdirnam [all...] |
/freebsd-11-stable/contrib/telnet/telnet/ |
H A D | commands.c | 2183 char *cmd, *hostp = 0, *portp = 0, *user = 0; 2227 if (hostp == 0) { 2228 hostp = *argv++; 2242 if (hostp == 0) 2263 if (hostp[0] == '/') { 2266 if (strlen(hostp) >= sizeof(su.sun_path)) { 2268 hostp); 2271 hostname = hostp; 2274 strncpy(su.sun_path, hostp, sizeof su.sun_path); 2275 printf("Trying %s...\n", hostp); 2175 char *cmd, *hostp = 0, *portp = 0, *user = 0; local [all...] |
/freebsd-11-stable/lib/libc/gen/ |
H A D | getnetgrent.c | 233 char **hostp, **userp, **domp, *buf; local 237 hostp = va_arg(ap, char **); 247 return (_getnetgrent_r(hostp, userp, domp, buf, bufsize, errnop, st)); 301 char **hostp, **userp, **domp, *buf; local 308 hostp = va_arg(ap, char **); 315 return (_getnetgrent_r(hostp, userp, domp, buf, bufsize, errnop, 418 _getnetgrent_r(char **hostp, char **userp, char **domp, char *buf, argument 441 COPY_NG_ELEM(hostp, NG_HOST); 929 getnetgrent_r(char **hostp, char **userp, char **domp, char *buf, size_t bufsize) argument 935 defaultsrc, hostp, user 945 getnetgrent(char **hostp, char **userp, char **domp) argument [all...] |
/freebsd-11-stable/crypto/openssh/ |
H A D | ssh.c | 372 resolve_canonicalize(char **hostp, int port) argument 392 if ((addrs = resolve_addr(*hostp, port, 394 debug2("%s: hostname %.100s is address", __func__, *hostp); 395 if (strcasecmp(*hostp, newname) != 0) { 397 __func__, *hostp, newname); 398 free(*hostp); 399 *hostp = xstrdup(newname); 405 if ((*hostp)[strlen(*hostp) - 1] == '.') { 407 fullhost = xstrdup(*hostp); [all...] |
H A D | misc.c | 469 parse_user_host_port(const char *s, char **userp, char **hostp, int *portp) argument 477 if (hostp != NULL) 478 *hostp = NULL; 507 if (hostp != NULL) { 508 *hostp = host;
|
H A D | sshconnect.c | 817 char hostline[1000], *hostp, *fp, *ra; local 1009 hostp = hostline; 1025 hostp = host; 1033 "list of known hosts.", hostp, type);
|
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnet/ |
H A D | commands.c | 2064 char *cmd, *hostp = 0, *portp = 0; 2100 if (hostp == 0) { 2101 hostp = *argv++; 2114 if (hostp == 0) 2117 strlcpy (_hostname, hostp, sizeof(_hostname)); 2118 hostp = _hostname; 2119 if (hostp[0] == '@' || hostp[0] == '!') { 2122 for (p = hostp + 1; *p; p++) { 2127 fprintf(stderr, "%s: bad source route specification\n", hostp); 2056 char *cmd, *hostp = 0, *portp = 0; local [all...] |
/freebsd-11-stable/libexec/revnetgroup/ |
H A D | parse_netgroup.c | 120 __getnetgrent(char **hostp, char **userp, char **domp) argument 123 *hostp = nextgrp->ng_str[NG_HOST];
|
/freebsd-11-stable/sys/fs/nfsclient/ |
H A D | nfs_clvfsops.c | 749 char *nam, *delimp, *hostp, *spec; local 764 hostp = spec + 1; 768 hostp = spec; 773 hostp = delimp + 1; 790 if (strlen(hostp) + strlen(spec) + 1 > MNAMELEN) { 791 printf("%s: %s:%s: name too long", __func__, hostp, spec); 796 if (*hostp != '\0') { 797 len = strlen(hostp); 801 memmove(nam + offset, hostp, len); 814 rv = inet_pton(AF_INET, hostp, [all...] |
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | parseaddr.c | 1981 char **hostp; local 2031 hostp = ++tv; 2035 hostp = NULL; 2047 if (tv == hostp) 2048 hostp = NULL; 2049 else if (hostp != NULL) 2050 cataddr(hostp, tv - 1, hbuf, sizeof(hbuf), '\0', false); 2062 if (hostp != NULL) 2137 if (hostp == NULL)
|
/freebsd-11-stable/contrib/libpcap/ |
H A D | pcap.c | 1531 * If the source is not a URL, *schemep, *userinfop, *hostp, and *portp 1536 * case of rpcap:), *schemep, *userinfop, *hostp, and *portp are set 1548 * if host information is present in the URL, *hostp is set to point 1565 char **hostp, char **portp, char **pathp, char *ebuf) 1581 *hostp = NULL; 1892 *hostp = host;
|
/freebsd-11-stable/usr.sbin/mountd/ |
H A D | mountd.c | 206 static void del_mlist(char *hostp, char *dirp); 3564 del_mlist(char *hostp, char *dirp) argument 3571 if (!strcmp(mlp->ml_host, hostp) && 3591 add_mlist(char *hostp, char *dirp) argument 3597 if (!strcmp(mlp->ml_host, hostp) && !strcmp(mlp->ml_dirp, dirp)) 3604 strncpy(mlp->ml_host, hostp, MNTNAMLEN);
|