Lines Matching refs:tolen

173 ldns_tcp_connect_from(const struct sockaddr_storage *to, socklen_t tolen, 
191 if (connect(sockfd, (struct sockaddr*)to, tolen) == -1) {
267 ldns_tcp_connect(const struct sockaddr_storage *to, socklen_t tolen,
270 return ldns_tcp_connect_from(to, tolen, NULL, 0, timeout);
275 const struct sockaddr_storage *to, socklen_t tolen,
281 sockfd = ldns_tcp_connect_from(to, tolen, from, fromlen, timeout);
287 if (ldns_tcp_send_query(qbin, sockfd, to, tolen) == 0) {
301 const struct sockaddr_storage *to, socklen_t tolen,
304 return ldns_tcp_bgsend_from(qbin, to, tolen, NULL, 0, timeout);
313 const struct sockaddr_storage *to, socklen_t tolen,
320 sockfd = ldns_tcp_bgsend_from(qbin, to, tolen, from, fromlen, timeout);
349 const struct sockaddr_storage *to, socklen_t tolen,
353 to, tolen, NULL, 0, timeout, answer_size);
373 const struct sockaddr_storage *to , socklen_t tolen,
389 if (ldns_udp_send_query(qbin, sockfd, to, tolen) == 0) {
402 const struct sockaddr_storage *to , socklen_t tolen,
405 return ldns_udp_bgsend_from(qbin, to, tolen, NULL, 0, timeout);
410 const struct sockaddr_storage *to , socklen_t tolen,
417 sockfd = ldns_udp_bgsend_from(qbin, to, tolen, from, fromlen, timeout);
456 const struct sockaddr_storage *to , socklen_t tolen,
459 return ldns_udp_send_from(result, qbin, to, tolen, NULL, 0,
649 const struct sockaddr_storage *to, socklen_t tolen)
661 ldns_buffer_position(qbin) + 2, 0, (struct sockaddr *)to, tolen);
674 socklen_t tolen)
679 ldns_buffer_position(qbin), 0, (struct sockaddr *)to, tolen);