Lines Matching defs:src_addr
1496 sockaddr_union src_addr;
1688 scope_src1 = _get_scope(&a1->src_addr.generic);
1692 scope_src2 = _get_scope(&a2->src_addr.generic);
1711 label_src1 = _get_label(&a1->src_addr.generic);
1715 label_src2 = _get_label(&a2->src_addr.generic);
1748 const struct sockaddr_in6 *a1_src = &a1->src_addr.in6;
1750 const struct sockaddr_in6 *a2_src = &a2->src_addr.in6;
1768 * address. src_addr must be large enough to hold a struct sockaddr_in6.
1771 * and -1 if a fatal error occurred. If 0 or 1, the contents of src_addr are
1777 _find_src_addr(const struct sockaddr *addr, struct sockaddr *src_addr, unsigned mark)
1814 if (getsockname(sock, src_addr, &len) == -1) {
1856 has_src_addr = _find_src_addr(cur->ai_addr, &elems[i].src_addr.generic, mark);