HomeSort by: relevance | last modified time | path
    Searched defs:addrinfo (Results 1 - 25 of 39) sorted by relevancy

1 2

  /src/usr.bin/getaddrinfo/
getaddrinfo.c 55 static void printaddrinfo(struct addrinfo *);
60 static const struct addrinfo zero_addrinfo;
61 struct addrinfo hints = zero_addrinfo;
62 struct addrinfo *addrinfo; local
142 error = getaddrinfo(hostname, service, &hints, &addrinfo);
146 if ((hints.ai_flags & AI_CANONNAME) && (addrinfo != NULL)) {
147 if (printf("canonname %s\n", addrinfo->ai_canonname) < 0)
151 printaddrinfo(addrinfo);
153 freeaddrinfo(addrinfo);
    [all...]
  /src/external/bsd/unbound/dist/respip/
respip.h 91 struct respip_addr_info* addrinfo; /* set only for inform variants */ member in struct:respip_action_info
  /src/external/gpl2/xcvs/dist/lib/
getaddrinfo.h 31 struct addrinfo struct
40 struct addrinfo *ai_next; /* Pointer to next in list. */
43 /* Possible values for `ai_flags' field in `addrinfo' structure. */
80 const struct addrinfo *restrict hints,
81 struct addrinfo **restrict res);
83 /* Free `addrinfo' structure AI including associated storage.
86 extern void freeaddrinfo (struct addrinfo *ai);
  /src/external/gpl3/gdb/dist/gnulib/import/
netdb.in.h 62 struct addrinfo struct
71 struct addrinfo *ai_next; /* Pointer to next in list. */
82 /* Possible values for 'ai_flags' field in 'addrinfo' structure. */
173 const struct addrinfo *restrict hints,
174 struct addrinfo **restrict res)
179 const struct addrinfo *restrict hints,
180 struct addrinfo **restrict res));
186 const struct addrinfo *restrict hints,
187 struct addrinfo **restrict res)
193 const struct addrinfo *restrict hints
    [all...]
  /src/external/gpl3/gdb.old/dist/gnulib/import/
netdb.in.h 62 struct addrinfo struct
71 struct addrinfo *ai_next; /* Pointer to next in list. */
82 /* Possible values for 'ai_flags' field in 'addrinfo' structure. */
173 const struct addrinfo *restrict hints,
174 struct addrinfo **restrict res)
179 const struct addrinfo *restrict hints,
180 struct addrinfo **restrict res));
186 const struct addrinfo *restrict hints,
187 struct addrinfo **restrict res)
193 const struct addrinfo *restrict hints
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/bio/
bio_local.h 19 * AI_PASSIVE is used to detect the availability of struct addrinfo,
40 * There's a bug in VMS C header file netdb.h, where struct addrinfo
43 * size. The easiest workaround is to force struct addrinfo to be the
47 #define addrinfo __addrinfo64 macro
50 #define bio_addrinfo_st addrinfo
  /src/crypto/external/bsd/openssl.old/dist/crypto/bio/
bio_local.h 19 * AI_PASSIVE is used to detect the availability of struct addrinfo,
47 * There's a bug in VMS C header file netdb.h, where struct addrinfo
50 * size. The easiest workaround is to force struct addrinfo to be the
54 # define addrinfo __addrinfo64 macro
57 # define bio_addrinfo_st addrinfo
  /src/external/bsd/nsd/dist/compat/
fake-rfc2553.h 143 struct addrinfo { struct
151 struct addrinfo *ai_next; /* next structure in linked list */
161 const struct addrinfo *, struct addrinfo **);
171 void freeaddrinfo(struct addrinfo *);
  /src/external/bsd/ntp/dist/include/
