/freebsd-10.1-release/contrib/tcp_wrappers/ |
H A D | eval.c | 2 * Routines for controlled evaluation of host names, user names, and so on. 37 * host name has the value STRING_PARANOID it means there was a name/address 58 char *eval_hostaddr(host) 59 struct host_info *host; 61 if (host->addr[0] == 0) { 62 strcpy(host->addr, unknown); 63 if (host->request->hostaddr != 0) 64 host->request->hostaddr(host); 66 return (host 127 char *host = eval_hostinfo(request->server); local [all...] |
H A D | socket.c | 4 * it provides methods to map a transport address to a printable host name 7 * The result from the hostname lookup method is STRING_PARANOID when a host 8 * pretends to have someone elses name, or when a host name is available but 50 * Speed up DNS lookups by terminating the host name with a dot. Should be 95 * Look up the client host address. Hal R. Brand <BRAND@addvax.llnl.gov> 96 * suggested how to get the client host info in case of UDP connections: 142 void sock_hostaddr(host) 143 struct host_info *host; 146 struct sockaddr *sin = host->sin; 157 getnameinfo(sin, salen, host [all...] |
H A D | scaffold.c | 53 struct hostent host; member in struct:hostent_block 69 memset((char *) &hb->host, 0, sizeof(hb->host)); 70 hb->host.h_length = hp->h_length; 71 hb->host.h_addr_list = hb->addr_list; 72 hb->host.h_addr_list[count] = 0; 73 data = (char *) (hb->host.h_addr_list + count + 1); 76 hb->host.h_addr_list[count] = data + hp->h_length * count; 77 memcpy(hb->host.h_addr_list[count], addr, hp->h_length); 79 return (&hb->host); [all...] |
/freebsd-10.1-release/usr.bin/host/ |
H A D | Makefile | 4 LDNSHOSTDIR= ${.CURDIR}/../../contrib/ldns-host 8 PROG= host 9 SRCS= ldns-host.c 10 MAN= host.1 11 CLEANFILES+= host.1 13 host.1: ldns-host.1
|
/freebsd-10.1-release/contrib/ntp/scripts/deprecated/ |
H A D | ntp-groper | 3 # ntpgroper host ... 7 # the host is named "dumbo.hp.com": 31 for host in $* 33 # echo "Trying $host." 35 gethost $host > /dev/null 2>&1 38 echo "$host not registered in DNS" 42 ping $host 64 1 > /dev/null 2>&1 45 echo "$host not responding to ping" 53 ntpq -c "ntpversion $version" -p $host > $ntpqlog 2>&1 57 echo "$host refuse [all...] |
/freebsd-10.1-release/lib/libulog/ |
H A D | utempter.c | 36 utempter_add_record(int fd, const char *host) argument 39 ulog_login_pseudo(fd, host); 66 addToUtmp(const char *pty __unused, const char *host, int fd) argument 69 utempter_add_record(fd, host);
|
/freebsd-10.1-release/contrib/ipfilter/lib/ |
H A D | alist_new.c | 13 alist_new(int family, char *host) argument 21 if (strchr(host, ':') != NULL) 35 while (ISSPACE(*host)) 36 host++; 38 if (*host == '!') { 40 host++; 41 while (ISSPACE(*host)) 42 host++; 46 slash = strchr(host, '/'); 57 sscanf(host, " [all...] |
H A D | connecttcp.c | 19 struct hostent *host; local 31 host = gethostbyname(server); 32 if (host == NULL) 34 memcpy(&sin.sin_addr, host->h_addr_list[0],
|
/freebsd-10.1-release/lib/libc/inet/ |
H A D | inet_makeaddr.c | 45 * Formulate an Internet address from network + host. Used in 49 inet_makeaddr(net, host) 50 in_addr_t net, host; 55 a.s_addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST); 57 a.s_addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST); 59 a.s_addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST); 61 a.s_addr = net | host;
|
/freebsd-10.1-release/share/examples/printing/ |
H A D | psdfX | 20 h) host=$OPTARG ;; 28 [ "$host" ] || fail "No host name" 30 ( /u/kelly/freebsd/printing/filters/make-ps-header $login $host "DVI File"
|
/freebsd-10.1-release/contrib/ntp/scripts/ntpsweep/ |
H A D | ntpsweep.in | 36 (((@_ != 1) && !$opts->{host} && !@{$opts->{'host-list'}}))) { 51 if ($opts->{host}) { 52 push @hosts, $opts->{host}; 56 push @hosts, @{$opts->{'host-list'}}; 75 my $host; 76 for $host (@hosts) { 77 scan_host($host, 0, $host => 1); 99 my ($host, [all...] |
/freebsd-10.1-release/contrib/amd/scripts/ |
H A D | fixrmtab.in | 20 for host in $* 22 sed -e '/^'$host':/s/^./#/' $RMTAB > $TMP && cp $TMP $RMTAB
|
/freebsd-10.1-release/crypto/openssh/ |
H A D | auth-sia.c | 57 const char *host; local 59 host = get_canonical_hostname(options.use_dns); 64 if (sia_ses_init(&ent, saved_argc, saved_argv, host, authctxt->user, 70 authctxt->user, host); 86 const char *host; local 88 host = get_canonical_hostname(options.use_dns); 90 if (sia_ses_init(&ent, saved_argc, saved_argv, host, pw->pw_name, 102 pw->pw_name, host); 106 pw->pw_name, host);
|
/freebsd-10.1-release/lib/librpcsvc/ |
H A D | rnusers.c | 50 rusers(char *host, utmpidlearr *up) argument 52 return (callrpc(host, RUSERSPROG, RUSERSVERS_IDLE, RUSERSPROC_NAMES, 58 rnusers(char *host) argument 62 if (callrpc(host, RUSERSPROG, RUSERSVERS_ORIG, RUSERSPROC_NUM,
|
H A D | rstat.c | 49 rstat(char *host, struct statstime *statp) argument 51 return (callrpc(host, RSTATPROG, RSTATVERS_TIME, RSTATPROC_STATS, 57 havedisk(char *host) argument 61 if (callrpc(host, RSTATPROG, RSTATVERS_SWTCH, RSTATPROC_HAVEDISK,
|
H A D | rwall.c | 49 rwall(char *host, char *msg) argument 51 return (callrpc(host, WALLPROG, WALLVERS, WALLPROC_WALL,
|
/freebsd-10.1-release/usr.sbin/ntp/scripts/ |
H A D | ntptrace | 18 $host = shift; 19 $host ||= "127.0.0.1"; 23 $cmd = "$ntpq -n -c rv $host"; 37 $dhost = $host; 40 if ($dodns && $host =~ /^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})$/) { 41 $iaddr = inet_aton($host); 52 $cmd = "$ntpq -n -c \"pstat $peer\" $host"; 60 $host = $thost;
|
/freebsd-10.1-release/usr.bin/whois/ |
H A D | whois.c | 89 static struct addrinfo *gethostinfo(char const *host, int exit_on_error); 97 const char *country, *host; local 105 country = host = qnichost = NULL; 110 host = ANICHOST; 113 host = PNICHOST; 116 host = ABUSEHOST; 122 host = FNICHOST; 125 host = GNICHOST; 128 host = optarg; 131 host 242 gethostinfo(char const *host, int exit_on_error) argument 282 char *buf, *host, *nhost, *p; local [all...] |
/freebsd-10.1-release/contrib/ntp/scripts/ntptrace/ |
H A D | ntptrace.in | 20 my $host = shift || $opts->{host}; 26 my %info = get_info($host); 29 my $dhost = $host; 31 my $name = do_dns($host); 45 my $next_host = get_next_host($info{peer}, $host); 49 $host = $next_host; 55 my ($host) = @_; 58 $info = ntp_read_vars(0, [], $host); 70 my ($peer, $host) [all...] |
/freebsd-10.1-release/contrib/sendmail/cf/sh/ |
H A D | makeinfo.sh | 53 host=`hostname` 55 host=`uname -n` 57 echo '#####' built by $user@$host 60 echo "define(\`__HOST__', $host)dnl"
|
/freebsd-10.1-release/etc/autofs/ |
H A D | special_hosts | 15 echo "$out" | awk -v host="$1" \ 16 'NR > 1 { printf "%s\t%s:%s ", $1, host, $1 } END { printf "\n" }'
|
/freebsd-10.1-release/libexec/bootpd/ |
H A D | dovend.h | 4 extern int dovend_rfc1497(struct host *hp, u_char *buf, int len);
|
/freebsd-10.1-release/usr.sbin/amd/include/ |
H A D | newvers.sh | 10 echo '/* Define name and version of host machine (eg. solaris2.5.1) */' 12 echo '/* Define only name of host machine OS (eg. solaris2) */' 15 echo '/* Define only version of host machine (eg. 2.5.1) */' 20 /* Define name and version of host machine (eg. solaris2.5.1) */ 23 /* Define only name of host machine OS (eg. solaris2) */ 26 /* Define only version of host machine (eg. 2.5.1) */ 34 /* Define name of host */
|
/freebsd-10.1-release/contrib/opie/libopie/ |
H A D | accessfile.c | 52 int opieaccessfile FUNCTION((host), char *host) argument 55 /* Turn host into an IP address and then look it up in the authorization 64 syslog(LOG_DEBUG, "accessfile: host=%s", host); 66 if (!host[0]) 69 if (isaddr(host)) { 70 n = inet_addr(host); 73 hp = gethostbyname(host); 75 printf("Unknown host 87 rdnets(host), long host argument [all...] |
/freebsd-10.1-release/contrib/gdb/gdb/ |
H A D | stop-gdb.c | 49 char *host; local 61 /* Allow the user to specify a remote host. */ 62 host = strchr (argv[1], '@'); 63 if (host) 64 *(host++) = '\0'; 66 host = (char *) ""; 82 kr = netname_look_up (name_server_port, host, name, &gdb_port); 84 kr = netname_look_up (name_server_port, host, argv[1], &gdb_port);
|