Lines Matching refs:addrinfo
129 int local_listen(char *, char *, struct addrinfo);
132 int remote_connect(const char *, const char *, struct addrinfo);
134 int socks_connect(const char *, const char *, struct addrinfo,
135 const char *, const char *, struct addrinfo, int, const char *);
153 struct addrinfo hints; in main()
159 struct addrinfo proxyhints; in main()
340 memset(&hints, 0, sizeof(struct addrinfo)); in main()
368 memset(&proxyhints, 0, sizeof(struct addrinfo)); in main()
613 remote_connect(const char *host, const char *port, struct addrinfo hints) in remote_connect()
615 struct addrinfo *res, *res0; in remote_connect()
637 struct addrinfo ahints, *ares; in remote_connect()
643 memset(&ahints, 0, sizeof(struct addrinfo)); in remote_connect()
717 local_listen(char *host, char *port, struct addrinfo hints) in local_listen()
719 struct addrinfo *res, *res0; in local_listen()
1401 int remote_connect(const char *, const char *, struct addrinfo);
1402 int socks_connect(const char *, const char *, struct addrinfo,
1403 const char *, const char *, struct addrinfo, int,
1411 struct addrinfo hints, *res; in decode_addrport()
1472 struct addrinfo hints __attribute__ ((__unused__)), in socks_connect()
1473 const char *proxyhost, const char *proxyport, struct addrinfo proxyhints, in socks_connect()