ntp_rfc2553.h 79 struct addrinfo *copy_addrinfo_impl(const struct addrinfo *
85 struct addrinfo *copy_addrinfo_list_impl(const struct addrinfo *
160 /* valid flags for addrinfo */
185 struct addrinfo { struct
193 struct addrinfo *ai_next; /* next structure in linked list */
216 const struct addrinfo *, struct addrinfo **);
219 void freeaddrinfo (struct addrinfo *);
    [all...]
  /src/external/bsd/unbound/dist/compat/
fake-rfc2553.h 136 struct addrinfo { struct
144 struct addrinfo *ai_next; /* next structure in linked list */
154 const struct addrinfo *, struct addrinfo **);
164 void freeaddrinfo(struct addrinfo *);
  /src/external/ibm-public/postfix/dist/src/util/
myaddrinfo.h 10 /* addrinfo encapsulation and emulation
28 * Backwards compatibility support for IPV4 systems without addrinfo API.
34 * provides its own addrinfo() implementation. This also allows us to test
41 #undef addrinfo macro
42 #define addrinfo mai_addrinfo macro
49 struct addrinfo { struct
57 struct addrinfo *ai_next; /* next structure in linked list */
104 extern void freeaddrinfo(struct addrinfo *);
134 * addrinfo API. They still don't hide that we may get results for address
161 int, const char *, int, struct addrinfo **);
    [all...]
  /src/include/
netdb.h 200 struct addrinfo { struct
214 struct addrinfo *ai_next; /*%< next structure in linked list */
268 /* valid flags for addrinfo (not a standard def, apps should not use it) */
350 const struct addrinfo * __restrict,
351 struct addrinfo ** __restrict);
355 struct addrinfo *allocaddrinfo(socklen_t);
356 void freeaddrinfo(struct addrinfo *);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_platform_limits_openbsd.cc 155 CHECK_TYPE_SIZE(addrinfo); variable
156 CHECK_SIZE_AND_OFFSET(addrinfo, ai_flags);
157 CHECK_SIZE_AND_OFFSET(addrinfo, ai_family);
158 CHECK_SIZE_AND_OFFSET(addrinfo, ai_socktype);
159 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
160 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addrlen);
161 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addr);
162 CHECK_SIZE_AND_OFFSET(addrinfo, ai_canonname);
163 CHECK_SIZE_AND_OFFSET(addrinfo, ai_next);
sanitizer_platform_limits_solaris.cc 210 CHECK_TYPE_SIZE(addrinfo); variable
211 CHECK_SIZE_AND_OFFSET(addrinfo, ai_flags);
212 CHECK_SIZE_AND_OFFSET(addrinfo, ai_family);
213 CHECK_SIZE_AND_OFFSET(addrinfo, ai_socktype);
214 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
215 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
216 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addrlen);
217 CHECK_SIZE_AND_OFFSET(addrinfo, ai_canonname);
218 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addr);
sanitizer_platform_limits_freebsd.cc 380 CHECK_TYPE_SIZE(addrinfo); variable
381 CHECK_SIZE_AND_OFFSET(addrinfo, ai_flags);
382 CHECK_SIZE_AND_OFFSET(addrinfo, ai_family);
383 CHECK_SIZE_AND_OFFSET(addrinfo, ai_socktype);
384 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
385 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
386 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addrlen);
387 CHECK_SIZE_AND_OFFSET(addrinfo, ai_canonname);
388 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addr);
  /src/crypto/external/bsd/openssl/dist/crypto/bio/
bio_local.h 18 * AI_PASSIVE is used to detect the availability of struct addrinfo,
46 * There's a bug in VMS C header file netdb.h, where struct addrinfo
49 * size. The easiest workaround is to force struct addrinfo to be the
53 # define addrinfo __addrinfo64 macro
56 # define bio_addrinfo_st addrinfo
  /src/external/bsd/libpcap/dist/rpcapd/
