Searched refs:ai_canonname (Results 1 - 25 of 72) sorted by relevance

123

/freebsd-head/crypto/heimdal/lib/roken/
H A Dfreeaddrinfo.c48 free (ai->ai_canonname);
H A Dgetaddrinfo-test.c104 if (r->ai_canonname)
105 printf (", canonname = \"%s\"", r->ai_canonname);
/freebsd-head/contrib/ntp/libntp/
H A Dntp_rfc2553.c187 if (NULL != ai_src->ai_canonname)
188 canons_octets += 1 + strlen(ai_src->ai_canonname);
206 DEBUG_INSIST(ai_cpy->ai_canonname == ai_src->ai_canonname);
211 if (NULL != ai_src->ai_canonname) {
212 ai_cpy->ai_canonname = pcanon;
213 str_octets = 1 + strlen(ai_src->ai_canonname);
214 memcpy(pcanon, ai_src->ai_canonname, str_octets);
419 if (ai->ai_canonname != NULL)
421 free(ai->ai_canonname);
[all...]
H A Dntp_intres.c257 REQUIRE(NULL == hints->ai_canonname);
367 if (ai->ai_canonname)
368 canons_octets += strlen(ai->ai_canonname) + 1;
412 /* transform ai_canonname into offset */
413 if (NULL != ai->ai_canonname) {
414 serialized_ai->ai_canonname = (char *)canons_octets;
415 canons_octets += strlen(ai->ai_canonname) + 1;
434 if (NULL != ai->ai_canonname) {
435 this_octets = strlen(ai->ai_canonname) + 1;
436 memcpy(cp, ai->ai_canonname, this_octet
[all...]
/freebsd-head/crypto/heimdal/lib/krb5/
H A Dexpand_hostname.c84 if (a->ai_canonname != NULL) {
85 *new_hostname = strdup (a->ai_canonname);
166 if (a->ai_canonname != NULL) {
167 ret = copy_hostname (context, a->ai_canonname, new_hostname);
/freebsd-head/lib/libc/tests/nss/
H A Dgetaddrinfo_test.c79 if (src->ai_canonname != NULL)
80 dest->ai_canonname = strdup(src->ai_canonname);
109 ((ai1->ai_canonname == NULL || ai2->ai_canonname == NULL) &&
110 ai1->ai_canonname != ai2->ai_canonname))
113 if (ai1->ai_canonname != NULL &&
114 strcmp(ai1->ai_canonname, ai2->ai_canonname) !
[all...]
/freebsd-head/contrib/tcp_wrappers/
H A Dsocket.c261 } else if ((res0->ai_canonname == NULL
262 || STR_NE(host->name, res0->ai_canonname))
273 (res0->ai_canonname == NULL) ? "" : res0->ai_canonname);
318 (res0->ai_canonname == NULL) ? "" : res0->ai_canonname);
H A Dscaffold.c108 if (!res->ai_canonname) {
110 tcpd_warn("(cannot obtain official name)", res->ai_canonname);
111 } else if (STR_NE(host, res->ai_canonname)) {
113 tcpd_warn("(official name: %.*s)", STRING_LENGTH, res->ai_canonname);
/freebsd-head/lib/libc/net/
H A Drcmdsh.c97 if (res->ai_canonname) {
98 strncpy(hbuf, res->ai_canonname, sizeof(hbuf) - 1);
H A Dgetaddrinfo.c366 free(ai->ai_canonname);
423 pai->ai_canonname = NULL;
431 if (hints->ai_addrlen || hints->ai_canonname ||
635 * of the original list may contain ai_canonname and
646 sentinel.ai_next->ai_canonname;
647 sentinel.ai_next->ai_canonname = NULL;
649 if (sentinel.ai_next->ai_canonname ==
651 sentinel.ai_next->ai_canonname
1401 ai->ai_canonname = strdup(str);
1402 if (ai->ai_canonname
[all...]
/freebsd-head/contrib/ofed/librdmacm/
H A Daddrinfo.c94 ai->ai_canonname = rai->ai_dst_canonname;
178 if (ai->ai_canonname)
179 rai->ai_src_canonname = strdup(ai->ai_canonname);
195 if (ai->ai_canonname)
196 rai->ai_dst_canonname = strdup(ai->ai_canonname);
/freebsd-head/lib/libcasper/services/cap_dns/tests/
H A Ddns_test.c104 if (at0->ai_canonname != NULL &&
105 at1->ai_canonname != NULL) {
106 if (strcmp(at0->ai_canonname,
107 at1->ai_canonname) != 0) {
112 if (at0->ai_canonname == NULL &&
113 at1->ai_canonname != NULL) {
116 if (at0->ai_canonname != NULL &&
117 at1->ai_canonname == NULL) {
260 hints.ai_canonname = NULL;
/freebsd-head/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
H A Dh_gai.c97 if (res->ai_canonname)
98 printf("%scname \"%s\"%s", start, res->ai_canonname, end);
/freebsd-head/usr.bin/finger/
H A Dnet.c91 /* ai_canonname may not be filled in if the user specified an IP. */
92 if (ai0->ai_canonname == 0)
95 printf("[%s]\n", ai0->ai_canonname);
/freebsd-head/lib/libutil/
H A Drealhostname.c174 if (ores->ai_canonname == NULL) {
178 strlcpy(buf, ores->ai_canonname,
/freebsd-head/contrib/ldns/compat/
H A Dfake-rfc2553.h147 char *ai_canonname; /* canonical name for hostname */ member in struct:addrinfo
/freebsd-head/contrib/unbound/compat/
H A Dfake-rfc2553.h142 char *ai_canonname; /* canonical name for hostname */ member in struct:addrinfo
/freebsd-head/contrib/ntp/lib/isc/win32/
H A Dnetdb.h36 char *ai_canonname; /* Canonical name for hostname */ member in struct:addrinfo
/freebsd-head/contrib/ntp/include/
H A Dntp_rfc2553.h156 #define AI_CANONNAME 0x00000002 /* fill ai_canonname */
189 char *ai_canonname; /* canonical name for hostname */ member in struct:addrinfo
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.h144 char *ai_canonname; /* canonical name for hostname */ member in struct:addrinfo
/freebsd-head/usr.sbin/nfscbd/
H A Dnfscbd.c134 if (aip->ai_canonname != NULL &&
135 (cp = strchr(aip->ai_canonname, '.')) != NULL
137 cp = aip->ai_canonname;
/freebsd-head/crypto/heimdal/lib/wind/
H A Didn-lookup.c115 printf("canonical-name: %s\n", ai->ai_canonname);
/freebsd-head/crypto/heimdal/appl/ftp/ftp/
H A Druserpass.c95 if (a->ai_canonname != NULL) {
96 strlcpy (hostname_str, ai->ai_canonname, sz);
/freebsd-head/contrib/libevent/sample/
H A Ddns-example.c84 if (ai && ai->ai_canonname)
85 printf(" %s ==> %s\n", name, ai->ai_canonname);
/freebsd-head/include/
H A Dnetdb.h141 char *ai_canonname; /* canonical name for hostname */ member in struct:addrinfo
190 #define AI_CANONNAME 0x00000002 /* fill ai_canonname */

Completed in 344 milliseconds

123