Lines Matching defs:from
96 struct sockaddr_storage from;
121 mDNSPlatformMemZero(&from, sizeof(from));
130 ret = getpeername(s1, (struct sockaddr*) &from, &len);
138 if (from.ss_family == AF_INET)
140 struct sockaddr_in *s = (struct sockaddr_in*)&from;
150 LogInfo("ProxyTCPReceive received IPv4 packet(len %d) from %#-15a to %#-15a on skt %d %s", ti->replyLen, &senderAddr, &destAddr, s1, NULL);
152 else if (from.ss_family == AF_INET6)
154 struct sockaddr_in6 *sin6 = (struct sockaddr_in6*)&from;
163 LogInfo("ProxyTCPReceive received IPv6 packet(len %d) from %#-15a to %#-15a on skt %d %s", ti->replyLen, &senderAddr, &destAddr, s1, NULL);
167 LogMsg("ProxyTCPReceive from is unknown address family %d", from.ss_family);
242 // from which we can infer the destination address family. Hence we need to remember that here.