/opensolaris-onvv-gate/usr/src/lib/libresolv2/include/arpa/ |
H A D | port_inet.h | 27 struct in_addr inet_makeaddr(ulong_t net, ulong_t host);
|
/opensolaris-onvv-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | uri.h | 40 * scheme://[[user[:password]@]host[:port]]/path[[#fragment]|[?query]] 47 char *host; member in struct:__anon4684
|
/opensolaris-onvv-gate/usr/src/cmd/fs.d/nfs/dfshares/ |
H A D | dfshares.c | 98 pr_exports(host) 99 char *host; 115 cl = clnt_create(host, MOUNTPROG, MOUNTVERS, "circuit_n"); 118 cl = clnt_create(host, MOUNTPROG, MOUNTVERS, 122 clnt_pcreateerror(host); 153 host, ex->ex_dir, host, " -", " -"); 184 (void) fprintf(stderr, "Usage: dfshares [-h] [host ...]\n");
|
/opensolaris-onvv-gate/usr/src/cmd/sendmail/src/ |
H A D | domain.c | 86 ** GETFALLBACKMXRR -- get MX resource records for fallback MX host. 95 ** host -- the name of the fallback MX host. 109 getfallbackmxrr(host) 110 char *host; 118 if (host == NULL || *host == '\0') 123 if (host[0] == '[') 125 fbhosts[0] = host; 135 NumFallbackMXHosts = getmxrr(host, fbhost [all...] |
H A D | sm_resolve.c | 176 char host[MAXHOSTNAMELEN]; local 190 status = dn_expand(data, data + len, p, host, sizeof(host)); 196 r->dns_r_q.dns_q_domain = sm_strdup(host); 214 status = dn_expand(data, data + len, p, host, sizeof(host)); 247 (*rr)->rr_domain = sm_strdup(host); 262 status = dn_expand(data, data + len, p, host, 263 sizeof(host)); 269 (*rr)->rr_u.rr_txt = sm_strdup(host); [all...] |
/opensolaris-onvv-gate/usr/src/cmd/ypcmd/ |
H A D | ypset.c | 41 * ypset [-h <host>] [-d <domainname>] server_to_use 43 * where host and server_to_use may be either names or internet addresses. 65 static char *host = NULL; variable 74 ypset [ -h host ] [ -d domainname ] server_to_use\n\n"; 85 "Sorry, I can't set up a connection to host %s.\n"; 87 "Sorry, I couldn't send my rpc message to ypbind on host %s.\n"; 89 "ypset: Sorry, ypbind on host %s has rejected your request.\n"; 162 host = *argv; 164 if ((int)strlen(host) > 256) { 239 * This takes the name of the YP host o [all...] |
/opensolaris-onvv-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http-addr.c | 28 * httpAddrLoad() - Load a host entry address into an HTTP address. 90 * 'httpAddrLoad()' - Load a host entry address into an HTTP address. 94 httpAddrLoad(const struct hostent *host, /* I - Host entry */ argument 96 int n, /* I - Index into host entry */ 100 if (host->h_addrtype == AF_INET6) 108 memcpy((char *)&(addr->ipv6.sin6_addr), host->h_addr_list[n], 109 host->h_length); 115 if (host->h_addrtype == AF_LOCAL) 118 strlcpy(addr->un.sun_path, host->h_addr_list[n], sizeof(addr->un.sun_path)); 122 if (host 180 struct hostent *host; /* Host from name service */ local [all...] |
/opensolaris-onvv-gate/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 108 struct hostent *host; local 113 host = (struct hostent *)argp->buf.result; 117 host->h_addrtype = af_type; 118 host->h_length = (af_type == AF_INET) ? sizeof (struct in_addr) 123 host->h_name = buffer; 124 if (host->h_name + len >= limit) 126 (void) memcpy(host->h_name, he->h_name, len); 132 host->h_addr_list = (char **) 134 ret = dns_netdb_aliases(he->h_addr_list, host->h_addr_list, 139 host 380 char host[MAXHOSTNAMELEN]; /* result host name */ local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/sendmail/aux/ |
H A D | mconnect.c | 30 * Usage: mconnect [host] 79 char *host = NULL; local 104 case 'h': /* host */ 116 } else if (host == NULL) 117 host = p; 119 if (host == NULL) 120 host = "localhost"; 123 hp = getipnodebyname(host, AF_INET6, AI_DEFAULT|AI_ALL, &err); 126 (void) fprintf(stderr, "mconnect: unknown host %s\r\n", host); [all...] |
/opensolaris-onvv-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | ServiceURL.java | 94 private String host = ""; field in class:ServiceURL 172 return host; 214 host + (port != NO_PORT ? (":" + port) : "") + 223 host.hashCode() + 244 host.equals(surl.host) && 384 // Check for separator between transport and host. 396 // Not abstract type, no alternate transport. Get host. 402 if (sAddr.equals("/")) {// no host part 408 host [all...] |
/opensolaris-onvv-gate/usr/src/lib/libwrap/ |
H A D | tli.c | 10 * the transport address of a client host, and the transport address of a 12 * address to a printable host name or address. Socket address results are 15 * The result from the hostname lookup method is STRING_PARANOID when a host 16 * pretends to have someone elses name, or when a host name is available but 234 static void tli_hostaddr(host) 235 struct host_info *host; 237 struct request_info *request = host->request; 239 struct t_unitdata *unit = host->unit; 244 STRN_CPY(host->addr, uaddr, sizeof(host [all...] |
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | arp.c | 225 char *host = argv[0], *eaddr = argv[1]; local 232 sin->sin_addr.s_addr = inet_addr(host); 234 hp = gethostbyname(host); 236 (void) fprintf(stderr, "arp: %s: unknown host\n", 237 host); 287 perror(host); 298 get(char *host) argument 310 sin->sin_addr.s_addr = inet_addr(host); 312 hp = gethostbyname(host); 314 (void) fprintf(stderr, "arp: %s: unknown host\ 366 delete(char *host) argument [all...] |
H A D | gettable.c | 69 char *host; local 85 fprintf(stderr, "usage: gettable [-v] host [ file ]\n"); 93 host = *argv; 95 sintmp.sin_addr.s_addr = inet_addr(host); 99 hp = gethostbyname(host); 101 fprintf(stderr, "gettable: %s: host unknown\n", host); 105 host = hp->h_name; 129 fprintf(stderr, "Connection to %s opened.\n", host); 187 fprintf(stderr, "Connection to %s closed\n", host); [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_alg_rr.c | 88 rr_server_del(ilb_server_t *host, void *alg_data) argument 97 if (tmp_server->server == host) { 111 ILB_SERVER_REFRELE(host); 116 rr_server_add(ilb_server_t *host, void *alg_data) argument 124 new_server->server = host; 125 new_server->enabled = host->iser_enabled; 131 ILB_SERVER_REFHOLD(host); 136 rr_server_toggle(list_t *servers, ilb_server_t *host, boolean_t value) argument 145 if (tmp_server->server == host) { 157 rr_server_enable(ilb_server_t *host, voi argument 171 rr_server_disable(ilb_server_t *host, void *alg_data) argument [all...] |
/opensolaris-onvv-gate/usr/src/lib/librdc/common/ |
H A D | netaddrs.c | 187 * host. 255 struct hostent *host; local 260 host = getipnodebyname(fromhost, AF_INET6, AI_DEFAULT, &errnum); 261 if (host == NULL) { 264 "Could not find host %s"), fromhost); 268 for (j = 0; j < host->h_length; j++) 269 fromnetaddr[j] = host->h_addr[j]; 270 freehostent(host); 272 host = gethostbyname(fromhost); 273 if (host [all...] |
/opensolaris-onvv-gate/usr/src/cmd/rexd/ |
H A D | where.c | 28 * where.c - get full pathname including host: 61 * where(pn, host, fsname, within) 64 * host gets the name of the host owning the file system, 65 * fsname gets the file system name on the host, 71 where(pn, host, fsname, within) 73 char *host; 121 return (findmount(qualpn, host, fsname, within)); 125 * findmount(qualpn, host, fsname, within) 129 * host get [all...] |
/opensolaris-onvv-gate/usr/src/cmd/sendmail/lib/ |
H A D | Makefile | 31 SRCS= aliases helpfile local-host-names trusted-users 37 $(ROOTETCMAIL)/local-host-names \
|
/opensolaris-onvv-gate/usr/src/cmd/ssh/ssh/ |
H A D | sshconnect.c | 5 * Code to connect to a remote host, and to perform the client side of the 63 ssh_proxy_connect(const char *host, u_short port, const char *proxy_command) argument 99 buffer_append(&command, host, strlen(host)); 300 * Opens a TCP/IP connection to the remote server on the given host. 301 * The address of the remote host will be returned in hostaddr. 307 * and %p substituted for host and port, respectively) to use to contact 317 ssh_connect(const char *host, struct sockaddr_storage * hostaddr, argument 346 return ssh_proxy_connect(host, port, proxy_command); 354 if ((gaierr = getaddrinfo(host, strpor 577 check_host_key(char *host, struct sockaddr *hostaddr, Key *host_key, int validated, int readonly, const char *user_hostfile, const char *system_hostfile) argument 930 verify_host_key(char *host, struct sockaddr *hostaddr, Key *host_key) argument 946 accept_host_key(char *host, struct sockaddr *hostaddr, Key *host_key) argument 971 char *host, *cp; local 1040 show_key_from_file(const char *file, const char *host, int keytype) argument 1063 show_other_keys(const char *host, Key *key) argument [all...] |
/opensolaris-onvv-gate/usr/src/cmd/wusbadm/ |
H A D | crypto_util.h | 54 char type[WUSB_TYPE_LEN]; /* device/host path */ 55 uint8_t host; /* Host id */ member in struct:wusb_cc_info 69 uint8_t stat; /* host or device state */ 74 uint8_t host; /* host id */ member in struct:wusb_device_info
|
H A D | wusbd.h | 36 #define WUSB_HWA_HOST_NODE "hwa-host" 55 WUSBADM_NO_HOST, /* host id does not exist */ 59 WUSBADM_INVAL_HOSTID, /* host-id not exist */ 67 #define WUSB_AUTH_HOST "solaris.admin.wusb.host" 87 uint8_t host; /* host id */ member in struct:wusb_asso_ctrl 93 /* host/dev contrl data */ 95 uint8_t host; /* host id */ member in struct:wusb_dev_ctrl
|
/opensolaris-onvv-gate/usr/src/lib/libsocket/inet/ |
H A D | ether_addr.c | 75 * Given a host's name, this routine finds the corresponding 48 bit 81 const char *host, /* function input */ 92 arg.key.name = host; 106 char *host, /* function output */ 116 NSS_XbyY_INIT(&arg, NULL, host, 0, str2ether); 120 /* memcpy(host, ether_res.host, strlen(ether_res.host)); */ 167 * then do a match for the host key) and happens for "nis" 187 char *host local 80 ether_hostton( const char *host, struct ether_addr *e ) argument 105 ether_ntohost( char *host, const struct ether_addr *e ) argument [all...] |
/opensolaris-onvv-gate/usr/src/cmd/avs/dscfglockd/ |
H A D | dscfgcli.c | 89 char host[1024]; local 93 (void) gethostname(host, sizeof (host)); 96 (void) printf(":%s: ", host);
|
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | whois.c | 58 char *host = NICHOST; local 65 host = *argv++; 69 (void) fprintf(stderr, "usage: whois [ -h host ] name\n"); 77 rv = getaddrinfo(host, "whois", &hints, &ai_head); 79 (void) fprintf(stderr, "whois: %s: %s\n", host,
|
/opensolaris-onvv-gate/usr/src/cmd/idmap/idmapd/ |
H A D | init.c | 130 pgcfg->global_catalog[0].host[0] == '\0') { 158 for (i = 0; pgcfg->global_catalog[i].host[0] != '\0'; i++) { 160 pgcfg->global_catalog[i].host, 193 for (j = 0; trustfor[i].global_catalog[j].host[0] != '\0'; 196 trustfor[i].global_catalog[j].host, 259 pgcfg->domain_controller[0].host[0] == '\0') { 280 for (i = 0; pgcfg->domain_controller[i].host[0] != '\0'; i++) { 282 pgcfg->domain_controller[i].host, 358 pgcfg->domain_controller[0].host[0] == '\0') { 361 for (i = 0; pgcfg->domain_controller[i].host[ [all...] |
/opensolaris-onvv-gate/usr/src/cmd/sendmail/cf/sh/ |
H A D | check-hostname.sh | 47 for host in `getent hosts $1 | awk '{for (f=2; f <= NF; f++) print $f}'` 49 accept_if_fully_qualified $host 70 for host in `nslookup $1 2>/dev/null | \ 73 accept_if_fully_qualified $host
|