Lines Matching refs:src_addr
275 struct sockaddr *src_addr, in send_response() argument
293 iface = net_if_ipv6_select_src_iface(&net_sin6(src_addr)->sin6_addr); in send_response()
295 iface = net_if_ipv4_select_src_iface(&net_sin(src_addr)->sin_addr); in send_response()
303 &net_sin(src_addr)->sin_addr); in send_response()
320 &net_sin6(src_addr)->sin6_addr); in send_response()
350 struct sockaddr *src_addr, in send_sd_response() argument
402 iface = net_if_ipv6_select_src_iface(&net_sin6(src_addr)->sin6_addr); in send_sd_response()
404 iface = net_if_ipv4_select_src_iface(&net_sin(src_addr)->sin_addr); in send_sd_response()
411 &net_sin(src_addr)->sin_addr); in send_sd_response()
424 &net_sin6(src_addr)->sin6_addr); in send_sd_response()
513 struct sockaddr *src_addr, in dns_read() argument
519 int family = src_addr->sa_family; in dns_read()
551 (const void *)&net_sin(src_addr)->sin_addr : in dns_read()
552 (const void *)&net_sin6(src_addr)->sin6_addr)); in dns_read()
586 send_response(sock, family, src_addr, addrlen, in dns_read()
590 send_sd_response(sock, family, src_addr, addrlen, in dns_read()