/freebsd-current/contrib/ntp/include/ |
H A D | ntp_intres.h | 12 /* flags for extended addrinfo version */ 21 const struct addrinfo *, const struct addrinfo *); 23 const struct addrinfo *, int, 26 const struct addrinfo *, int, 29 * In gai_sometime_callback routines, the resulting addrinfo list is 33 * struct addrinfo *copy_addrinfo_list(const struct addrinfo *);
|
H A D | intreswork.h | 20 const struct addrinfo *hints, 21 const struct addrinfo *ai_res);
|
H A D | ntp_rfc2553.h | 77 struct addrinfo *copy_addrinfo_impl(const struct addrinfo * 83 struct addrinfo *copy_addrinfo_list_impl(const struct addrinfo * 158 /* valid flags for addrinfo */ 183 struct addrinfo { struct 191 struct addrinfo *ai_next; /* next structure in linked list */ 214 const struct addrinfo *, struct addrinfo **); 217 void freeaddrinfo (struct addrinfo *); [all...] |
/freebsd-current/contrib/tcp_wrappers/ |
H A D | scaffold.h | 10 extern struct addrinfo *find_inet_addr(char *host);
|
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | freeaddrinfo.c | 39 * free the list of `struct addrinfo' starting at `ai' 43 freeaddrinfo(struct addrinfo *ai) 45 struct addrinfo *tofree;
|
H A D | getaddrinfo.c | 44 const struct addrinfo *hints, 105 struct addrinfo ***ptr, 106 int (*func)(struct addrinfo *, void *data, int port), 110 struct addrinfo *a; 133 const_v4 (struct addrinfo *a, void *data, int port) 153 const_v6 (struct addrinfo *a, void *data, int port) 180 get_null (const struct addrinfo *hints, 182 struct addrinfo **res) 188 struct addrinfo *first = NULL; 189 struct addrinfo **curren [all...] |
H A D | getaddrinfo_hostspec.c | 44 struct addrinfo **ai) 49 struct addrinfo hints; 98 struct addrinfo **ai)
|
/freebsd-current/contrib/bsnmp/lib/ |
H A D | support.h | 53 struct addrinfo { struct 60 struct addrinfo *ai_next; 64 int getaddrinfo(const char *, const char *, const struct addrinfo *, 65 struct addrinfo **); 67 void freeaddrinfo(struct addrinfo *);
|
/freebsd-current/lib/libc/tests/nss/ |
H A D | getaddrinfo_test.c | 51 static struct addrinfo hints; 54 DECLARE_TEST_DATA(addrinfo) 55 DECLARE_TEST_FILE_SNAPSHOT(addrinfo) 56 DECLARE_2PASS_TEST(addrinfo) 58 static void clone_addrinfo(struct addrinfo *, struct addrinfo const *); 59 static int compare_addrinfo(struct addrinfo *, struct addrinfo *, void *); 60 static void dump_addrinfo(struct addrinfo *); 62 static void sdump_addrinfo(struct addrinfo *, cha [all...] |
/freebsd-current/contrib/ntp/libntp/ |
H A D | ntp_rfc2553.c | 88 * copy_addrinfo() - copy a single addrinfo to malloc()'d block. 89 * copy_addrinfo_list() - copy an addrinfo list to malloc()'d block. 91 * Copies an addrinfo list and its associated data to a contiguous block 93 * getaddrinfo_sometime() have access to the resulting addrinfo list 97 * context where we might want to duplicate an addrinfo list, it does 110 struct addrinfo * copy_addrinfo_common(const struct addrinfo *, int 118 struct addrinfo * 120 const struct addrinfo * src 137 struct addrinfo * [all...] |
H A D | socktohost.c | 33 struct addrinfo hints; 34 struct addrinfo * alist; 35 struct addrinfo * ai;
|
/freebsd-current/contrib/ldns/compat/ |
H A D | fake-rfc2553.h | 141 struct addrinfo { struct 149 struct addrinfo *ai_next; /* next structure in linked list */ 159 const struct addrinfo *, struct addrinfo **); 169 void freeaddrinfo(struct addrinfo *);
|
H A D | fake-rfc2553.c | 107 freeaddrinfo(struct addrinfo *ai) 109 struct addrinfo *next; 121 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) 123 struct addrinfo *ai; 153 const struct addrinfo *hints, struct addrinfo **res) 205 struct addrinfo *cur, *prev;
|
/freebsd-current/crypto/openssh/openbsd-compat/ |
H A D | fake-rfc2553.h | 138 struct addrinfo { struct 146 struct addrinfo *ai_next; /* next structure in linked list */ 156 const struct addrinfo *, struct addrinfo **); 166 void freeaddrinfo(struct addrinfo *);
|
H A D | fake-rfc2553.c | 110 freeaddrinfo(struct addrinfo *ai) 112 struct addrinfo *next; 124 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) 126 struct addrinfo *ai; 156 const struct addrinfo *hints, struct addrinfo **res) 211 struct addrinfo *cur, *prev;
|
/freebsd-current/contrib/unbound/compat/ |
H A D | 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 *);
|
H A D | fake-rfc2553.c | 105 freeaddrinfo(struct addrinfo *ai) 107 struct addrinfo *next; 119 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) 121 struct addrinfo *ai; 149 const struct addrinfo *hints, struct addrinfo **res) 201 struct addrinfo *cur, *prev;
|
/freebsd-current/lib/libcasper/services/cap_dns/ |
H A D | cap_dns.h | 49 struct addrinfo; 62 const char *servname, const struct addrinfo *hints, struct addrinfo **res); 98 const char *hostname, const char *servname, const struct addrinfo *hints, 99 struct addrinfo **res)
|
/freebsd-current/usr.bin/getaddrinfo/ |
H A D | getaddrinfo.c | 51 static void printaddrinfo(struct addrinfo *); 61 static const struct addrinfo zero_addrinfo; 62 struct addrinfo hints = zero_addrinfo; 63 struct addrinfo *addrinfo; local 150 error = getaddrinfo(hostname, service, &hints, &addrinfo); 154 if ((hints.ai_flags & AI_CANONNAME) && (addrinfo != NULL)) { 155 if (printf("canonname %s\n", addrinfo->ai_canonname) < 0) 159 printaddrinfo(addrinfo); 161 freeaddrinfo(addrinfo); 260 printaddrinfo(struct addrinfo *addrinfo) argument [all...] |
/freebsd-current/contrib/libpcap/ |
H A D | sockutils.c | 398 struct addrinfo *info; 435 static SOCKET sock_create_socket(struct addrinfo *addrinfo, char *errbuf, argument 443 sock = socket(addrinfo->ai_family, addrinfo->ai_socktype, 444 addrinfo->ai_protocol); 484 * \param addrinfo: pointer to an addrinfo variable which will be used to 504 SOCKET sock_open(const char *host, struct addrinfo *addrinfo, in argument 1083 sock_initaddress(const char *host, const char *port, struct addrinfo *hints, struct addrinfo **addrinfo, char *errbuf, int errbuflen) argument 1737 struct addrinfo *addrinfo, *ai_next; local 2086 struct addrinfo *addrinfo; local [all...] |
H A D | sockutils.h | 142 struct addrinfo *hints, struct addrinfo **addrinfo, 148 SOCKET sock_open(const char *host, struct addrinfo *addrinfo, int server, int nconn, char *errbuf, int errbuflen);
|
/freebsd-current/contrib/ntp/sntp/ |
H A D | main.h | 28 int on_wire(struct addrinfo *host, struct addrinfo *bcastaddr);
|
/freebsd-current/contrib/libpcap/pcap/ |
H A D | namedb.h | 65 PCAP_API struct addrinfo *pcap_nametoaddrinfo(const char *);
|
/freebsd-current/lib/libc/net/ |
H A D | getaddrinfo.c | 224 struct addrinfo *aio_ai; 252 static int explore_copy(const struct addrinfo *, const struct addrinfo *, 253 struct addrinfo **); 254 static int explore_null(const struct addrinfo *, 255 const char *, struct addrinfo **); 256 static int explore_numeric(const struct addrinfo *, const char *, 257 const char *, struct addrinfo **, const char *); 258 static int explore_numeric_scope(const struct addrinfo *, const char *, 259 const char *, struct addrinfo **); [all...] |
/freebsd-current/usr.bin/finger/ |
H A D | net.c | 52 static int do_protocol(const char *name, const struct addrinfo *ai); 53 static void trying(const struct addrinfo *ai); 60 struct addrinfo *ai, *ai0; 61 static struct addrinfo hint; 101 do_protocol(const char *name, const struct addrinfo *ai) 212 trying(const struct addrinfo *ai)
|