Searched refs:host (Results 1 - 25 of 56) sorted by relevance

123

/bind-9.11.3/lib/dns/rdata/generic/
H A Drt_21.h21 dns_name_t host; member in struct:dns_rdata_rt
H A Drt_21.c182 dns_name_toregion(&rt->host, &region);
205 dns_name_init(&rt->host, NULL);
206 RETERR(name_duporclone(&name, mctx, &rt->host));
222 dns_name_free(&rt->host, rt->mctx);
/bind-9.11.3/bin/tests/system/
H A Dsend.pl19 @ARGV == 2 or die "usage: send.pl host port [file ...]\n";
21 my $host = shift @ARGV;
24 my $sock = IO::Socket::INET->new(PeerAddr => $host, PeerPort => $port,
/bind-9.11.3/bin/tests/system/dyndb/
H A Dtests.sh24 host="$1"
31 update add $host $type $ip
35 newtest "I:adding $host $type $ip"
38 echo "I:update failed for $host $type $ip"
42 out=`$DIG $DIGOPTS +noall +answer -t $type -q $host`
47 echo "I:dig output incorrect for $host $type $cmd: $out"
53 lines=`echo "$out" | grep "$host" | wc -l`
56 echo "I:dig reverse output incorrect for $host $type $cmd: $out"
64 host="$1"
67 ip=`$DIG $DIGOPTS +short $host
[all...]
/bind-9.11.3/bin/tests/system/tkey/ns1/
H A Dsetup.sh12 keyname=`$KEYGEN -T KEY -a DH -b 768 -n host -r $RANDFILE server`
/bind-9.11.3/bin/tests/system/tsiggss/
H A Dtests.sh19 host="$1"
26 update add $host $cmd
29 echo "I:testing update for $host $type $cmd"
31 echo "I:update failed for $host $type $cmd"
36 out=`$DIG $DIGOPTS -t $type -q $host | egrep "^${host}"`
39 echo "I:dig output incorrect for $host $type $cmd: $out"
/bind-9.11.3/contrib/queryperf/missing/
H A Dgetnameinfo.c84 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
87 char *host;
179 if (host == NULL || hostlen == 0) {
190 strcpy(host, numaddr);
210 strcpy(host, hp->h_name);
222 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/contrib/dlz/drivers/
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_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...]
/bind-9.11.3/bin/tests/
H A Dndc.conf18 host "1.2.3.4";
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/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/bin/tests/system/checkconf/
H A Dbad-many.conf24 host-statistics yes;
25 host-statistics-max 100;
H A Dgood.conf34 host-statistics yes;
35 host-statistics-max 100;
/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/system/dlzexternal/
H A Dtests.sh24 host="$1"
32 update add $host $cmd
36 newtest "I:testing update for $host $type $cmd${comment:+ }$comment"
39 echo "I:update failed for $host $type $cmd"
43 out=`$DIG $DIGOPTS -t $type -q $host | egrep "^$host"`
47 echo "I:dig output incorrect for $host $type $cmd: $out"
/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/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/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/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dstub.h90 char *host, GNI_HOSTLEN_T hostlen, char *serv,
/bind-9.11.3/contrib/idn/idnkit-1.0-src/wsock/wsock20/
H A Ddlldef.h120 _org_getnameinfo(LPVOID sa, DWORD salen, char* host, DWORD hostlen,
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/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/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...]

Completed in 43 milliseconds

123