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

/freebsd-10.0-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.0-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.0-release/sbin/mount_nfs/
H A Dmount_nfs.c143 static enum tryret nfs_tryproto(struct addrinfo *ai, char *hostp, char *spec,
704 char *hostp, *delimp, *errstr; local
710 hostp = spec + 1;
714 hostp = spec;
718 hostp = delimp + 1;
734 if (strlen(hostp) + strlen(spec) + 1 > MNAMELEN) {
735 warnx("%s:%s: %s", hostp, spec, strerror(ENAMETOOLONG));
739 if (*hostp != '\0') {
740 len = strlen(hostp);
744 memmove(nam + offset, hostp, le
855 nfs_tryproto(struct addrinfo *ai, char *hostp, char *spec, char **errstr, struct iovec **iov, int *iovlen) argument
[all...]
/freebsd-10.0-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, MOUNTVERS, "udp");
399 warnx("%s: %s", hostp,
410 warnx("%s: %s", hostp,
419 clean_mtab(hostp, nfsdirnam
[all...]
/freebsd-10.0-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.0-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.0-release/libexec/revnetgroup/
H A Dparse_netgroup.c124 __getnetgrent(char **hostp, char **userp, char **domp) argument
127 *hostp = nextgrp->ng_str[NG_HOST];
/freebsd-10.0-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.0-release/crypto/openssh/
H A Dsshconnect.c754 char hostline[1000], *hostp, *fp, *ra; local
937 hostp = hostline;
953 hostp = host;
961 "list of known hosts.", hostp, type);
/freebsd-10.0-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.0-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.0-release/usr.sbin/mountd/
H A Dmountd.c180 void del_mlist(char *hostp, char *dirp);
2934 del_mlist(char *hostp, char *dirp) argument
2944 if (!strcmp(mlp->ml_host, hostp) &&
2970 add_mlist(char *hostp, char *dirp) argument
2978 if (!strcmp(mlp->ml_host, hostp) && !strcmp(mlp->ml_dirp, dirp))
2986 strncpy(mlp->ml_host, hostp, MNTNAMLEN);

Completed in 145 milliseconds