Home | History | Annotate | Download | only in wps

Lines Matching refs:dst

28 	struct sockaddr_in dst;
67 inet_ntoa(c->dst.sin_addr),
68 ntohs(c->dst.sin_port));
73 inet_ntoa(c->dst.sin_addr),
74 ntohs(c->dst.sin_port));
97 inet_ntoa(c->dst.sin_addr), ntohs(c->dst.sin_port),
122 inet_ntoa(c->dst.sin_addr), ntohs(c->dst.sin_port));
136 struct http_client * http_client_addr(struct sockaddr_in *dst,
149 c->dst = *dst;
167 if (connect(c->sd, (struct sockaddr *) dst, sizeof(*dst))) {
199 char * http_client_url_parse(const char *url, struct sockaddr_in *dst,
208 os_memset(dst, 0, sizeof(*dst));
209 dst->sin_family = AF_INET;
223 if (inet_aton(addr, &dst->sin_addr) == 0) {
233 dst->sin_port = htons(atoi(port));
235 dst->sin_port = htons(80);
255 struct sockaddr_in dst;
262 u = http_client_url_parse(url, &dst, &path);
281 path, inet_ntoa(dst.sin_addr),
282 ntohs(dst.sin_port));
286 c = http_client_addr(&dst, req, max_response, cb, cb_ctx);