rpcapd.c 85 static struct addrinfo mainhints; //!< temporary struct to keep settings needed to open the new socket
207 memset(&mainhints, 0, sizeof(struct addrinfo));
566 struct addrinfo *addrinfo; // keeps the addrinfo chain; required to open a new socket local
575 addrinfo = NULL;
616 struct addrinfo *tempaddrinfo;
621 addrinfo = sock_initaddress((address[0]) ? address : NULL,
623 if (addrinfo == NULL)
629 for (tempaddrinfo = addrinfo; tempaddrinfo
1341 struct addrinfo *addrinfo; \/\/ keeps the addrinfo chain; required to open a new socket local
    [all...]
daemon.c 1968 struct addrinfo hints; // temp, needed to open a socket connection
1969 struct addrinfo *addrinfo; // temp, needed to open a socket connection local
1979 addrinfo = NULL;
2068 memset(&hints, 0, sizeof(struct addrinfo));
2086 addrinfo = sock_initaddress(peerhost, portdata, &hints,
2088 if (addrinfo == NULL)
2091 if ((session->sockdata = sock_open(peerhost, addrinfo, SOCKOPEN_CLIENT, 0, errmsgbuf, PCAP_ERRBUF_SIZE)) == INVALID_SOCKET)
2099 addrinfo = sock_initaddress(NULL, NULL, &hints, errmsgbuf,
2101 if (addrinfo == NULL
    [all...]
  /src/external/bsd/libbind/dist/include/
irs.h 121 struct addrinfo *(*addrinfo) __P((struct irs_ho *, const char *, member in struct:irs_ho
122 const struct addrinfo *));
netdb.h 174 struct addrinfo { struct
194 struct addrinfo *ai_next; /*%< next structure in linked list */
410 const struct addrinfo *, struct addrinfo **));
413 void freeaddrinfo __P((struct addrinfo *));
  /src/external/bsd/libpcap/dist/
sockutils.c 393 struct addrinfo *info;
430 static PCAP_SOCKET sock_create_socket(struct addrinfo *addrinfo, char *errbuf,
438 sock = socket(addrinfo->ai_family, addrinfo->ai_socktype,
439 addrinfo->ai_protocol);
479 * \param addrinfo: pointer to an addrinfo variable which will be used to
499 PCAP_SOCKET sock_open(const char *host, struct addrinfo *addrinfo,
1082 struct addrinfo *addrinfo; local
1740 struct addrinfo *addrinfo, *ai_next; local
2089 struct addrinfo *addrinfo; local
    [all...]
pcap-rpcap.c 1024 struct addrinfo hints, *addrinfo, *ai_next; /* temp var needed to translate between hostname to its address */ local
1027 addrinfo = NULL;
1028 memset(&hints, 0, sizeof(struct addrinfo));
1032 addrinfo = sock_initaddress(host, NULL, &hints, errbuf,
1034 if (addrinfo == NULL)
1044 ai_next = addrinfo;
1050 freeaddrinfo(addrinfo);
1059 if (addrinfo)
1060 freeaddrinfo(addrinfo);
1096 struct addrinfo *addrinfo; \/* temp, needed to open a socket connection *\/ local
2323 struct addrinfo *addrinfo; \/* temp variable needed to resolve hostnames into to socket representation *\/ local
2928 struct addrinfo *addrinfo; \/* keeps the addrinfo chain; required to open a new socket *\/ local
3125 struct addrinfo hints, *addrinfo, *ai_next; \/* temp var needed to translate between hostname to its address *\/ local
    [all...]
  /src/external/apache2/mDNSResponder/dist/mDNSShared/
uds_daemon.h 210 GetAddrInfoClientRequest *addrinfo; member in struct:request_state
  /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
sanitizer_platform_limits_solaris.cpp 212 CHECK_TYPE_SIZE(addrinfo); variable
213 CHECK_SIZE_AND_OFFSET(addrinfo, ai_flags);
214 CHECK_SIZE_AND_OFFSET(addrinfo, ai_family);
215 CHECK_SIZE_AND_OFFSET(addrinfo, ai_socktype);
216 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
217 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
218 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addrlen);
219 CHECK_SIZE_AND_OFFSET(addrinfo, ai_canonname);
220 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addr);
  /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
sanitizer_platform_limits_solaris.cpp 212 CHECK_TYPE_SIZE(addrinfo); variable
213 CHECK_SIZE_AND_OFFSET(addrinfo, ai_flags);
214 CHECK_SIZE_AND_OFFSET(addrinfo, ai_family);
215 CHECK_SIZE_AND_OFFSET(addrinfo, ai_socktype);
216 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
217 CHECK_SIZE_AND_OFFSET(addrinfo, ai_protocol);
218 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addrlen);
219 CHECK_SIZE_AND_OFFSET(addrinfo, ai_canonname);
220 CHECK_SIZE_AND_OFFSET(addrinfo, ai_addr);

Completed in 63 milliseconds

1 2