Searched refs:host (Results 51 - 75 of 527) sorted by relevance

1234567891011>>

/freebsd-10.0-release/contrib/opie/libopie/
H A Dinsecure.c135 char host[sizeof(utmp.ut_host) + 1]; variable
138 strncpy(host, utmp.ut_host, sizeof(utmp.ut_host));
139 host[sizeof(utmp.ut_host)] = 0;
141 if (s = strchr(host, ':')) {
142 int n = s - host;
147 if (!strncmp(host, display_name, n))
151 if (s = strchr(host, ' ')) {
155 if (!strncmp(host, display_name, n))
H A Dlogin.c46 int opielogin FUNCTION((line, name, host), char *line AND char *name AND char *host) argument
86 strncpy(u.ut_host, host, sizeof(u.ut_host));
89 u.ut_syslen = strlen(host) + 1;
111 opielogwtmp(line, name, host, id);
/freebsd-10.0-release/crypto/openssh/regress/
H A Dkeyscan.sh7 rm -f ${OBJ}/host.dsa
H A Daddrmatch.sh10 user="$1"; addr="$2"; host="$3"; laddr="$4"; lport="$5"
13 verbose "test $descr for $user $addr $host"
15 -C user=${user},addr=${addr},host=${host},laddr=${laddr},lport=${lport} | \
25 Match Address 192.168.0.0/16,!192.168.30.0/24,10.0.0.0/8,host.example.com
/freebsd-10.0-release/crypto/heimdal/lib/krb5/
H A Dget_host_realm.c37 /* To automagically find the correct realm of a host (without
44 * hosts. To find the realm of host a.b.c, it first tries
134 * Try to figure out what realms host in `domain' belong to from the
155 * This function assumes that `host' is a FQDN (and doesn't handle the
156 * special case of host == NULL either).
163 const char *host,
172 for (p = host; p != NULL; p = strchr (p + 1, '.')) {
176 for (q = host; q != NULL; q = strchr(q + 1, '.'))
188 p = strchr(host, '.');
208 N_("unable to find realm of host
162 _krb5_get_host_realm_int(krb5_context context, const char *host, krb5_boolean use_dns, krb5_realm **realms) argument
223 const char *host = targethost; local
[all...]
H A Dkrbhst-test.c88 char host[MAXHOSTNAMELEN]; local
95 host, sizeof(host)) == 0)
96 printf("\thost: %s\n", host);
/freebsd-10.0-release/contrib/amd/fixmount/
H A Dfixmount.c62 extern int fixmount_check_mount(char *host, struct in_addr hostaddr, char *path);
88 fprintf(stderr, "usage: fixmount [-adervAqf] [-h hostname] host ...\n");
156 remove_mount(CLIENT *client, char *host, mountlist ml, int fixit) argument
165 printf("%s: bogus mount %s:%s\n", host, ml->ml_hostname, ml->ml_directory);
168 printf("%s: removing %s:%s\n", host, ml->ml_hostname, ml->ml_directory);
182 host, ml->ml_directory);
193 * fix mount list on remote host
196 fix_rmtab(CLIENT *client, char *host, mountlist mp, int fixit, int force) argument
205 if ((he = gethostbyname(host))) {
213 if (force || !fixmount_check_mount(host, hostadd
224 remove_all(CLIENT *client, char *host) argument
268 char *host; local
538 clnt_create_timeout(char *host, struct timeval *tvp) argument
[all...]
/freebsd-10.0-release/contrib/bsnmp/snmpd/
H A Dsnmpd.config37 host := foo.bar.com
74 begemotSnmpdPortStatus.[$(host)].161 = 1
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Dgetaddrinfo_hostspec.c38 /* getaddrinfo via string specifying host and port */
48 char host[MAXHOSTNAMELEN]; local
91 snprintf (host, sizeof(host), "%.*s", hostspec_len, hostspec);
92 return getaddrinfo (host, portstr, &hints, ai);
/freebsd-10.0-release/gnu/usr.bin/cc/libdecnumber/
H A Dconfig.h80 #include <size-host.h>
/freebsd-10.0-release/lib/libc/rpc/
H A Dgetrpcport.c57 getrpcport(host, prognum, versnum, proto)
58 char *host;
64 assert(host != NULL);
66 if ((hp = gethostbyname(host)) == NULL)
H A Dclnt_simple.c75 char host[MAXHOSTNAMELEN]; /* Servers host */ member in struct:rpc_call_private
108 * the future calls to same prog, vers, host and nettype combination.
113 rpc_call(host, prognum, versnum, procnum, inproc, in, outproc, out, nettype)
114 const char *host; /* host name */
158 (!strcmp(rcp->host, host)) &&
168 rcp->client = clnt_create(host, prognum, versnum, nettype);
186 if ((strlen(host) < (size_
[all...]
/freebsd-10.0-release/contrib/sendmail/src/
H A Ddomain.c65 ** GETFALLBACKMXRR -- get MX resource records for fallback MX host.
74 ** host -- the name of the fallback MX host.
88 getfallbackmxrr(host)
89 char *host;
97 if (host == NULL || *host == '\0')
102 if (host[0] == '[')
104 fbhosts[0] = host;
114 NumFallbackMXHosts = getmxrr(host, fbhost
[all...]
H A Dsm_resolve.c178 char host[MAXHOSTNAMELEN]; local
192 status = dn_expand(data, data + len, p, host, sizeof(host));
198 r->dns_r_q.dns_q_domain = sm_strdup(host);
216 status = dn_expand(data, data + len, p, host, sizeof(host));
249 (*rr)->rr_domain = sm_strdup(host);
264 status = dn_expand(data, data + len, p, host,
265 sizeof(host));
271 (*rr)->rr_u.rr_txt = sm_strdup(host);
[all...]
/freebsd-10.0-release/sys/nlm/
H A Dnlm.h40 * This value is added to host system IDs when recording NFS client
64 * Search for an existing NLM host that matches the given name
66 * found, create a new host. If 'addr' is non-NULL, record the remote
67 * address of the host so that we can call it back for async
69 * program version to use to communicate with this client. The host
77 * Search for an existing NLM host that matches the given remote
78 * address. If none is found, create a new host with the requested
80 * that host. The host reference count is incremented - the caller
87 * Register this NLM host wit
[all...]
/freebsd-10.0-release/crypto/heimdal/appl/ftp/ftpd/
H A Dlogwtmp.c84 ftpd_logwtmp_asl(char *line, char *name, char *host) argument
98 "host %s/%s user %s%sconnected pid %d",
99 host, line, name, name[0] ? " " : "dis", (int)getpid());
107 ftpd_logwtmp_wtmp(char *line, char *name, char *host) argument
138 strncpy(ut.ut_host, host, sizeof(ut.ut_host));
146 strncpy(utx.ut_host, host, sizeof(utx.ut_host));
148 utx.ut_syslen = strlen(host) + 1;
192 ftpd_logwtmp(char *line, char *name, char *host) argument
195 ftpd_logwtmp_asl(line, name, host);
197 ftpd_logwtmp_wtmp(line, name, host);
[all...]
/freebsd-10.0-release/contrib/tcp_wrappers/
H A Dtli.c3 * the transport address of a client host, and the transport address of a
5 * address to a printable host name or address. Socket address results are
8 * The result from the hostname lookup method is STRING_PARANOID when a host
9 * pretends to have someone elses name, or when a host name is available but
244 static void tli_hostaddr(host)
245 struct host_info *host;
247 struct request_info *request = host->request;
249 struct t_unitdata *unit = host->unit;
254 STRN_CPY(host->addr, uaddr, sizeof(host
[all...]
/freebsd-10.0-release/tools/regression/lib/libc/resolv/
H A Dresolv.c102 resolv_getaddrinfo(pthread_t self, char *host, int port) argument
113 error = getaddrinfo(host, portstr, &hints, &res);
115 len = snprintf(buf, sizeof(buf), "%p: host %s %s\n",
116 self, host, error ? "not found" : "ok");
136 resolv_gethostby(pthread_t self, char *host) argument
142 hp = gethostbyname(host);
144 len = snprintf(buf, sizeof(buf), "%p: host %s %s\n",
145 self, host, (hp == NULL) ? "not found" : "ok");
161 resolv_getipnodeby(pthread_t self, char *host) argument
167 hp = getipnodebyname(host, AF_INE
196 char *host = hosts->sl_str[i]; local
[all...]
/freebsd-10.0-release/usr.bin/logger/
H A Dlogger.c89 char *tag, *host, buf[1024]; local
93 host = NULL;
117 host = optarg;
144 if (host == NULL)
156 logmessage(pri, tag, host, svcname, buf);
160 logmessage(pri, tag, host, svcname, *argv++);
169 logmessage(pri, tag, host, svcname, buf);
172 logmessage(pri, tag, host, svcname, buf);
177 * Send the message to syslog, either on the local host, or on a remote host
180 logmessage(int pri, const char *tag, const char *host, const char *svcname, const char *buf) argument
[all...]
/freebsd-10.0-release/usr.bin/rup/
H A Drup.c102 char *host; local
112 host = hp->h_name;
114 host = inet_ntoa(raddrp->sin_addr);
117 if (strlen(host) > HOST_WIDTH)
118 host[HOST_WIDTH] = '\0';
120 printf("%-*s\t", HOST_WIDTH, host);
176 onehost(char *host) argument
184 hp = gethostbyname(host);
186 warnx("unknown host \"%s\"", host);
[all...]
/freebsd-10.0-release/usr.bin/showmount/
H A Dshowmount.c98 int tcp_callrpc(const char *host, int prognum, int versnum, int procnum,
114 const char *host; local
147 host = *argv;
149 host = "localhost";
155 if ((estat = tcp_callrpc(host, MOUNTPROG, mntvers,
162 if ((estat = tcp_callrpc(host, MOUNTPROG, mntvers,
173 printf("All mount points on %s:\n", host);
176 printf("Directories on %s:\n", host);
179 printf("Hosts on %s:\n", host);
185 printf("Exports list on %s:\n", host);
210 tcp_callrpc(const char *host, int prognum, int versnum, int procnum, xdrproc_t inproc, char *in, xdrproc_t outproc, char *out) argument
[all...]
/freebsd-10.0-release/contrib/amd/fsinfo/
H A Dwr_dumpset.c81 host *hp;
83 ITER(hp, host, q) {
/freebsd-10.0-release/etc/periodic/security/
H A D700.kernelmsg50 check_diff new_only dmesg - "${host} kernel log messages:"
/freebsd-10.0-release/lib/libulog/
H A Dulog_login_pseudo.c79 ulog_login_pseudo(int fd, const char *host) argument
81 char const * const args[4] = { "ulog-helper", "login", host, NULL };
/freebsd-10.0-release/tools/diag/httpd-error/
H A Dhttpd-error27 # httpd-error - check for Web files which do not exist on your host
34 -host)
57 *) echo "usage $0 {-host|-filehits|-user|-userhits} < error.log" >&2

Completed in 247 milliseconds

1234567891011>>