Lines Matching refs:saddr
222 client_rate(now, saddr, update) in client_rate() argument
224 SOCKADDR *saddr;
256 switch (saddr->sa.sa_family)
260 p = (char *)&saddr->sin.sin_addr;
266 p = (char *)&saddr->sin6.sin6_addr;
309 if (saddr->sa.sa_family == AF_INET &&
311 (saddr->sin.sin_addr.s_addr == ch->ch_Addr4.s_addr ||
320 if (saddr->sa.sa_family == AF_INET6 &&
322 (IN6_ARE_ADDR_EQUAL(&saddr->sin6.sin6_addr,
371 if (saddr->sa.sa_family == AF_INET)
374 chBest->ch_Addr4 = saddr->sin.sin_addr;
378 if (saddr->sa.sa_family == AF_INET6)
381 chBest->ch_Addr6 = saddr->sin6.sin6_addr;