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

1234

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dfake-addrinfo.h107 #undef addrinfo macro
108 #define addrinfo my_fake_addrinfo macro
110 struct addrinfo { struct
118 struct addrinfo *ai_next; /* next in linked list */
214 const struct addrinfo *hints,
215 struct addrinfo **aip);
216 extern void krb5int_freeaddrinfo (struct addrinfo *ai);
H A Dcm.h63 struct addrinfo *addr;
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetaddrinfo.c175 static int explore_fqdn __P((const struct addrinfo *, const char *,
176 const char *, struct addrinfo **));
177 static int explore_copy __P((const struct addrinfo *, const struct addrinfo *,
178 struct addrinfo **));
179 static int explore_null __P((const struct addrinfo *,
180 const char *, struct addrinfo **));
181 static int explore_numeric __P((const struct addrinfo *, const char *,
182 const char *, struct addrinfo **));
183 static int explore_numeric_scope __P((const struct addrinfo *, cons
[all...]
H A Ddns_ho.c159 static struct addrinfo * ho_addrinfo(struct irs_ho *this, const char *name,
160 const struct addrinfo *pai);
169 struct addrinfo **ret_aip,
170 const struct addrinfo *pai);
172 struct addrinfo *ai);
206 ho->addrinfo = ho_addrinfo;
247 struct addrinfo ai;
317 (const struct addrinfo *)&ai)) != NULL)
336 struct addrinfo ai;
478 NULL, (const struct addrinfo *)
[all...]
H A Dirp_ho.c82 static struct addrinfo * ho_addrinfo(struct irs_ho *this, const char *name,
83 const struct addrinfo *pai);
123 ho->addrinfo = ho_addrinfo;
396 static struct addrinfo *
397 ho_addrinfo(struct irs_ho *this, const char *name, const struct addrinfo *pai)
H A Dgen_ho.c71 static struct addrinfo * ho_addrinfo(struct irs_ho *this, const char *name,
72 const struct addrinfo *pai);
107 ho->addrinfo = ho_addrinfo;
334 static struct addrinfo *
335 ho_addrinfo(struct irs_ho *this, const char *name, const struct addrinfo *pai)
339 struct addrinfo *rval = NULL;
351 if (ho->addrinfo == NULL) /*%< for safety */
353 rval = (*ho->addrinfo)(ho, name, pai);
H A Dlcl_ho.c140 static struct addrinfo * ho_addrinfo(struct irs_ho *this, const char *name,
141 const struct addrinfo *pai);
182 ho->addrinfo = ho_addrinfo;
494 extern struct addrinfo *hostent2addrinfo __P((struct hostent *,
495 const struct addrinfo *pai));
497 static struct addrinfo *
498 ho_addrinfo(struct irs_ho *this, const char *name, const struct addrinfo *pai)
503 struct addrinfo sentinel, *cur;
528 struct addrinfo *ai;
/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Daddr_match.c45 find_match(const struct addrinfo *res,
50 const struct addrinfo *ai;
101 struct addrinfo *res, hints;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dfake-addrinfo.c109 #include "fake-addrinfo.h"
116 /*@in@*/ /*@null@*/ const struct addrinfo *,
117 /*@out@*/ struct addrinfo **)
120 freeaddrinfo (/*@only@*/ /*@out@*/ struct addrinfo *)
135 #include "cache-addrinfo.h"
312 const struct addrinfo *hint,
313 struct addrinfo **res)
319 system_freeaddrinfo (struct addrinfo *ai)
406 const struct addrinfo *hint)
440 static void debug_dump_addrinfos (const struct addrinfo *a
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dncu_ip.c377 ipadm_addr_info_t *addrinfo, *a; local
380 if ((ipstatus = ipadm_addr_info(ipadm_handle, ncu->ncu_name, &addrinfo,
388 for (a = addrinfo; a != NULL; a = IA_NEXT(a)) {
432 ipadm_free_addr_info(addrinfo);
587 * Returns the addrinfo associated with the given address. There is always
588 * only one addrinfo for each address.
594 ipadm_addr_info_t *addrinfo, *ainfop, *last = NULL; local
597 ipstatus = ipadm_addr_info(ipadm_handle, ifname, &addrinfo, 0, 0);
606 for (ainfop = addrinfo; ainfop != NULL; ainfop = IA_NEXT(ainfop)) {
611 * If addresses match, rearrange pointers so that addrinfo
641 ipadm_addr_info_t *addrinfo, *ainfop; local
695 ipadm_addr_info_t *addrinfo = NULL; local
867 ipadm_addr_info_t *ai = NULL, *addrinfo = NULL; local
[all...]
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetaddrinfo.c68 /* AI_MASK: all valid flags for addrinfo */
84 static int get_addr(int family, const char *hostname, struct addrinfo *aip,
85 struct addrinfo *cur, ushort_t port, int version);
120 * hints - optional argument that points to an addrinfo structure
136 * field of the first addrinfo structure in the linked
158 * or more addrinfo structures is returned through this
159 * argument. The caller can process each addrinfo structures
161 * NULL pointer is encountered. In each returned addrinfo
164 * socket() function. In each addrinfo structure the ai_addr
186 * allocated: the addrinfo structure
[all...]
/illumos-gate/usr/src/head/
H A Dnetdb.h107 * addrinfo introduced with IPv6 for Protocol-Independent Hostname
112 struct addrinfo { struct
123 struct addrinfo *ai_next; /* next structure in linked list */
130 /* addrinfo flags */
149 /* addrinfo errors */
320 const struct addrinfo *_RESTRICT_KYWD,
321 struct addrinfo **_RESTRICT_KYWD);
322 void freeaddrinfo(struct addrinfo *);
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dgethost.c19 struct addrinfo hints, *ai;
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dfindvc.c65 findvc(struct smb_ctx *ctx, struct addrinfo *ai)
92 struct addrinfo *ai;
H A Dnewvc.c65 newvc(struct smb_ctx *ctx, struct addrinfo *ai)
89 struct addrinfo *ai;
H A Dgetaddr.c61 dump_addrinfo(struct addrinfo *ai)
119 struct addrinfo hints, *res;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drdate.c89 struct addrinfo hints;
90 struct addrinfo *res;
H A Dwhois.c80 static struct addrinfo *gethostinfo(char const *host, int exit_on_error);
218 static struct addrinfo *
221 struct addrinfo hints, *res;
259 struct addrinfo *hostres, *res;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A Duds_daemon.c217 } addrinfo; member in union:request_state::__anon98
3115 question2 = &request->u.addrinfo.q42;
3117 question2 = &request->u.addrinfo.q62;
3351 req->u.addrinfo.v4ans = 1;
3353 req->u.addrinfo.v6ans = 1;
3457 else if (req->hdr.op == addrinfo_request && question == req->u.addrinfo.q42)
3458 q = &req->u.addrinfo.q4;
3459 else if (req->hdr.op == addrinfo_request && question == req->u.addrinfo.q62)
3460 q = &req->u.addrinfo.q6;
4169 q = &req->u.addrinfo
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c116 int local_listen(char *, char *, struct addrinfo);
118 int remote_connect(const char *, const char *, struct addrinfo);
120 const char *, const char *, struct addrinfo, int, const char *);
134 struct addrinfo hints;
139 struct addrinfo proxyhints;
282 /* Initialize addrinfo structure. */
284 (void) memset(&hints, 0, sizeof (struct addrinfo));
312 (void) memset(&proxyhints, 0, sizeof (struct addrinfo));
548 remote_connect(const char *host, const char *port, struct addrinfo hints)
550 struct addrinfo *re
[all...]
/illumos-gate/usr/src/lib/libresolv2/include/
H A Dport_netdb.h30 void freeaddrinfo __P((struct addrinfo *));
35 const struct addrinfo *, struct addrinfo **));
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c214 static struct targetaddr *build_targetaddr_list(struct addrinfo *,
216 extern void check_reply(struct addrinfo *, struct msghdr *, int, ushort_t);
217 extern void check_reply6(struct addrinfo *, struct msghdr *, int, ushort_t);
225 static void get_hostinfo(char *, int, struct addrinfo **);
228 boolean_t is_a_target(struct addrinfo *, union any_in_addr *);
236 static void recv_icmp_packet(struct addrinfo *, int, int, ushort_t, ushort_t);
237 static void resolve_nodes(struct addrinfo **, struct addrinfo **,
240 static void select_all_src_addrs(union any_in_addr **, struct addrinfo *,
249 static void set_nexthop(int, struct addrinfo *, in
[all...]
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_stat.c109 for (s = al = inf[rtype].addrinfo; al; al = al->next) {
150 for (wal = inf[rtype].addrinfo; wal != s; wal = wal->next) {
166 al->next = inf[rtype].addrinfo;
167 inf[rtype].addrinfo = al;
/illumos-gate/usr/src/lib/libadutils/common/
H A Daddisc_impl.h112 struct addrinfo *cds_ai;
H A Dldap_ping.c80 static boolean_t addrmatch(struct addrinfo *, struct sockaddr_in6 *);
81 static void save_ai(ad_disc_cds_t *, struct addrinfo *);
521 struct addrinfo *ai;
577 struct addrinfo *ai;
614 addrmatch(struct addrinfo *ai, struct sockaddr_in6 *sin6from)
645 save_ai(ad_disc_cds_t *cds, struct addrinfo *ai)

Completed in 139 milliseconds

1234