• Home
  • Raw
  • Download

Lines Matching refs:sockaddr

139 static int		get_salen __P((const struct sockaddr *));
140 static struct sockaddr * get_nsaddr __P((res_state, size_t));
146 const struct sockaddr *, int);
148 static int sock_eq(struct sockaddr *, struct sockaddr *);
150 static int connect_with_timeout(int sock, const struct sockaddr *nsap,
156 struct sockaddr sa;
223 res_ourserver_p(const res_state statp, const struct sockaddr *sa) { in res_ourserver_p()
403 !sock_eq((struct sockaddr *)(void *)&statp->nsaddr_list[ns], in res_nsend()
404 (struct sockaddr *)(void *)&EXT(statp).ext->nsaddrs[ns])) { in res_nsend()
413 (struct sockaddr *)(void *)&peer, &peerlen) < 0) { in res_nsend()
417 if (!sock_eq((struct sockaddr *)(void *)&peer, in res_nsend()
490 struct sockaddr *nsap; in res_nsend()
683 get_salen(const struct sockaddr *sa) in get_salen()
703 static struct sockaddr *
713 return (struct sockaddr *)(void *)&EXT(statp).ext->nsaddrs[n]; in get_nsaddr()
720 return (struct sockaddr *)(void *)&statp->nsaddr_list[n]; in get_nsaddr()
762 struct sockaddr *nsap; in send_vc()
790 (struct sockaddr *)(void *)&peer, &size) < 0 || in send_vc()
791 !sock_eq((struct sockaddr *)(void *)&peer, nsap) || in send_vc()
980 connect_with_timeout(int sock, const struct sockaddr *nsap, socklen_t salen, in connect_with_timeout()
1079 const struct sockaddr *nsap; in send_dg()
1182 (struct sockaddr *)(void *)&from, &fromlen); in send_dg()
1213 !res_ourserver_p(statp, (struct sockaddr *)(void *)&from)) { in send_dg()
1293 const struct sockaddr *address, int alen) in Aerror()
1324 sock_eq(struct sockaddr *a, struct sockaddr *b) { in sock_eq()