• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/ldns/

Lines Matching refs:tolen

192 ldns_tcp_connect_from(const struct sockaddr_storage *to, socklen_t tolen, 
210 if (connect(sockfd, (struct sockaddr*)to, tolen) == SOCK_INVALID) {
282 ldns_tcp_connect(const struct sockaddr_storage *to, socklen_t tolen,
285 return ldns_tcp_connect_from(to, tolen, NULL, 0, timeout);
290 const struct sockaddr_storage *to, socklen_t tolen,
296 sockfd = ldns_tcp_connect_from(to, tolen, from, fromlen, timeout);
302 if (ldns_tcp_send_query(qbin, sockfd, to, tolen) == 0) {
312 const struct sockaddr_storage *to, socklen_t tolen,
315 return ldns_tcp_bgsend_from(qbin, to, tolen, NULL, 0, timeout);
324 const struct sockaddr_storage *to, socklen_t tolen,
331 sockfd = ldns_tcp_bgsend_from(qbin, to, tolen, from, fromlen, timeout);
356 const struct sockaddr_storage *to, socklen_t tolen,
360 to, tolen, NULL, 0, timeout, answer_size);
380 const struct sockaddr_storage *to , socklen_t tolen,
396 if (ldns_udp_send_query(qbin, sockfd, to, tolen) == 0) {
405 const struct sockaddr_storage *to , socklen_t tolen,
408 return ldns_udp_bgsend_from(qbin, to, tolen, NULL, 0, timeout);
413 const struct sockaddr_storage *to , socklen_t tolen,
420 sockfd = ldns_udp_bgsend_from(qbin, to, tolen, from, fromlen, timeout);
451 const struct sockaddr_storage *to , socklen_t tolen,
454 return ldns_udp_send_from(result, qbin, to, tolen, NULL, 0,
644 const struct sockaddr_storage *to, socklen_t tolen)
656 ldns_buffer_position(qbin) + 2, 0, (struct sockaddr *)to, tolen);
669 socklen_t tolen)
674 ldns_buffer_position(qbin), 0, (struct sockaddr *)to, tolen);