Searched refs:hostp (Results 1 - 13 of 13) sorted by relevance

/freebsd-10.1-release/contrib/ipfilter/lib/
H A Dgethost.c13 int gethost(family, name, hostp)
16 i6addr_t *hostp;
24 hostp->in4.s_addr = htonl(0xfedcba98);
28 hostp->i6[0] = 0xfe80aa55;
29 hostp->i6[1] = 0x12345678;
30 hostp->i6[2] = 0x5a5aa5a5;
31 hostp->i6[3] = 0xfedcba98;
46 hostp->in4.s_addr = addr;
53 hostp->in4.s_addr = htonl(n->n_net & 0xffffffff);
68 hostp
[all...]
/freebsd-10.1-release/usr.sbin/rpc.umntall/
H A Dmounttab.c55 add_mtab(char *hostp, char *dirp) argument
63 (long)time(NULL), hostp, dirp);
76 char *hostp, *dirp, *cp; local
103 hostp = strsep(&cp, " \t\n");
104 if (hostp == NULL || *hostp == '\0') {
105 badline("host", hostp);
125 memmove(mtabp->mtab_host, hostp, MNTNAMLEN);
186 clean_mtab(char *hostp, char *dirp, int verbose) argument
191 /* Copy hostp i
[all...]
/freebsd-10.1-release/sbin/mount_nfs/
H A Dmount_nfs.c143 static enum tryret nfs_tryproto(struct addrinfo *ai, char *hostp, char *spec,
730 char *hostp, *delimp, *errstr; local
736 hostp = spec + 1;
740 hostp = spec;
744 hostp = delimp + 1;
760 if (strlen(hostp) + strlen(spec) + 1 > MNAMELEN) {
761 warnx("%s:%s: %s", hostp, spec, strerror(ENAMETOOLONG));
765 if (*hostp != '\0') {
766 len = strlen(hostp);
770 memmove(nam + offset, hostp, le
881 nfs_tryproto(struct addrinfo *ai, char *hostp, char *spec, char **errstr, struct iovec **iov, int *iovlen) argument
[all...]
/freebsd-10.1-release/sbin/umount/
H A Dumount.c319 char *hostp, *delimp; local
323 hostp = NULL;
334 hostp = nfsdirname + 1;
337 hostp = nfsdirname;
340 if (hostp != NULL) {
342 getaddrinfo(hostp, NULL, &hints, &ai);
397 clp = clnt_create(hostp, MOUNTPROG, MOUNTVERS3, "udp");
399 warnx("%s: %s", hostp,
410 warnx("%s: %s", hostp,
419 clean_mtab(hostp, nfsdirnam
[all...]
/freebsd-10.1-release/contrib/telnet/telnet/
H A Dcommands.c2185 char *cmd, *hostp = 0, *portp = 0, *user = 0;
2229 if (hostp == 0) {
2230 hostp = *argv++;
2244 if (hostp == 0)
2265 if (hostp[0] == '/') {
2268 if (strlen(hostp) >= sizeof(su.sun_path)) {
2270 hostp);
2273 hostname = hostp;
2276 strncpy(su.sun_path, hostp, sizeof su.sun_path);
2277 printf("Trying %s...\n", hostp);
2177 char *cmd, *hostp = 0, *portp = 0, *user = 0; local
[all...]
/freebsd-10.1-release/crypto/heimdal/appl/telnet/telnet/
H A Dcommands.c2064 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-10.1-release/libexec/revnetgroup/
H A Dparse_netgroup.c120 __getnetgrent(char **hostp, char **userp, char **domp) argument
123 *hostp = nextgrp->ng_str[NG_HOST];
/freebsd-10.1-release/crypto/openssh/
H A Dssh.c324 resolve_canonicalize(char **hostp, int port) argument
343 for (cp = *hostp; *cp != '\0'; cp++) {
349 __func__, *hostp, options.canonicalize_max_dots);
355 xasprintf(&fullhost, "%s.%s.", *hostp,
358 *hostp, fullhost);
369 *hostp, fullhost);
371 free(*hostp);
372 *hostp = fullhost;
376 fatal("%s: Could not resolve host \"%s\"", __progname, *hostp);
377 debug2("%s: host %s not found in any suffix", __func__, *hostp);
[all...]
H A Dsshconnect.c837 char hostline[1000], *hostp, *fp, *ra; local
1020 hostp = hostline;
1036 hostp = host;
1044 "list of known hosts.", hostp, type);
/freebsd-10.1-release/lib/libc/gen/
H A Dgetnetgrent.c218 getnetgrent(char **hostp, char **userp, char **domp) argument
225 *hostp = nextgrp->ng_str[NG_HOST];
/freebsd-10.1-release/usr.sbin/faithd/
H A Dftp.c889 char *afp, *hostp, *portp; local
926 hostp = p;
953 error = getaddrinfo(hostp, portp, &hints, &res);
965 "501 EPRT: %s resolved to multiple addresses\r\n", hostp);
/freebsd-10.1-release/contrib/sendmail/src/
H A Dparseaddr.c1966 char **hostp; local
2016 hostp = ++tv;
2020 hostp = NULL;
2032 if (tv == hostp)
2033 hostp = NULL;
2034 else if (hostp != NULL)
2035 cataddr(hostp, tv - 1, hbuf, sizeof(hbuf), '\0', false);
2047 if (hostp != NULL)
2122 if (hostp == NULL)
/freebsd-10.1-release/usr.sbin/mountd/
H A Dmountd.c180 void del_mlist(char *hostp, char *dirp);
2936 del_mlist(char *hostp, char *dirp) argument
2946 if (!strcmp(mlp->ml_host, hostp) &&
2972 add_mlist(char *hostp, char *dirp) argument
2980 if (!strcmp(mlp->ml_host, hostp) && !strcmp(mlp->ml_dirp, dirp))
2988 strncpy(mlp->ml_host, hostp, MNTNAMLEN);

Completed in 292 milliseconds