Searched refs:addrinfo (Results 1 - 25 of 274) sorted by relevance

1234567891011

/freebsd-head/contrib/ntp/include/
H A Dntp_intres.h12 /* 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 Dintreswork.h20 const struct addrinfo *hints,
21 const struct addrinfo *ai_res);
H A Dntp_rfc2553.h77 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-head/crypto/heimdal/lib/roken/
H A Dfreeaddrinfo.c39 * free the list of `struct addrinfo' starting at `ai'
43 freeaddrinfo(struct addrinfo *ai)
45 struct addrinfo *tofree;
H A Dgetaddrinfo.c44 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 Dgetaddrinfo_hostspec.c44 struct addrinfo **ai)
49 struct addrinfo hints;
98 struct addrinfo **ai)
/freebsd-head/contrib/tcp_wrappers/
H A Dscaffold.h10 extern struct addrinfo *find_inet_addr(char *host);
/freebsd-head/contrib/bsnmp/lib/
H A Dsupport.h53 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-head/crypto/openssh/
H A Dsshconnect.h33 struct addrinfo;
36 int ssh_connect(struct ssh *, const char *, struct addrinfo *,
/freebsd-head/lib/libc/tests/nss/
H A Dgetaddrinfo_test.c54 static struct addrinfo hints;
57 DECLARE_TEST_DATA(addrinfo)
58 DECLARE_TEST_FILE_SNAPSHOT(addrinfo)
59 DECLARE_2PASS_TEST(addrinfo)
61 static void clone_addrinfo(struct addrinfo *, struct addrinfo const *);
62 static int compare_addrinfo(struct addrinfo *, struct addrinfo *, void *);
63 static void dump_addrinfo(struct addrinfo *);
65 static void sdump_addrinfo(struct addrinfo *, cha
[all...]
/freebsd-head/contrib/libpcap/
H A Dsockutils.c276 * \param addrinfo: pointer to an addrinfo variable which will be used to
296 SOCKET sock_open(struct addrinfo *addrinfo, int server, int nconn, char *errbuf, int errbuflen) argument
303 sock = socket(addrinfo->ai_family, addrinfo->ai_socktype, addrinfo->ai_protocol);
372 if (addrinfo->ai_family == PF_INET6)
386 if (bind(sock, addrinfo->ai_addr, (int) addrinfo
697 sock_initaddress(const char *host, const char *port, struct addrinfo *hints, struct addrinfo **addrinfo, char *errbuf, int errbuflen) argument
1264 struct addrinfo *addrinfo, *ai_next; local
1611 struct addrinfo *addrinfo; local
[all...]
H A Dsockutils.h129 struct addrinfo *hints, struct addrinfo **addrinfo,
135 SOCKET sock_open(struct addrinfo *addrinfo, int server, int nconn, char *errbuf, int errbuflen);
/freebsd-head/contrib/ntp/libntp/
H A Dntp_rfc2553.c88 * 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...]
/freebsd-head/contrib/ldns/compat/
H A Dfake-rfc2553.h141 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 Dfake-rfc2553.c107 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-head/contrib/unbound/compat/
H A Dfake-rfc2553.h136 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 Dfake-rfc2553.c105 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-head/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.h138 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 Dfake-rfc2553.c110 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-head/usr.bin/getaddrinfo/
H A Dgetaddrinfo.c54 static void printaddrinfo(struct addrinfo *);
64 static const struct addrinfo zero_addrinfo;
65 struct addrinfo hints = zero_addrinfo;
66 struct addrinfo *addrinfo; local
153 error = getaddrinfo(hostname, service, &hints, &addrinfo);
157 if ((hints.ai_flags & AI_CANONNAME) && (addrinfo != NULL)) {
158 if (printf("canonname %s\n", addrinfo->ai_canonname) < 0)
162 printaddrinfo(addrinfo);
164 freeaddrinfo(addrinfo);
263 printaddrinfo(struct addrinfo *addrinfo) argument
[all...]
/freebsd-head/contrib/ntp/sntp/
H A Dmain.h28 int on_wire(struct addrinfo *host, struct addrinfo *bcastaddr);
/freebsd-head/contrib/libpcap/pcap/
H A Dnamedb.h63 PCAP_API struct addrinfo *pcap_nametoaddrinfo(const char *);
/freebsd-head/lib/libc/net/
H A Dgetaddrinfo.c227 struct addrinfo *aio_ai;
255 static int explore_copy(const struct addrinfo *, const struct addrinfo *,
256 struct addrinfo **);
257 static int explore_null(const struct addrinfo *,
258 const char *, struct addrinfo **);
259 static int explore_numeric(const struct addrinfo *, const char *,
260 const char *, struct addrinfo **, const char *);
261 static int explore_numeric_scope(const struct addrinfo *, const char *,
262 const char *, struct addrinfo **);
[all...]
/freebsd-head/lib/libcasper/services/cap_dns/
H A Dcap_dns.h41 struct addrinfo;
52 const char *servname, const struct addrinfo *hints, struct addrinfo **res);
/freebsd-head/usr.bin/finger/
H A Dnet.c61 static int do_protocol(const char *name, const struct addrinfo *ai);
62 static void trying(const struct addrinfo *ai);
69 struct addrinfo *ai, *ai0;
70 static struct addrinfo hint;
110 do_protocol(const char *name, const struct addrinfo *ai)
221 trying(const struct addrinfo *ai)

Completed in 410 milliseconds

1234567891011