Lines Matching refs:xa
42 } xa; /* 128-bit address */ member
44 #define v4 xa.v4
45 #define v6 xa.v6
46 #define addr8 xa.addr8
47 #define addr32 xa.addr32
81 addr_sa_to_xaddr(struct sockaddr *sa, socklen_t slen, struct xaddr *xa) in addr_sa_to_xaddr() argument
86 memset(xa, '\0', sizeof(*xa)); in addr_sa_to_xaddr()
92 xa->af = AF_INET; in addr_sa_to_xaddr()
93 memcpy(&xa->v4, &in4->sin_addr, sizeof(xa->v4)); in addr_sa_to_xaddr()
98 xa->af = AF_INET6; in addr_sa_to_xaddr()
99 memcpy(&xa->v6, &in6->sin6_addr, sizeof(xa->v6)); in addr_sa_to_xaddr()
101 xa->scope_id = in6->sin6_scope_id; in addr_sa_to_xaddr()