/macosx-10.10.1/xnu-2782.1.97/tools/tests/libMicro/apple/ |
H A D | lmbench_select_tcp.c | 90 int tcp_connect(char *host, int prog, int rdwr); 321 * Connect to the TCP socket advertised as "prog" on "host" and 329 tcp_connect(char *host, int prog, int rdwr) argument 374 if (!h || host != save_host || prog != save_prog) { 375 save_host = host; /* XXX - counting on them not 379 if (!(h = gethostbyname(host))) { 380 perror(host); 407 return (tcp_connect(host, prog, rdwr));
|
/macosx-10.10.1/ruby-106/ruby/lib/ |
H A D | resolv.rb | 559 def make_tcp_requester(host, port) # :nodoc: 560 return Requester::TCP.new(host, port) 621 def self.allocate_request_id(host, port) # :nodoc: 624 h = (RequestID[[host, port]] ||= {}) 633 def self.free_request_id(host, port, id) # :nodoc: 635 key = [host, port] 720 nameserver_port.each {|host, port| 721 if host.index(':') 747 def sender(msg, data, host, port=Port) 748 sock = @socks_hash[host [all...] |
/macosx-10.10.1/OpenSSH-189/openssh/ |
H A D | ssh.c | 155 /* forward stdio to remote host and port */ 169 * Name of the host we are connecting to. This is the name given on the 173 char *host; variable 175 /* socket address the host resolves to */ 178 /* Private host keys. */ 207 " [-L [bind_address:]port:host:hostport]\n" 209 " [-R [bind_address:]port:host:hostport] [-S ctl_path]\n" 210 " [-W host:port] [-w local_tun[:remote_tun]]\n" 328 host = NULL; 586 if (process_config_line(&options, host [all...] |
/macosx-10.10.1/bind9-45.101/bind9/contrib/dlz/bin/dlzbdb/ |
H A D | dlzbdb.c | 164 DB *host; /* host database handle */ member in struct:bdb_instance 233 char *host = NULL; /*%< host to use in list operations */ variable 257 dlzbdb -l [-k key] [-z zone] [-h host] [-c client_zone] [-i client_ip]\n\ 277 db_type zone host dns_type ttl ip\n\ 278 db_type zone host dns_type ttl mx_priority mail_host\n\ 279 db_type zone host dns_type ttl nm_svr resp_psn serial refresh retry expire min\ 342 * BDB callback to create host secondary index 378 /* get "host" fro [all...] |
/macosx-10.10.1/Heimdal-398.1.2/appl/push/ |
H A D | push.c | 205 const char *host, 245 fprintf (stderr, "%s@%s\n", user, host); 264 fprintf (stderr, "%s@%s -> %s\n", user, host, outfilename); 515 do_v5 (const char *host, argument 529 s = do_connect (host, port, 1); 534 host, 563 return doit (s, host, user, filename, header_str, leavep, verbose, forkp); 638 parse_pobox (char *a0, const char **host, const char **user) argument 654 *host = get_pobox (user); 691 *host 204 doit(int s, const char *host, const char *user, const char *outfilename, const char *header_str, int leavep, int verbose, int forkp) argument 701 const char *host, *user, *filename = NULL; local [all...] |
/macosx-10.10.1/ppp-786.1.1/Drivers/PPTP/PPTP-extension/ |
H A D | pptp_rfc.c | 86 void *host; /* pointer back to the hosting structure */ member in struct:pptp_rfc 175 u_int16_t pptp_rfc_new_client(void *host, void **data, argument 191 rfc->host = host; 231 rfc->host = 0; 294 (*rfc->eventcb)(rfc->host, PPTP_EVT_INPUTERROR, 0); 305 (*rfc->inputcb)(rfc->host, elem->packet); 351 (*rfc->eventcb)(rfc->host, PPTP_EVT_XMIT_OK, 0); 389 struct socket *so = (struct socket *)rfc->host; 431 (*rfc->eventcb)(rfc->host, PPTP_EVT_XMIT_FUL [all...] |
/macosx-10.10.1/ruby-106/ruby/test/webrick/ |
H A D | test_httprequest.rb | 25 assert_equal(WEBrick::Config::HTTP[:ServerName], req.host) 42 assert_equal(WEBrick::Config::HTTP[:ServerName], req.host) 61 assert_equal(WEBrick::Config::HTTP[:ServerName], req.host) 99 assert_equal("test.ruby-lang.org", req.host) 145 assert_equal("test.ruby-lang.org", req.host) 156 assert_equal("192.168.1.1", req.host) 168 assert_equal("[fe80::208:dff:feef:98c7]", req.host) 179 assert_equal("192.168.1.1", req.host) 191 assert_equal("[fe80::208:dff:feef:98c7]", req.host) 269 assert_equal("forward.example.com", req.host) [all...] |
/macosx-10.10.1/OpenSSL098-52/src/apps/ |
H A D | s_socket.c | 108 static int do_accept(int acc_sock, int *sock, char **host); 237 int init_client(int *sock, char *host, int port, int type) argument 242 if (!host_ip(host,&(ip[0]))) 386 static int do_accept(int acc_sock, int *sock, char **host) argument 436 if (host == NULL) goto end; 448 *host=NULL; 453 if ((*host=(char *)OPENSSL_malloc(strlen(h1->h_name)+1)) == NULL) 458 BUF_strlcpy(*host,h1->h_name,strlen(h1->h_name)+1); 460 h2=GetHostByName(*host);
|
/macosx-10.10.1/cups-408/cups/cups/ |
H A D | http-addr.c | 286 int /* O - 1 if local host, 0 otherwise */ 404 struct hostent *host; /* Host from name service */ local 409 host = gethostbyaddr((char *)&(addr->ipv6.sin6_addr), 413 host = gethostbyaddr((char *)&(addr->ipv4.sin_addr), 416 if (host == NULL) 428 strlcpy(name, host->h_name, (size_t)namelen); 734 * We have an IPv4 address; break it up and provide the host entry 749 * Fill in the host entry and return it... 833 /* Local host name */ 834 char localStr[1024]; /* Local host nam [all...] |
/macosx-10.10.1/cups-408/cups/notifier/ |
H A D | rss.c | 79 host[1024], /* Hostname for remote RSS */ local 118 username, sizeof(username), host, sizeof(host), &port, 142 if (host[0]) 165 if ((http = httpConnect(host, port)) == NULL) 168 host, port, strerror(errno)); 183 resource, host, port, status, httpStatus(status)); 194 NULL, host, port, resource); 257 resource, host, port, status, httpStatus(status));
|
/macosx-10.10.1/ruby-106/ruby/ext/socket/ |
H A D | raddrinfo.c | 77 char *host, size_t hostlen, 88 strncpy(host, "::", hostlen); 93 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags); 96 #define getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) \ 97 ruby_getnameinfo__aix((sa), (salen), (host), (hostlen), (serv), (servlen), (flags)) 199 char *host; member in struct:getnameinfo_arg 211 ptr->host, (socklen_t)ptr->hostlen, 219 char *host, size_t hostlen, 223 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags); 229 arg.host 76 ruby_getnameinfo__aix(const struct sockaddr *sa, size_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument 218 rb_getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument 260 make_inetaddr(unsigned int host, char *buf, size_t len) argument 287 host_str(VALUE host, char *hbuf, size_t len, int *flags_ptr) argument 351 rsock_getaddrinfo(VALUE host, VALUE port, struct addrinfo *hints, int socktype_hack) argument 379 rsock_addrinfo(VALUE host, VALUE port, int socktype, int flags) argument 476 VALUE host; member in struct:hostent_arg 484 VALUE host = arg->host; local 532 rsock_make_hostent(VALUE host, struct addrinfo *addr, VALUE (*ipaddr)(struct sockaddr *, size_t)) argument 2058 addrinfo_s_ip(VALUE self, VALUE host) argument 2079 addrinfo_s_tcp(VALUE self, VALUE host, VALUE port) argument 2094 addrinfo_s_udp(VALUE self, VALUE host, VALUE port) argument [all...] |
H A D | getnameinfo.c | 136 getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, int flags) argument 213 if (host == NULL || hostlen == 0) { 221 strcpy(host, numaddr); 241 strcpy(host, hp->h_name); 253 strcpy(host, numaddr);
|
H A D | socket.c | 220 * * Errno::ECONNRESET - the remote host reset the connection request 222 * * Errno::EHOSTUNREACH - the destination host cannot be reached (probably 223 * because the host is down or a remote router cannot reach it) 281 * * Errno::ENETUNREACH - the network cannot be reached from this host at this time 936 rb_raise(rb_eSocket, "host not found"); 979 * Obtains the host information for _hostname_. 985 sock_s_gethostbyname(VALUE obj, VALUE host) argument 988 return rsock_make_hostent(host, rsock_addrinfo(host, Qnil, SOCK_STREAM, AI_CANONNAME), sock_sockaddr); 995 * Obtains the host informatio 1161 VALUE host, port, family, socktype, protocol, flags, ret, revlookup; local 1214 VALUE sa, af = Qnil, host = Qnil, port = Qnil, flags, tmp; local 1354 sock_s_pack_sockaddr_in(VALUE self, VALUE port, VALUE host) argument 1383 VALUE host; local [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/sdx/sdx/lib/autoproxy/ |
H A D | autoproxy.tcl | 62 -host - 100 -host - 192 configure -proxy_host $proxy(host) \ 232 foreach {prot host} [split $proxy =] break 234 return $host 350 proc ::autoproxy::filter {host} { 358 if {[string match $domain $host]} { 382 # host and then upgrades the link to SSL/TLS 457 foreach {host port} $state(endpoint) break 458 puts $state(sock) "CONNECT $host [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/http/ |
H A D | autoproxy.tcl | 62 -host - 100 -host - 192 configure -proxy_host $proxy(host) \ 232 foreach {prot host} [split $proxy =] break 234 return $host 350 proc ::autoproxy::filter {host} { 358 if {[string match $domain $host]} { 382 # host and then upgrades the link to SSL/TLS 457 foreach {host port} $state(endpoint) break 458 puts $state(sock) "CONNECT $host [all...] |
/macosx-10.10.1/OpenSSH-189/openssh/openbsd-compat/ |
H A D | port-aix.c | 277 sys_auth_record_login(const char *user, const char *host, const char *ttynm, argument 284 if (loginsuccess((char *)user, (char *)host, (char *)ttynm, &msg) == 0) { 410 sshaix_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, argument 422 strlcpy(host, "::", hostlen); 427 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags);
|
/macosx-10.10.1/basic_cmds-55/write/ |
H A D | write.c | 260 char path[MAXPATHLEN], host[MAXHOSTNAMELEN], line[512]; local 278 if (gethostname(host, sizeof(host)) < 0) 279 (void)strcpy(host, "???"); 284 login, host, mytty, nows + 11);
|
/macosx-10.10.1/bind9-45.101/bind9/lib/irs/ |
H A D | getnameinfo.c | 53 * *host. The maximum length of the hostname is 1025 bytes: #NI_MAXHOST. 68 * instead of a host name. 146 getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, argument 241 if (host == NULL || hostlen == 0U) { 245 * "||" here: RFC3493 says that host == NULL or hostlen == 0 276 strcpy(host, numaddr); 390 snprintf(host, hostlen, "%.*s", 401 strcpy(host, numaddr);
|
/macosx-10.10.1/bind9-45.101/bind9/lib/lwres/ |
H A D | getnameinfo.c | 63 * hostlen and is returned via *host. The maximum length of the hostname 79 * instead of a host name. 161 lwres_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, argument 262 if (host == NULL || hostlen == 0U) { 296 strcpy(host, numaddr); 325 strcpy(host, by->realname); 335 strcpy(host, numaddr);
|
/macosx-10.10.1/ipsec-286.1.1/ipsec-tools/libipsec/ |
H A D | ipsec_dump_policy.c | 403 char host[NI_MAXHOST]; local 409 if (getnameinfo(sa, (socklen_t)sysdep_sa_len(sa), host, sizeof(host), 414 snprintf(buf, len, "%s[%s]", host, serv); 416 snprintf(buf, len, "%s", host);
|
/macosx-10.10.1/remote_cmds-47/ruptime.tproj/ |
H A D | ruptime.c | 181 ruptime(const char *host, int aflg, int (*cmp)(const void *, const void *)) argument 206 if (host != NULL) { 208 if (strcasecmp(hostname, host) != 0) 239 if (host == NULL) 242 warnx("host %s not in %s", host, _PATH_RWHODIR); 303 (void)fprintf(stderr, "usage: ruptime [-alrtu] [host ...]\n");
|
/macosx-10.10.1/rsync-45/rsync/ |
H A D | authenticate.c | 224 char *auth_server(int f_in, int f_out, int module, char *host, char *addr, argument 246 lp_name(module), host, addr); 263 lp_name(module), host, addr); 272 lp_name(module), host, addr, line); 282 lp_name(module), host, addr);
|
/macosx-10.10.1/shell_cmds-179/who/ |
H A D | utmpentry.c | 96 if ((max = strlen(e->host)) > maxhost) 293 COMPILE_ASSERT(sizeof(e->host) > sizeof(up->ut_host)); 305 (void)strncpy(e->host, up->ut_host, sizeof(up->ut_host)); 324 COMPILE_ASSERT(sizeof(e->host) > sizeof(up->ut_host)); 336 (void)strncpy(e->host, up->ut_host, sizeof(up->ut_host));
|
/macosx-10.10.1/emacs-93/emacs/lisp/erc/ |
H A D | erc-backend.el | 1141 (multiple-value-bind (nick login host) 1147 'INVITE ?n nick ?u login ?h host ?c chnl))))) 1155 (multiple-value-bind (nick login host) 1183 'JOIN ?n nick ?u login ?h host ?c chnl)))))) 1185 (erc-update-channel-member chnl nick nick t nil nil host login) 1196 (multiple-value-bind (nick login host) 1203 'KICK-you ?n nick ?u login ?h host ?c ch ?r reason) 1216 'KICK ?k tgt ?n nick ?u login ?h host ?c ch ?r reason)))))) 1223 (multiple-value-bind (nick login host) 1234 (erc-update-modes tgt mode nick host logi [all...] |
/macosx-10.10.1/ksh-23/ksh/src/cmd/INIT/ |
H A D | package.sh | 162 to the hosts. Output for \aaction\a is saved per-host in the 175 The remaining line type is a host description consisting of 6 180 [+hosttype?The host type as reported by 182 [+[user@]]host?The host name and optionally user name 191 then the host is ignored. If this field contains \b:\b 195 host. If \amaster\a is omitted (two :) then the sync is 222 [+host\b [ \aattribute\a ... ]]?List 223 architecture/implementation dependent host information on the 228 [+canon \aname\a?An external host typ [all...] |