/freebsd-9.3-release/lib/libc/net/ |
H A D | ether_addr.c | 143 char local_host[MAXHOSTNAMELEN]; local 170 if (!ether_line(buf, &local_ether, local_host)) { 174 strcpy(hostname, local_host); 193 char local_host[MAXHOSTNAMELEN]; local 218 if (!ether_line(buf, &local_ether, local_host)) { 219 if (!strcmp(hostname, local_host)) {
|
H A D | eui64.c | 223 char local_host[MAXHOSTNAMELEN]; local 250 if (eui64_line(buf, &local_eui64, local_host, 251 sizeof(local_host)) == 0) { 255 strcpy(hostname, local_host); 274 char local_host[MAXHOSTNAMELEN]; local 299 if (eui64_line(buf, &local_eui64, local_host, 300 sizeof(local_host)) == 0) { 301 if (strcmp(hostname, local_host) == 0) {
|
/freebsd-9.3-release/usr.sbin/lpr/common_source/ |
H A D | rmjob.c | 107 if (from_host == local_host) 219 if (from_host != local_host) 220 printf("%s: ", local_host); 245 if (all && (from_host == local_host || !strcmp(from_host, cfhost))) 289 if (!strcmp(person, root) && (from_host == local_host || 294 if (from_host != local_host) 295 printf("%s: ", local_host); 364 if (from_host != local_host) 365 printf("%s: ", local_host);
|
H A D | displayq.c | 135 printf("%s: ", local_host); 149 printf("%s: ", local_host); 193 printf("%s: ", local_host); 252 if (from_host != local_host) 253 printf("%s: ", local_host); 366 printf("%s: ", local_host);
|
H A D | net.c | 67 * 'local_host' is always the hostname of the machine which is running 68 * lpr (lpd, whatever), while 'from_host' either points at 'local_host' 72 char local_host[MAXHOSTNAMELEN]; /* host running lpd/lpr */ variable 73 const char *from_host = local_host; /* client's machine name */
|
H A D | common.c | 748 if (from_host != local_host) 749 (void)printf("%s: ", local_host);
|
H A D | lp.h | 156 * 'local_host' is the name of the machine that lpd (lpr, whatever) 161 * job from a remote host. If 'from_host != local_host', then 'from_ip' 165 * Also note that when 'from_host' is not pointing at 'local_host', the 169 extern char local_host[MAXHOSTNAMELEN];
|
/freebsd-9.3-release/contrib/ofed/management/opensm/scripts/ |
H A D | sldd.sh.in | 116 if [ "${host}" == "${local_host}" ]; then 121 stat=$($RSH $host "/bin/mkdir -p ${CACHE_DIR} > /dev/null 2>&1; /bin/rm -f ${CACHE_FILE}.${local_host} > /dev/null 2>&1; echo \$?" | tr -d '[:space:]') 126 $RCP ${CACHE_FILE}.upd ${host}:${CACHE_FILE}.${local_host} 163 local_host="" 167 local_host=${host}
|
/freebsd-9.3-release/usr.sbin/lpr/lprm/ |
H A D | lprm.c | 98 gethostname(local_host, sizeof(local_host));
|
/freebsd-9.3-release/usr.sbin/lpr/lpq/ |
H A D | lpq.c | 93 if (gethostname(local_host, sizeof(local_host)))
|
/freebsd-9.3-release/usr.sbin/lpr/lpr/ |
H A D | lpr.c | 86 static char *class = local_host; /* class title on header page */ 158 gethostname(local_host, sizeof(local_host)); 332 card('H', local_host); 866 len = strlen(pp->spool_dir) + strlen(local_host) + 8; 889 local_host);
|
/freebsd-9.3-release/contrib/telnet/telnet/ |
H A D | telnet.c | 2093 static char local_host[256] = { 0 }; 2095 if (!local_host[0]) { 2096 gethostname(local_host, sizeof(local_host)); 2097 local_host[sizeof(local_host)-1] = 0; 2099 auth_encrypt_init(local_host, hostname, "TELNET", 0); 2086 static char local_host[256] = { 0 }; local
|
/freebsd-9.3-release/crypto/heimdal/appl/telnet/telnet/ |
H A D | telnet.c | 2044 static char local_host[256] = { 0 }; local 2046 if (!local_host[0]) { 2048 gethostname(local_host, sizeof(local_host)); 2049 local_host[sizeof(local_host)-1] = 0; 2051 auth_encrypt_init(local_host, hostname, "TELNET", 0);
|
/freebsd-9.3-release/usr.sbin/lpr/lpd/ |
H A D | lpd.c | 145 gethostname(local_host, sizeof(local_host)); 841 printf("%s [@%s]: %s\n", progname, local_host, usermsg);
|
H A D | printjob.c | 499 * just strlcpy'ing local_host? */ 1271 hlen = strlen(local_host); 1274 if (strcmp(cp, local_host) == 0) 1582 printf("Reply-To: root@%s\n\n", local_host); 1600 local_host);
|
/freebsd-9.3-release/crypto/heimdal/lib/krb5/ |
H A D | principal.c | 918 goto local_host; 950 local_host:
|