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

12

/bind-9.11.3/lib/dns/rdata/generic/
H A Drt_21.h21 dns_name_t host; member in struct:dns_rdata_rt
/bind-9.11.3/lib/lwres/
H A Dgetnameinfo.c54 * hostlen and is returned via *host. The maximum length of the hostname
70 * instead of a host name.
152 lwres_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, argument
253 if (host == NULL || hostlen == 0U) {
287 strcpy(host, numaddr);
316 strcpy(host, by->realname);
326 strcpy(host, numaddr);
/bind-9.11.3/bin/named/
H A Dfuzz.c49 char *host; local
63 host = strdup(ns_g_fuzz_named_addr);
64 RUNTIME_CHECK(host != NULL);
65 port = strchr(host, ':');
72 RUNTIME_CHECK(inet_pton(AF_INET, host, &servaddr.sin_addr) == 1);
75 free(host);
320 char *host; local
334 host = strdup(ns_g_fuzz_named_addr);
335 RUNTIME_CHECK(host != NULL);
336 port = strchr(host, '
[all...]
/bind-9.11.3/lib/irs/
H A Dgetnameinfo.c43 * *host. The maximum length of the hostname is 1025 bytes: #NI_MAXHOST.
58 * instead of a host name.
138 char *host, IRS_GETNAMEINFO_BUFLEN_T hostlen,
233 if (host == NULL || hostlen == 0U) {
237 * "||" here: RFC3493 says that host == NULL or hostlen == 0
268 strlcpy(host, numaddr, hostlen);
388 snprintf(host, hostlen, "%.*s",
399 strlcpy(host, numaddr, hostlen);
137 getnameinfo(const struct sockaddr *sa, IRS_GETNAMEINFO_SOCKLEN_T salen, char *host, IRS_GETNAMEINFO_BUFLEN_T hostlen, char *serv, IRS_GETNAMEINFO_BUFLEN_T servlen, IRS_GETNAMEINFO_FLAGS_T flags) argument
/bind-9.11.3/contrib/dlz/drivers/
H A Ddlz_bdb_driver.c90 DB *host; /*%< host database handle */ member in struct:bdb_instance
98 char *host; member in struct:parsed_data
128 * zone(a space)host(a space)ttl(a space)type(a space)remaining data
149 /* save pointer to host */
150 pd->host = tmp;
328 result = dns_sdlz_putnamedrr(allnodes, pd.host, pd.type,
366 if (db->host != NULL)
367 db->host->close(db->host,
[all...]
H A Ddlz_mysql_driver.c783 char *host = NULL; local
921 host = getParameterValue(argv[1], "host=");
938 dbc = mysql_real_connect((MYSQL *) dbi->dbconn, host,
967 if (host != NULL)
968 isc_mem_free(ns_g_mctx, host);
H A Ddlz_bdbhpt_driver.c96 char *host; member in struct:bdbhpt_parsed_data
157 * 9191 host 10 A 127.0.0.1
158 * server1_212 host 10 A 127.0.0.2
159 * {xxxx-xxxx-xxxx-xxxx-xxxx} host 10 MX 20 mail.example.com
176 /* save pointer to host */
177 pd->host = tmp;
179 /* find space after host and change it to a '\0' */
311 * all the different hosts in a zone. Then use the zone & host
369 /* +1 to allow for space between zone and host names */
406 result = dns_sdlz_putnamedrr(allnodes, pd.host,
[all...]
H A Ddlz_filesystem_driver.c215 * Checks to make sure zone and host are safe. If safe, then
216 * hashes zone and host strings to build a path. If zone / host
221 create_path(const char *zone, const char *host, const char *client, argument
237 * client and host may both be NULL, but they can't both be
240 REQUIRE( (host == NULL && client == NULL) ||
241 (host != NULL && client == NULL) ||
242 (host == NULL && client != NULL) );
252 /* if host was passed, verify that it is safe */
253 if (host !
371 char host[ISC_DIR_NAMEMAX]; local
[all...]
H A Ddlz_ldap_driver.c159 "%s query must not specify a host", msg);
331 char *host = NULL; local
436 host = isc_mem_strdup(ns_g_mctx,
482 if (allnodes && host != NULL) {
483 if (strcasecmp(host, "~") == 0)
490 host, type, ttl, data);
497 host, type, ttl, data,
520 /* free memory for type, data and host for next loop */
523 if (host != NULL)
524 isc_mem_free(ns_g_mctx, host);
[all...]
H A Ddlz_odbc_driver.c1065 char *host; local
1112 data = host = type = ttl_s = NULL;
1115 * attempt to get DNS ttl, type, host, data then tell
1123 &host)) == ISC_R_SUCCESS &&
1138 result = dns_sdlz_putnamedrr(allnodes, host,
1148 if (host != NULL)
1149 isc_mem_free(ns_g_mctx, host);
/bind-9.11.3/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.11.3/contrib/sdb/pgsql/
H A Dpgsqldb.c48 char *host; member in struct:dbinfo
78 dbi->conn = PQsetdbLogin(dbi->host, NULL, NULL, NULL, dbi->database,
235 * argv[2] (if present) is the name of the host to connect to
258 dbi->host = NULL;
274 STRDUP_OR_FAIL(dbi->host, argv[2]);
308 if (dbi->host != NULL)
309 isc_mem_free(ns_g_mctx, dbi->host);
/bind-9.11.3/bin/tests/
H A Dsock_test.c68 char host[256]; local
79 host, sizeof(host));
80 printf("\tFrom: %s port %d\n", host,
84 host, sizeof(host));
85 printf("\tFrom: %s port %d\n", host,
/bind-9.11.3/bin/tests/system/pipelined/
H A Dpipequeries.c131 static char host[256]; local
134 c = scanf("%255s", host);
141 isc_buffer_init(&buf, host, strlen(host));
142 isc_buffer_add(&buf, strlen(host));
/bind-9.11.3/contrib/dlz/modules/bdbhpt/
H A Ddlz_bdbhpt_dynamic.c106 char *host; member in struct:bdbhpt_parsed_data
161 * 9191 host 10 A 127.0.0.1
162 * server1_212 host 10 A 127.0.0.2
163 * {xxxx-xxxx-xxxx-xxxx-xxxx} host 10 MX 20 mail.example.com
180 /* save pointer to host */
181 pd->host = tmp;
183 /* find space after host and change it to a '\0' */
316 * all the different hosts in a zone. Then use the zone & host
368 /* +1 to allow for space between zone and host names */
406 result = db->putnamedrr(allnodes, pd.host,
[all...]
/bind-9.11.3/contrib/dlz/modules/filesystem/
H A Ddlz_filesystem_dynamic.c210 * Checks to make sure zone and host are safe. If safe, then
211 * hashes zone and host strings to build a path. If zone / host
216 create_path(const char *zone, const char *host, const char *client, argument
234 /* if host was passed, verify that it is safe */
235 if (host != NULL && !is_safe(host))
243 if (host != NULL)
244 len = strlen(zone) + strlen(host);
286 * When neither client or host i
350 char host[DIR_NAMEMAX]; local
[all...]
/bind-9.11.3/contrib/dlz/modules/ldap/
H A Ddlz_ldap_dynamic.c157 "%s query must not specify a host", msg);
322 char *host = NULL; local
418 host = strdup(vals[0]);
459 if (allnodes && host != NULL) {
461 if (strcasecmp(host, "~") == 0)
465 result = db->putnamedrr(an, host, type,
471 host, type, ttl, data, result);
489 /* free memory for type, data and host for next loop */
496 if (host != NULL) {
497 free(host);
[all...]
/bind-9.11.3/contrib/dlz/modules/mysql/
H A Ddlz_mysql_dynamic.c87 char *host; member in struct:__anon50
884 mysql->host = get_parameter_value(argv[1], "host=");
1021 mysql->host, mysql->user,
1071 if (db->host != NULL)
1072 free(db->host);
/bind-9.11.3/bin/tests/dst/
H A Dgsstest.c196 static char host[256]; local
202 c = scanf("%255s", host);
207 isc_buffer_init(&buf, host, strlen(host));
208 isc_buffer_add(&buf, strlen(host));
/bind-9.11.3/bin/tests/system/lwresd/
H A Dlwtest.c544 char host[1025]; local
569 ret = getnameinfo(sa, salen, host, sizeof(host), NULL, 0, NI_NAMEREQD);
588 "expected NULL\n", address, host);
591 } else if (strcmp(host, name) != 0) {
593 address, host, name);
/bind-9.11.3/contrib/dlz/bin/dlzbdb/
H A Ddlzbdb.c155 DB *host; /* host database handle */ member in struct:bdb_instance
224 char *host = NULL; /*%< host to use in list operations */ variable
248 dlzbdb -l [-k key] [-z zone] [-h host] [-c client_zone] [-i client_ip]\n\
268 db_type zone host dns_type ttl ip\n\
269 db_type zone host dns_type ttl mx_priority mail_host\n\
270 db_type zone host dns_type ttl nm_svr resp_psn serial refresh retry expire min\
333 * BDB callback to create host secondary index
369 /* get "host" fro
[all...]
/bind-9.11.3/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.11.3/bin/rndc/
H A Drndc.c212 get_addresses(const char *host, in_port_t port) { argument
216 if (*host == '/') {
218 host);
223 result = bind9_getaddresses(host, port,
230 host, isc_result_totext(result));
263 fatal("connection to remote host closed\n"
267 "* this host is not authorized to connect,\n"
336 fatal("connection to remote host closed\n"
340 "* this host is not authorized to connect,\n"
/bind-9.11.3/contrib/dlz/modules/mysqldyn/
H A Ddlz_mysqldyn_mod.c100 "SELECT host, admin, serial, refresh, retry, expire, minimum, ttl " \
1129 char host[1024], admin[1024], data[1024]; local
1133 fqhn(row[0], zone, host);
1138 host, dot(host), admin, dot(admin),

Completed in 55 milliseconds

12