Lines Matching refs:src_addr
1005 sockaddr_union src_addr; member
1180 scope_src1 = _get_scope(&a1->src_addr.sa); in _rfc6724_compare()
1184 scope_src2 = _get_scope(&a2->src_addr.sa); in _rfc6724_compare()
1203 label_src1 = _get_label(&a1->src_addr.sa); in _rfc6724_compare()
1207 label_src2 = _get_label(&a2->src_addr.sa); in _rfc6724_compare()
1240 const struct sockaddr_in6* a1_src = &a1->src_addr.sin6; in _rfc6724_compare()
1242 const struct sockaddr_in6* a2_src = &a2->src_addr.sin6; in _rfc6724_compare()
1268 static int _find_src_addr(const struct sockaddr* addr, struct sockaddr* src_addr, unsigned mark, in _find_src_addr() argument
1270 if (src_addr == nullptr) return -1; in _find_src_addr()
1309 if (getsockname(sock, src_addr, &len) == -1) { in _find_src_addr()
1313 if (src_addr->sa_family == AF_INET6) { in _find_src_addr()
1314 sockaddr_in6* sin6 = reinterpret_cast<sockaddr_in6*>(src_addr); in _find_src_addr()
1363 has_src_addr = _find_src_addr(cur->ai_addr, &elems[i].src_addr.sa, mark, uid, in resolv_rfc6724_sort()