Searched refs:addr_in (Results 1 – 2 of 2) sorted by relevance
54 auto addr_in = reinterpret_cast<const sockaddr_in*>(addr); in GetIPAddress() local55 if (!inet_ntop(AF_INET, &addr_in->sin_addr, buf, sizeof(buf))) in GetIPAddress()
403 struct sockaddr_in* addr_in = reinterpret_cast<sockaddr_in*>(&addr); in GetSocketInfo() local404 uint16_t local_port = ntohs(addr_in->sin_port); in GetSocketInfo()406 const char* res = inet_ntop(AF_INET, &addr_in->sin_addr, in GetSocketInfo()