/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/ |
H A D | fake-addrinfo.h | 107 #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 D | cm.h | 63 struct addrinfo *addr;
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | getaddrinfo.c | 175 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 D | dns_ho.c | 159 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 D | irp_ho.c | 82 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 D | gen_ho.c | 71 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 D | lcl_ho.c | 140 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 D | addr_match.c | 45 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 D | fake-addrinfo.c | 109 #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 D | ncu_ip.c | 377 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 D | getaddrinfo.c | 68 /* 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 D | netdb.h | 107 * 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 D | gethost.c | 19 struct addrinfo hints, *ai;
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | findvc.c | 65 findvc(struct smb_ctx *ctx, struct addrinfo *ai) 92 struct addrinfo *ai;
|
H A D | newvc.c | 65 newvc(struct smb_ctx *ctx, struct addrinfo *ai) 89 struct addrinfo *ai;
|
H A D | getaddr.c | 61 dump_addrinfo(struct addrinfo *ai) 119 struct addrinfo hints, *res;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rdate.c | 89 struct addrinfo hints; 90 struct addrinfo *res;
|
H A D | whois.c | 80 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 D | uds_daemon.c | 217 } 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 D | netcat.c | 116 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 D | port_netdb.h | 30 void freeaddrinfo __P((struct addrinfo *)); 35 const struct addrinfo *, struct addrinfo **));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping.c | 214 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 D | rpcb_stat.c | 109 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 D | addisc_impl.h | 112 struct addrinfo *cds_ai;
|
H A D | ldap_ping.c | 80 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)
|