Lines Matching defs:xa
43 } xa; /* 128-bit address */
45 #define v4 xa.v4
46 #define v6 xa.v6
47 #define addr8 xa.addr8
48 #define addr32 xa.addr32
82 addr_sa_to_xaddr(struct sockaddr *sa, socklen_t slen, struct xaddr *xa)
87 memset(xa, '\0', sizeof(*xa));
93 xa->af = AF_INET;
94 memcpy(&xa->v4, &in4->sin_addr, sizeof(xa->v4));
99 xa->af = AF_INET6;
100 memcpy(&xa->v6, &in6->sin6_addr, sizeof(xa->v6));
102 xa->scope_id = in6->sin6_scope_id;