Lines Matching refs:s_addr
70 sin.s_addr = ((sa) != NULL) ? \
71 (((struct sockaddr_in *)(void *)sa)->sin_addr).s_addr : 0
224 if (gate->s_addr != INADDR_ANY ||
225 net->s_addr != iface->net.s_addr ||
226 dest->s_addr != (iface->addr.s_addr & iface->net.s_addr))
229 if (dest->s_addr == gate->s_addr && net->s_addr == INADDR_BROADCAST)
256 memcpy(&su.sin.sin_addr, &net->s_addr, sizeof(su.sin.sin_addr));