Lines Matching refs:m_socket_addr
33 m_socket_addr.sa = s; in SocketAddress()
39 m_socket_addr.sa_ipv4 = s; in SocketAddress()
45 m_socket_addr.sa_ipv6 = s; in SocketAddress()
51 m_socket_addr.sa_storage = s; in SocketAddress()
58 m_socket_addr (rhs.m_socket_addr) in SocketAddress()
72 memset (&m_socket_addr, 0, sizeof(m_socket_addr)); in Clear()
96 return m_socket_addr.sa.sa_len; in GetLength()
111 return m_socket_addr.sa.sa_family; in GetFamily()
117 m_socket_addr.sa.sa_family = family; in SetFamily()
119 m_socket_addr.sa.sa_len = GetFamilyLength (family); in SetFamily()
128 case AF_INET: return m_socket_addr.sa_ipv4.sin_port; in GetPort()
129 case AF_INET6: return m_socket_addr.sa_ipv6.sin6_port; in GetPort()
140 m_socket_addr.sa_ipv4.sin_port = htons(port); in SetPort()
144 m_socket_addr.sa_ipv6.sin6_port = htons(port); in SetPort()
157 m_socket_addr = rhs.m_socket_addr; in operator =()
168 addr_info->ai_addrlen <= sizeof m_socket_addr) in operator =()
170 ::memcpy (&m_socket_addr, in operator =()
180 m_socket_addr.sa = s; in operator =()
187 m_socket_addr.sa_ipv4 = s; in operator =()
194 m_socket_addr.sa_ipv6 = s; in operator =()
201 m_socket_addr.sa_storage = s; in operator =()
243 m_socket_addr.sa_ipv4.sin_addr.s_addr = htonl (INADDR_ANY); in SetToLocalhost()
252 m_socket_addr.sa_ipv6.sin6_addr = in6addr_any; in SetToLocalhost()