/freebsd-10.0-release/contrib/ipfilter/lib/ |
H A D | printfraginfo.c | 32 PRINTF(" %s -> ", hostname(family, &ifr->ipfr_src)); 39 hostname(family, &ifr->ipfr_dst), ifr->ipfr_id,
|
H A D | printnatfield.c | 182 PRINTF("%s", hostname(n->nat_v[0], &n->nat_odstip)); 186 PRINTF("%s", hostname(n->nat_v[0], &n->nat_osrcip)); 190 PRINTF("%s", hostname(n->nat_v[1], &n->nat_ndstip)); 194 PRINTF("%s", hostname(n->nat_v[1], &n->nat_nsrcip));
|
/freebsd-10.0-release/contrib/ntp/sntp/ |
H A D | internet.h | 43 int *port, char *hostname, int timespan); 46 int *port, char *hostname, int timespan);
|
H A D | internet.c | 66 int *port, char *hostname, int timespan) { 80 fatal(0,"unable to set up access to NTP server %s",hostname); 90 rval = getaddrinfo(hostname, "ntp", &hints, &res); 92 fatal(0, "getaddrinfo(hostname, ntp) failed with %s", 131 int *port, char *hostname, int timespan) { 151 if (hostname == NULL) 155 fatal(0,"unable to set up access to NTP server %s",hostname); 163 if (! isdigit(hostname[0])) { 165 host = gethostbyname(hostname); 167 if ((ipaddr = inet_addr(hostname)) 64 find_address(struct sockaddr_storage *address, struct sockaddr_storage *anywhere, int *port, char *hostname, int timespan) argument 130 find_address(struct in_addr *address, struct in_addr *anywhere, int *port, char *hostname, int timespan) argument [all...] |
/freebsd-10.0-release/libexec/getty/ |
H A D | extern.h | 40 extern char hostname[];
|
/freebsd-10.0-release/sys/boot/common/ |
H A D | newvers.sh | 36 u=${USER-root} h=${HOSTNAME-`hostname`} t=`date`
|
/freebsd-10.0-release/tools/regression/lib/libc/net/ |
H A D | test-ether.c | 61 char hostname[256]; local 64 if (ether_line(ether_line_string, &e, hostname) != 0) 68 if (strcmp(hostname, ether_line_hostname) != 0) { 69 printf("hostname: %s\n", hostname); 70 NOTOK("bad hostname"); 81 char hostname[256]; local 84 if (ether_line(ether_line_bad_1_string, &e, hostname) == 0) 95 char hostname[256]; local 98 if (ether_line(ether_line_bad_2_string, &e, hostname) [all...] |
/freebsd-10.0-release/tools/tools/tinybsd/conf/firewall/etc/ |
H A D | rc.conf | 2 hostname="tinybsd.freebsd.org"
|
/freebsd-10.0-release/tools/tools/tinybsd/conf/wireless/etc/ |
H A D | rc.conf | 2 hostname="tinybsd.freebsd.org"
|
/freebsd-10.0-release/usr.sbin/bootparamd/bootparamd/ |
H A D | bootparamd.c | 38 static char hostname[MAX_MACHINE_NAME]; variable 77 if (checkhost(askname, hostname, sizeof hostname) ) { 78 res.client_name = hostname; 138 strncpy(hostname, buffer, where - buffer); 139 hostname[where - buffer] = '\0'; 142 he = gethostbyname(hostname); 145 res.server_name = hostname; 209 while ( fscanf(bpf, "%255s", hostname) > 0 && !match ) { 210 if ( *hostname ! [all...] |
/freebsd-10.0-release/contrib/sendmail/cf/sh/ |
H A D | makeinfo.sh | 35 if [ -f $p/hostname ] 53 host=`hostname`
|
/freebsd-10.0-release/usr.bin/talk/ |
H A D | get_names.c | 63 char hostname[MAXHOSTNAMELEN]; local 80 gethostname(hostname, sizeof (hostname)); 81 my_machine_name = hostname;
|
/freebsd-10.0-release/usr.sbin/bsdconfig/networking/ |
H A D | Makefile | 11 SCRIPTS= defaultrouter devices hostname nameservers networking
|
/freebsd-10.0-release/usr.sbin/bsdinstall/scripts/ |
H A D | Makefile | 3 SCRIPTS= auto adduser checksum config docsinstall entropy hostname jail \
|
/freebsd-10.0-release/contrib/amd/wire-test/ |
H A D | wire-test.c | 51 char hostname[MAXHOSTNAMELEN + 1]; variable 66 if (gethostname(hostname, sizeof(hostname)) < 0) { 70 hostname[sizeof(hostname) - 1] = '\0'; 95 fprintf(stderr, "NFS vers/proto failed: no such hostname \"%s\"\n", testhost);
|
/freebsd-10.0-release/contrib/apr-util/ldap/ |
H A D | apr_ldap_init.c | 149 const char *hostname, 166 *ldap = ldapssl_init(hostname, portno, secure == APR_LDAP_SSL); 168 *ldap = ldapssl_init(hostname, portno, 0); 171 *ldap = ldap_sslinit((char *)hostname, portno, 0); 173 *ldap = ldap_init((char *)hostname, portno); 147 apr_ldap_init(apr_pool_t *pool, LDAP **ldap, const char *hostname, int portno, int secure, apr_ldap_err_t **result_err) argument
|
/freebsd-10.0-release/contrib/tcp_wrappers/ |
H A D | eval.c | 8 * results are really needed. Examples are hostname lookups and double 10 * given the value "unknown" ("paranoid" in case of hostname problems). 12 * When ALWAYS_HOSTNAME is off, hostname lookup is done only when required by 76 if (host->request->hostname != 0) 77 host->request->hostname(host); 87 char *hostname; local 93 hostname = eval_hostname(host); 94 if (HOSTNAME_KNOWN(hostname)) {
|
/freebsd-10.0-release/libexec/talkd/ |
H A D | talkd.c | 78 char hostname[MAXHOSTNAMELEN]; variable 98 if (gethostname(hostname, sizeof(hostname) - 1) < 0) { 102 hostname[sizeof(hostname) - 1] = '\0';
|
H A D | extern.h | 29 extern char hostname[];
|
/freebsd-10.0-release/usr.sbin/rpc.statd/ |
H A D | file.c | 77 HostInfo *find_host(char *hostname, int create) argument 85 if (getaddrinfo(hostname, NULL, NULL, &ai1) != 0) 89 if (!strncasecmp(hostname, hp->hostname, SM_MAXSTRLEN)) 94 if (hp->hostname[0] && 95 getaddrinfo(hp->hostname, NULL, NULL, &ai2) != 0) 153 strncpy(spare_slot->hostname, hostname, SM_MAXSTRLEN); 249 static int notify_one_host(char *hostname) argument 262 if (debug) syslog (LOG_DEBUG, "Sending SM_NOTIFY to host %s from %s", hostname, our_hostnam [all...] |
/freebsd-10.0-release/crypto/openssh/ |
H A D | sshlogin.c | 78 strlcpy(buf, li.hostname, bufsize); 90 char *time_string, hostname[MAXHOSTNAMELEN] = "", buf[512]; local 103 last_login_time = get_last_login_time(uid, user, hostname, 104 sizeof(hostname)); 109 if (strcmp(hostname, "") == 0) 114 time_string, hostname);
|
/freebsd-10.0-release/contrib/gdb/gdb/ |
H A D | ser-tcp.c | 60 char *port_str, hostname[100]; local 80 tmp = min (port_str - name, (int) sizeof hostname - 1); 81 strncpy (hostname, name, tmp); /* Don't want colon */ 82 hostname[tmp] = '\000'; /* Tie off host name */ 85 /* default hostname is localhost */ 86 if (!hostname[0]) 87 strcpy (hostname, "localhost"); 89 hostent = gethostbyname (hostname); 92 fprintf_unfiltered (gdb_stderr, "%s: unknown host\n", hostname);
|
/freebsd-10.0-release/crypto/heimdal/appl/test/ |
H A D | test_locl.h | 87 int client_doit (const char *hostname, int port, const char *service, 88 int (*func)(int, const char *hostname, const char *service));
|
/freebsd-10.0-release/lib/libc/net/ |
H A D | ether_addr.c | 65 * Parse a string of text containing an ethernet address and hostname and 69 ether_line(const char *l, struct ether_addr *e, char *hostname) argument 74 &o[4], &o[5], hostname); 135 * Map an ethernet address to a hostname. Use either /etc/ethers or NIS/YP. 138 ether_ntohost(char *hostname, const struct ether_addr *e) argument 174 strcpy(hostname, local_host); 185 * Map a hostname to an ethernet address using /etc/ethers or NIS/YP. 188 ether_hostton(const char *hostname, struct ether_addr *e) argument 209 if (yp_match(yp_domain, "ethers.byname", hostname, 210 strlen(hostname), [all...] |
/freebsd-10.0-release/lib/libc/rpc/ |
H A D | netname.c | 133 char hostname[MAXHOSTNAMELEN+1]; local 142 (void) gethostname(hostname, sizeof(hostname)); 143 host = hostname;
|