Searched defs:host (Results 1 - 23 of 23) sorted by relevance

/bind-9.6-ESV-R11/lib/dns/rdata/generic/
H A Drt_21.h30 dns_name_t host; member in struct:dns_rdata_rt
/bind-9.6-ESV-R11/contrib/query-loc-0.4.0/
H A Dquery-loc.c18 char *host; local
57 host = argv[0];
60 if ((addr.s_addr = inet_addr (host)) == INADDR_NONE)
63 printf ("%s is a name\n", host);
64 loc = getlocbyname (host, FALSE);
69 printf ("%s is an IP address ", host);
88 printf ("No LOCation found for %s\n", host);
94 printf ("LOCation for %s is ", host);
/bind-9.6-ESV-R11/bin/tests/
H A Dsock_test.c75 char host[256]; local
86 host, sizeof(host));
87 printf("\tFrom: %s port %d\n", host,
91 host, sizeof(host));
92 printf("\tFrom: %s port %d\n", host,
/bind-9.6-ESV-R11/lib/lwres/
H A Dgetnameinfo.c63 * 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);
/bind-9.6-ESV-R11/bin/tests/system/lwresd/
H A Dlwtest.c551 char host[1025]; local
576 ret = getnameinfo(sa, salen, host, sizeof(host), NULL, 0, NI_NAMEREQD);
595 "expected NULL\n", address, host);
598 } else if (strcmp(host, name) != 0) {
600 address, host, name);
/bind-9.6-ESV-R11/contrib/dlz/drivers/
H A Ddlz_bdb_driver.c99 DB *host; /*%< host database handle */ member in struct:bdb_instance
107 char *host; member in struct:parsed_data
136 * zone(a space)host(a space)ttl(a space)type(a space)remaining data
157 /* save pointer to host */
158 pd->host = tmp;
336 result = dns_sdlz_putnamedrr(allnodes, pd.host, pd.type,
374 if (db->host != NULL)
375 db->host->close(db->host,
[all...]
H A Ddlz_mysql_driver.c786 char *host = NULL; local
924 host = getParameterValue(argv[1], "host=");
941 dbc = mysql_real_connect((MYSQL *) dbi->dbconn, host,
970 if (host != NULL)
971 isc_mem_free(ns_g_mctx, host);
H A Ddlz_bdbhpt_driver.c105 char *host; member in struct:bdbhpt_parsed_data
165 * 9191 host 10 A 127.0.0.1
166 * server1_212 host 10 A 127.0.0.2
167 * {xxxx-xxxx-xxxx-xxxx-xxxx} host 10 MX 20 mail.example.com
184 /* save pointer to host */
185 pd->host = tmp;
187 /* find space after host and change it to a '\0' */
319 * all the different hosts in a zone. Then use the zone & host
377 /* +1 to allow for space between zone and host names */
414 result = dns_sdlz_putnamedrr(allnodes, pd.host,
[all...]
H A Ddlz_filesystem_driver.c224 * Checks to make sure zone and host are safe. If safe, then
225 * hashes zone and host strings to build a path. If zone / host
230 create_path(const char *zone, const char *host, const char *client, argument
246 * client and host may both be NULL, but they can't both be
249 REQUIRE( (host == NULL && client == NULL) ||
250 (host != NULL && client == NULL) ||
251 (host == NULL && client != NULL) );
261 /* if host was passed, verify that it is safe */
262 if (host !
380 char host[ISC_DIR_NAMEMAX]; local
[all...]
H A Ddlz_ldap_driver.c166 "%s query must not specify a host", msg);
338 char *host = NULL; local
443 host = isc_mem_strdup(ns_g_mctx,
489 if (allnodes && host != NULL) {
490 if (strcasecmp(host, "~") == 0)
497 host, type, ttl, data);
504 host, type, ttl, data,
527 /* free memory for type, data and host for next loop */
530 if (host != NULL)
531 isc_mem_free(ns_g_mctx, host);
[all...]
H A Ddlz_odbc_driver.c1071 char *host; local
1118 data = host = type = ttl_s = NULL;
1121 * attempt to get DNS ttl, type, host, data then tell
1129 &host)) == ISC_R_SUCCESS &&
1144 result = dns_sdlz_putnamedrr(allnodes, host,
1154 if (host != NULL)
1155 isc_mem_free(ns_g_mctx, host);
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dstub.c374 char *host, GNI_HOSTLEN_T hostlen,
377 char *host, GNI_HOSTLEN_T hostlen,
384 return ((*fp)(sa, salen, host, hostlen, serv, servlen, flags));
373 idn_stub_getnameinfo(const struct sockaddr *sa, GNI_SALEN_T salen, char *host, GNI_HOSTLEN_T hostlen, char *serv, GNI_SERVLEN_T servlen, GNI_FLAGS_T flags) argument
H A Dresolver.c1018 char *host, GNI_HOSTLEN_T hostlen, char *serv,
1026 if (host == NULL || hostlen == 0 || idn_isprocessing) {
1027 return (REAL(getnameinfo)(sa, salen, host, hostlen,
1039 r = idn_decodename(IDN_DECODE_APP, name, host, hostlen);
1017 getnameinfo(const struct sockaddr *sa, GNI_SALEN_T salen, char *host, GNI_HOSTLEN_T hostlen, char *serv, GNI_SERVLEN_T servlen, GNI_FLAGS_T flags) argument
/bind-9.6-ESV-R11/contrib/sdb/pgsql/
H A Dpgsqldb.c57 char *host; member in struct:dbinfo
87 dbi->conn = PQsetdbLogin(dbi->host, NULL, NULL, NULL, dbi->database,
233 * argv[2] (if present) is the name of the host to connect to
256 dbi->host = NULL;
272 STRDUP_OR_FAIL(dbi->host, argv[2]);
306 if (dbi->host != NULL)
307 isc_mem_free(ns_g_mctx, dbi->host);
/bind-9.6-ESV-R11/bin/tests/dst/
H A Dgsstest.c205 static char host[256]; local
210 scanf("%s", host);
213 isc_buffer_init(&buf, host, strlen(host));
214 isc_buffer_add(&buf, strlen(host));
/bind-9.6-ESV-R11/bin/rndc/
H A Drndc.c155 get_addresses(const char *host, in_port_t port) { argument
159 if (*host == '/') {
161 host);
166 result = bind9_getaddresses(host, port,
173 host, isc_result_totext(result));
206 fatal("connection to remote host closed\n"
210 "* this host is not authorized to connect,\n"
269 fatal("connection to remote host closed\n"
273 "* this host is not authorized to connect,\n"
/bind-9.6-ESV-R11/contrib/dlz/bin/dlzbdb/
H A Ddlzbdb.c164 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...]
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/wsock20/
H A Ddllfunc.c554 char *host, DWORD hostlen, char *serv,
567 if (host == NULL || hostlen == 0 || encodeCtx == NULL) {
569 code = _org_getnameinfo(sa, salen, host, hostlen,
575 stat = idnConvRsp(encodeCtx, name, host, hostlen);
581 strcpy(host, name);
585 dumpName(host, name, sizeof(name)));
553 getnameinfo(const struct sockaddr *sa, DWORD salen, char *host, DWORD hostlen, char *serv, DWORD servlen, int flags) argument
/bind-9.6-ESV-R11/contrib/zkt/
H A Dmisc.c251 ** parseurl (url, &proto, &host, &port, &para )
252 ** parses the given url (e.g. "proto://host.with.domain:port/para")
255 void parseurl (char *url, char **proto, char **host, char **port, char **para) argument
276 /* parse host */
287 if ( host )
288 *host = start;
1042 char *host; local
1049 proto = host = port = para = NULL;
1059 parseurl (url, &proto, &host, &port, &para);
1063 if ( host )
[all...]
/bind-9.6-ESV-R11/bin/nsupdate/
H A Dnsupdate.c842 get_address(char *host, in_port_t port, isc_sockaddr_t *sockaddr) { argument
847 result = bind9_getaddresses(host, port, sockaddr, 1, &count);
851 host, isc_result_totext(result));
/bind-9.6-ESV-R11/contrib/nslint-2.1a3/
H A Dnslint.c69 char *host; /* pointer to hostname */ member in struct:item
373 (void)sprintf(errstr, "host bits set in net \"%s\"",
1485 /* Check to see if mx host exists */
1529 /* Check to see if mx host exists */
1655 prog, dp->name, ip->host);
1664 updateitem(register const char *host, register u_int32_t addr, argument
1676 ITEMHASH(host, i, ccp);
1678 while (n < ITEMSIZE && ip->host) {
1680 *host == *ip->host
1743 rfc1034host(register const char *host, register int recs) argument
[all...]
/bind-9.6-ESV-R11/lib/dns/
H A Ddispatch.c143 isc_sockaddr_t host; member in struct:dns_dispentry
178 isc_sockaddr_t host; member in struct:dispsocket
405 isc_sockaddr_format(&resp->host, peerbuf, sizeof(peerbuf));
791 isc_sockaddr_equal(dest, &dispsock->host))
896 dispsock->host = *dest;
1014 if (res->id == id && isc_sockaddr_equal(dest, &res->host) &&
1291 &resp->host)) {
3089 res->host = *dest;
/bind-9.6-ESV-R11/bin/dig/
H A Ddighost.c1267 * part of dig.c, host.c, or nslookup.c) to either shutdown the system as
3464 get_address(char *host, in_port_t port, isc_sockaddr_t *sockaddr) { argument
3469 result = bind9_getaddresses(host, port, sockaddr, 1, &count);
3480 getaddresses(dig_lookup_t *lookup, const char *host, isc_result_t *resultp) { argument
3488 result = bind9_getaddresses(host, 0, sockaddrs,
3495 host, isc_result_totext(result));
3502 srv = make_server(tmp, host);

Completed in 106 milliseconds