/titanic_41/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 *, const char *, 184 const char *, struct addrinfo **)); [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; in irs_dns_ho() 247 struct addrinfo ai; in ho_byname2() 317 (const struct addrinfo *)&ai)) != NULL) in ho_byname2() 336 struct addrinfo ai; in ho_byaddr() 478 NULL, (const struct addrinfo *)&ai); in ho_byaddr() [all …]
|
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; in irs_gen_ho() 334 static struct addrinfo * 335 ho_addrinfo(struct irs_ho *this, const char *name, const struct addrinfo *pai) in ho_addrinfo() 339 struct addrinfo *rval = NULL; in ho_addrinfo() 351 if (ho->addrinfo == NULL) /*%< for safety */ in ho_addrinfo() 353 rval = (*ho->addrinfo)(ho, name, pai); in ho_addrinfo()
|
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; in irs_lcl_ho() 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) in ho_addrinfo() 503 struct addrinfo sentinel, *cur; in ho_addrinfo() 528 struct addrinfo *ai; in ho_addrinfo()
|
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; in irs_irp_ho() 396 static struct addrinfo * 397 ho_addrinfo(struct irs_ho *this, const char *name, const struct addrinfo *pai) in ho_addrinfo()
|
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | fake-getaddrinfo.c | 34 void freeaddrinfo(struct addrinfo *ai) in freeaddrinfo() 36 struct addrinfo *next; in freeaddrinfo() 46 static struct addrinfo *malloc_ai(int port, u_long addr) in malloc_ai() 48 struct addrinfo *ai; in malloc_ai() 50 ai = malloc(sizeof(struct addrinfo) + sizeof(struct sockaddr_in)); in malloc_ai() 54 memset(ai, 0, sizeof(struct addrinfo) + sizeof(struct sockaddr_in)); in malloc_ai() 68 const struct addrinfo *hints, struct addrinfo **res) in getaddrinfo() 70 struct addrinfo *cur, *prev = NULL; in getaddrinfo()
|
/titanic_41/usr/src/cmd/ssh/include/ |
H A D | fake-getaddrinfo.h | 28 struct addrinfo { struct 36 struct addrinfo *ai_next; /* next structure in linked list */ argument 42 const struct addrinfo *hints, struct addrinfo **res); 50 void freeaddrinfo(struct addrinfo *ai);
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/include/ |
H A D | fake-addrinfo.h | 107 #undef addrinfo 108 #define addrinfo my_fake_addrinfo macro 110 struct addrinfo { struct 118 struct addrinfo *ai_next; /* next in linked list */ argument 214 const struct addrinfo *hints, 215 struct addrinfo **aip); 216 extern void krb5int_freeaddrinfo (struct addrinfo *ai);
|
/titanic_41/usr/src/lib/libsocket/inet/ |
H A D | getaddrinfo.c | 84 static int get_addr(int family, const char *hostname, struct addrinfo *aip, 85 struct addrinfo *cur, ushort_t port, int version); 194 const struct addrinfo *hints, struct addrinfo **res, int version) in _getaddrinfo() 196 struct addrinfo *cur; in _getaddrinfo() 197 struct addrinfo *aip; in _getaddrinfo() 198 struct addrinfo ai; in _getaddrinfo() 450 struct addrinfo *nai; in _getaddrinfo() 457 nai = malloc(sizeof (struct addrinfo)); in _getaddrinfo() 495 nai = malloc(sizeof (struct addrinfo)); in _getaddrinfo() 548 const struct addrinfo *hints, struct addrinfo **res) in getaddrinfo() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | fake-addrinfo.c | 116 /*@in@*/ /*@null@*/ const struct addrinfo *, 117 /*@out@*/ struct addrinfo **) 120 freeaddrinfo (/*@only@*/ /*@out@*/ struct addrinfo *) 312 const struct addrinfo *hint, in system_getaddrinfo() 313 struct addrinfo **res) in system_getaddrinfo() 319 system_freeaddrinfo (struct addrinfo *ai) in system_freeaddrinfo() 406 const struct addrinfo *hint) in debug_dump_getaddrinfo_args() 440 static void debug_dump_addrinfos (const struct addrinfo *ai) in debug_dump_addrinfos() 465 const struct addrinfo *hint, struct addrinfo **result); 468 void freeaddrinfo (struct addrinfo *ai); [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncu_ip.c | 377 ipadm_addr_info_t *addrinfo, *a; in nwamd_dhcp_managing() local 380 if ((ipstatus = ipadm_addr_info(ipadm_handle, ncu->ncu_name, &addrinfo, in nwamd_dhcp_managing() 388 for (a = addrinfo; a != NULL; a = IA_NEXT(a)) { in nwamd_dhcp_managing() 432 ipadm_free_addr_info(addrinfo); in nwamd_dhcp_managing() 594 ipadm_addr_info_t *addrinfo, *ainfop, *last = NULL; in addrinfo_for_addr() local 597 ipstatus = ipadm_addr_info(ipadm_handle, ifname, &addrinfo, 0, 0); in addrinfo_for_addr() 606 for (ainfop = addrinfo; ainfop != NULL; ainfop = IA_NEXT(ainfop)) { in addrinfo_for_addr() 618 addrinfo = IA_NEXT(ainfop); in addrinfo_for_addr() 626 ipadm_free_addr_info(addrinfo); in addrinfo_for_addr() 641 ipadm_addr_info_t *addrinfo, *ainfop; in addrinfo_for_ipaddr() local [all …]
|
/titanic_41/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; in main() 139 struct addrinfo proxyhints; in main() 284 (void) memset(&hints, 0, sizeof (struct addrinfo)); in main() 312 (void) memset(&proxyhints, 0, sizeof (struct addrinfo)); in main() 548 remote_connect(const char *host, const char *port, struct addrinfo hints) in remote_connect() 550 struct addrinfo *res, *res0; in remote_connect() 566 struct addrinfo ahints, *ares; in remote_connect() [all …]
|
H A D | socks.c | 62 int remote_connect(const char *, const char *, struct addrinfo); 64 const char *, const char *, struct addrinfo, int, 77 struct addrinfo hints, *res; in decode_addrport() 152 const char *proxyport, struct addrinfo proxyhints, int socksv, in socks_connect()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping.c | 190 static struct targetaddr *build_targetaddr_list(struct addrinfo *, 192 extern void check_reply(struct addrinfo *, struct msghdr *, int, ushort_t); 193 extern void check_reply6(struct addrinfo *, struct msghdr *, int, ushort_t); 201 static void get_hostinfo(char *, int, struct addrinfo **); 204 boolean_t is_a_target(struct addrinfo *, union any_in_addr *); 210 static void recv_icmp_packet(struct addrinfo *, int, int, ushort_t, ushort_t); 211 static void resolve_nodes(struct addrinfo **, struct addrinfo **, 214 static void select_all_src_addrs(union any_in_addr **, struct addrinfo *, 223 static void set_nexthop(int, struct addrinfo *, int); 225 struct addrinfo *); [all …]
|
/titanic_41/usr/src/head/ |
H A D | netdb.h | 112 struct addrinfo { struct 123 struct addrinfo *ai_next; /* next structure in linked list */ argument 320 const struct addrinfo *_RESTRICT_KYWD, 321 struct addrinfo **_RESTRICT_KYWD); 322 void freeaddrinfo(struct addrinfo *);
|
/titanic_41/usr/src/cmd/cmd-inet/common/ |
H A D | addr_match.c | 45 find_match(const struct addrinfo *res, in find_match() 50 const struct addrinfo *ai; in find_match() 101 struct addrinfo *res, hints; in check_address()
|
/titanic_41/usr/src/lib/libsmbfs/smb/ |
H A D | newvc.c | 65 newvc(struct smb_ctx *ctx, struct addrinfo *ai) in newvc() 89 struct addrinfo *ai; in smb_ctx_newvc()
|
H A D | findvc.c | 65 findvc(struct smb_ctx *ctx, struct addrinfo *ai) in findvc() 92 struct addrinfo *ai; in smb_ctx_findvc()
|
H A D | getaddr.c | 61 dump_addrinfo(struct addrinfo *ai) in dump_addrinfo() 119 struct addrinfo hints, *res; in smb_ctx_getaddr()
|
/titanic_41/usr/src/cmd/rpcbind/ |
H A D | rpcb_stat.c | 109 for (s = al = inf[rtype].addrinfo; al; al = al->next) { in rpcbs_getaddr() 150 for (wal = inf[rtype].addrinfo; wal != s; wal = wal->next) { in rpcbs_getaddr() 166 al->next = inf[rtype].addrinfo; in rpcbs_getaddr() 167 inf[rtype].addrinfo = al; in rpcbs_getaddr()
|
/titanic_41/usr/src/lib/libresolv2/include/ |
H A D | port_netdb.h | 30 void freeaddrinfo __P((struct addrinfo *)); 35 const struct addrinfo *, struct addrinfo **));
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ |
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; in gethostinfo() 259 struct addrinfo *hostres, *res; in whois()
|
H A D | rdate.c | 89 struct addrinfo hints; in main() 90 struct addrinfo *res; in main()
|
/titanic_41/usr/src/cmd/lms/tools/ |
H A D | ATNetworkTool.cpp | 250 struct addrinfo hints, *paddr, *paddrp; in GetSockPeerIPs() 321 int ATNetworkTool::CreateSocket(const struct addrinfo *addr, int &error) in CreateSocket() 360 int ATNetworkTool::ConnectSocket(struct addrinfo *addr, in ConnectSocket() 373 struct addrinfo hints, *paddr, *paddrp; in ConnectSocket() 478 struct addrinfo hints, *paddr, *paddrp; in CreateServerSockets() 521 int ATNetworkTool::CreateServerSocket(const struct addrinfo *addr, int &error, in CreateServerSocket() 588 struct addrinfo hints, *paddr, *paddrp; in Connect() 657 struct addrinfo hints, *paddr, *paddrp; in ConnectLoopback()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute.c | 195 static boolean_t has_addr(struct addrinfo *, union any_in_addr *); 201 static void get_hostinfo(char *, int, struct addrinfo **); 214 static void resolve_nodes(int *, struct addrinfo **); 233 static void trace_it(struct addrinfo *); 247 struct addrinfo *ai_dst = NULL; /* destination host */ in main() 647 resolve_nodes(int *family, struct addrinfo **ai_dstp) in resolve_nodes() 649 struct addrinfo *ai_dst = NULL; in resolve_nodes() 650 struct addrinfo *aip = NULL; in resolve_nodes() 705 get_hostinfo(char *host, int family, struct addrinfo **aipp) in get_hostinfo() 707 struct addrinfo hints, *ai; in get_hostinfo() [all …]
|